mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
![]() gh-80527: Change support.requires_legacy_unicode_capi() (GH-108438)
The decorator now requires to be called with parenthesis:
@support.requires_legacy_unicode_capi()
instead of:
@support.requires_legacy_unicode_capi
The implementation now only imports _testcapi when the decorator is
called, so "import test.support" no longer imports the _testcapi
extension.
(cherry picked from commit
|
||
---|---|---|
.. | ||
_hypothesis_stubs | ||
__init__.py | ||
ast_helper.py | ||
asynchat.py | ||
asyncore.py | ||
bytecode_helper.py | ||
hashlib_helper.py | ||
hypothesis_helper.py | ||
import_helper.py | ||
interpreters.py | ||
logging_helper.py | ||
os_helper.py | ||
script_helper.py | ||
socket_helper.py | ||
testcase.py | ||
testresult.py | ||
threading_helper.py | ||
warnings_helper.py |