16 Commits

Author SHA1 Message Date
Lee Dogeon
abfa19fc42 Fix inspect.signature introspection for attrgetter/itemgetter/methodcaller (#7111)
* Fix attrgetter signature introspection in operator

* Fix itemgetter signature introspection in operator

* Fix methodcaller signature introspection in operator
2026-02-14 09:17:41 +09:00
CPython Developers
ac2729511f Update operator from v3.14.2 2026-01-23 23:57:31 +09:00
Shahar Naveh
f19478edec Update operator from 3.13.5 (#5935) 2025-07-12 01:10:30 +09:00
Kirill Podoprigora
83d1ad8a2c Update test_operator.py to 3.12 (#5194) 2024-03-12 22:35:21 +09:00
Gyubong
927208c7f6 Update test_operator.py from CPython v3.12.0a0 2022-09-10 18:27:31 +09:00
Gyubong
d95b3c2761 Add opeator.call, such that operator.call(obj, *args, **kwargs) == obj(*args, **kwargs) 2022-09-09 11:21:19 +09:00
CPython Developers
a122413eea Update operator from CPython 3.10.6 2022-08-15 02:36:46 +09:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Dong-hee Na
c554689b90 Lib: Update operator.py to follow CPython's implementation 2021-07-07 22:35:51 +09:00
jfh
9f57c58dad Handle NotImplemented in length_hint. 2021-06-09 02:08:56 +03:00
Padraic Fanning
1ec67724f3 Unskip test(s) in test_operator 2021-02-25 21:48:23 -05:00
Noah
3f36dcdaef Merge pull request #2426 from RustPython/fix-utime
Fix os.utime to be able to take floats
2021-02-11 10:16:35 -06:00
Noah
f38d8af12b Fix __reduce_ex__ and unskip tests 2021-02-08 12:36:54 -06:00
Padraic Fanning
e77a1ed347 Explain test_length_hint skip 2021-02-07 15:49:42 -05:00
gcarq
1ea09d2771 Lib/test/test_operator.py: annotate remaining failing tests 2020-05-30 22:46:49 +02:00
gcarq
321aa024bd Lib/test/test_operator.py from CPython 3.8.3 2020-05-30 22:20:04 +02:00