Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __new__
Method
__new__
Lib/test/test_gc.py:29–30 ·
view source on GitHub ↗
(cls, *args, **kwargs)
Source
from the content-addressed store, hash-verified
27
def
with_tp_del(cls):
28
class
C(object):
29
def
__new__(cls, *args, **kwargs):
30
raise
unittest.SkipTest(
'requires _testcapi.with_tp_del'
)
31
return
C
32
ContainerNoGC = None
33
Callers
15
test_bool_new
Method · 0.45
test_uninitialized_BZ2Decompressor_crash
Method · 0.45
test_uninitialized_LZMADecompressor_crash
Method · 0.45
test_uninitialized_parser
Method · 0.45
test_setstate_leaks
Method · 0.45
test_unicode_errors_no_object
Method · 0.45
__getitem__
Method · 0.45
test_newobj_not_class
Method · 0.45
test_simple_newobj
Method · 0.45
test_complex_newobj
Method · 0.45
test_complex_newobj_ex
Method · 0.45
assert_hmac_extra_cases
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected