14 Commits
Author SHA1 Message Date
Shahar Naveh ffe88bece9 Update test_descr.py and test_decorators.py from 3.14.4 (#7628)
* Update `test_descr.py` and `test_decorators.py` from 3.14.4

* Mark failing tests

* Use correct test marker
2026-04-19 22:33:27 +09:00
Jiseok CHOI 7e2154f382 Fix classmethod descr_get to match CPython behavior (#7420)
Simplify classmethod.__get__ to always create a PyBoundMethod binding
  the callable to the class, matching CPython's cm_descr_get which simply
  calls PyMethod_New(cm->cm_callable, type).

  The previous implementation incorrectly tried to call __get__ on the
  wrapped callable, which broke when a bound method was passed to
  classmethod() (e.g. classmethod(A().foo)).
2026-03-14 03:40:16 +09:00
ShaharNaveh ed6caed3d9 Update test_decorators.py from 3.13.7 2025-08-31 11:08:20 +03:00
NakanoMiku 5c6b4cbd3c Update test_decorators.py from CPython v3.12.0 2023-11-30 20:27:09 +08:00
Andrey Maltsev 0609686803 Update test_decorators from Cpython v3.11.2 2023-04-02 13:16:01 +00:00
ChJR 8ef21ee628 Apply PEP 614
Check 'Named Expressions Need Not Be Parenthesized' Section
2022-07-16 21:28:01 +09:00
ChJR b6df0ce6e8 Enable decorator tests 2022-06-21 22:00:08 +09:00
Jeong YunWon 0e0cd5d145 Mark failing tests 2022-03-13 03:04:26 +09:00
Jeong YunWon 8ffae87a3f Update test_decorators.py from CPython 3.10.2 2022-03-13 03:03:54 +09:00
Hackerwins 494fc43711 Use staticmethod in macros 2022-01-22 17:32:26 +09:00
Jeong YunWon 8e8efe0ec8 reform every TODO: RUSTPYTHON to same format 2020-06-17 18:47:13 +09:00
TheAnyKey 90e52ab514 merged and prepared for PR 2020-05-16 14:33:30 +00:00
TheAnyKey ebebda3ca6 implementation of generalized decorators and test update from cpython 2020-05-16 14:33:30 +00:00
Aviv Palivoda 0e38b515d7 Add test_decorators 2020-01-04 16:30:02 +02:00