26 Commits

Author SHA1 Message Date
Shahar Naveh
a702e9ccc7 Update test_functools.py to 3.14.5 (#7861) 2026-05-12 20:54:18 +09:00
Jeong, YunWon
6950baf687 more algorithm-independent GC infra (#7194)
* mark poluting tests

* GC-infra independent to EBR

* trashcan

* add overflow guard to inc(), #[must_use] on dec()/safe_inc(), trashcan debug_assert, weakref generic re-check
2026-02-22 21:31:42 +09:00
ShaharNaveh
29133131fb Update test_functools.py from 3.14.3 2026-02-13 13:44:08 +09:00
Jeong, YunWon
019e754055 Fix __set_name__ error handling to match Python 3.12+ (#6937)
Changed type.rs to add notes to original exceptions instead of
wrapping them in RuntimeError, following PEP 678 (gh-77757).

This allows enum.py's exception handling to work correctly when
super().__new__() is misused in Enum subclasses, enabling the
proper TypeError to propagate instead of being hidden behind
a RuntimeError wrapper.

Fixes test_bad_new_super test case.
2026-02-02 08:11:26 +09:00
Jeong, YunWon
c82da8b887 mark functools tests 2026-01-20 17:32:52 +09:00
CPython Developers
40c29f689f Update functools from v3.14.2 2026-01-20 17:32:52 +09:00
Jeong, YunWon
1dceb7533d mark failing tests on test_types 2026-01-20 10:59:47 +09:00
Jeong, YunWon
01a5f94e7b Fix error / warning messages (#6594)
* fix functools.partial repr

* warn_deprecated_throw_signature

* fix function error messages
2025-12-31 15:01:55 +09:00
Jeong, YunWon
1b17587585 __slots__ xor __dict__ , name mangling (#6392)
* __slots__ xor __dict__

* mangle_name for `__` prefixed members
2025-12-10 23:30:10 +09:00
Shahar Naveh
5d9e62390c Update functools from 3.13.9 (#6205)
* Update `functools.py` from 3.13.9

* mark/unmark tests
2025-10-22 20:26:19 +09:00
Jeong, YunWon
0d492a6b02 Fix genericalias parameters (#5841)
* genericalias

* Fix attr_exceptions list

* impl TypeVarTuple iter

* Update _collections_abc.py to Python 3.13

* genericalias.__unpack__
2025-06-27 10:32:26 +09:00
Jeong, YunWon
0624ca622b functools.partial (#5825)
* functools.partial

* apply review
2025-06-23 23:53:57 +09:00
Jeong, YunWon
5d68313f91 sys.setswitchinterval (#5817) 2025-06-22 22:36:13 +09:00
Jeong, YunWon
af884cb284 First step for Python 3.12 support (#5078)
* Mark 3.12

* Update importlib from Python 3.12.0

* Update test_importlib from Python3.12

* Mark failings tests from importlib

* Update test.support from Python3.12

* Fix unsupported parser feature

* mark failing test

* Update functools from Python 3.12

* manual type annotation

* slice behavior changed in 3.12

* empty unittest.main returns non-zero

* test_decimal from CPython 3.12

* Mark failing tests

* Update test_unicode from CPython 3.12

* Update test_functools from Python 3.12

* Update enum from Python 3.12

* enum

* Doc format changed

* Update test_module from CPython

---------

Co-authored-by: CPython developers <>
2023-10-22 19:19:05 -07:00
Moreal
27855a6ab1 Unmark resolved tests 2022-09-18 06:49:37 +09:00
Jeong YunWon
743ca30a46 remove windows stack overflow skipIf 2022-07-25 03:29:06 +09:00
Padraic Fanning
c8748bc98e Fix test.support imports 2022-02-13 17:56:08 -05:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Noa
e51cb82ff0 Unskip tests 2021-11-15 16:08:46 -06:00
Jeong YunWon
c2b4755af4 CPython docs database for module items 2021-09-22 04:25:41 +09:00
Lee Dogeon
abdfe3222b Fix __repr__, __qualname__ (#2977) 2021-08-27 17:07:10 +03:00
Noah
6f0013a3a8 Add method.__self__ attribute 2021-06-02 21:17:15 -05:00
Noah
ae4912025b Fix builtinfunc pickling 2021-05-15 19:33:07 -05:00
Padraic Fanning
ff061b8e89 Skip stack overflow on Windows 2021-02-21 15:33:50 -05:00
Padraic Fanning
85af916997 Mark failing/erroring tests 2021-02-21 15:33:50 -05:00
Padraic Fanning
77b1d6e453 Add test_functools from CPython 3.8.7 2021-02-21 15:33:49 -05:00