89 Commits (5e0ea7540f577c9684e272000fdfc80d29bb78a2)

Author SHA1 Message Date
Pablo Galindo 4a2edc34a4 bpo-37221: Add PyCode_NewWithPosOnlyArgs to be used internally and set PyCode_New as a compatibility wrapper (GH-13959) 7 years ago
Victor Stinner 376ce9852e
bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13997) 7 years ago
Victor Stinner ea9f168957
bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13809) 7 years ago
Inada Naoki 91234a1636
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884) 7 years ago
Pablo Galindo 3b57f50efc
bpo-36842: Pass positional only parameters to code_new audit hook (GH-13707) 7 years ago
Pablo Galindo cd74e66a8c
bpo-37122: Make co->co_argcount represent the total number of positonal arguments in the code object (GH-13726) 7 years ago
Jeroen Demeyer 530f506ac9 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 7 years ago
Victor Stinner a9f05d69cc
bpo-37032: Add CodeType.replace() method (GH-13542) 7 years ago
Steve Dower b82e17e626
bpo-36842: Implement PEP 578 (GH-12613) 7 years ago
Pablo Galindo 8c77b8cb91
bpo-36540: PEP 570 -- Implementation (GH-12701) 7 years ago
Victor Stinner ec13b9322d
bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705) 7 years ago
Victor Stinner 621cebe81b
bpo-35081: Rename internal headers (GH-10275) 7 years ago
Victor Stinner d17a693fa0
bpo-35199: Add an internal _PyTuple_ITEMS() macro (GH-10434) 7 years ago
Victor Stinner 27e2d1f219
bpo-35081: Add pycore_ prefix to internal header files (GH-10263) 7 years ago
Victor Stinner caba55b3b7
bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592) 8 years ago
Serhiy Storchaka bd47384e07
bpo-24618: Add a check in the code constructor. (GH-8283) 8 years ago
Serhiy Storchaka b7e1eff843
bpo-33299: Return an object itself for some types in _PyCode_ConstantKey(). (GH-6513) 8 years ago
Nick Coghlan 078f1814f1
bpo-32176: Set CO_NOFREE in the code object constructor (GH-4675) 8 years ago
Benjamin Peterson 2b7953d974 replace custom table with pyctype (#3456) 8 years ago
Serhiy Storchaka e3b2b4b8d9 bpo-31393: Fix the use of PyUnicode_READY(). (#3451) 8 years ago
Benjamin Peterson 8e0ad46bc8 update all_name_chars comment after 9020ac7cce (#3452) 8 years ago
Benjamin Peterson 9020ac7cce optimize all_name_chars (#3442) 8 years ago
Serhiy Storchaka 378ebb6578 bpo-30789: Use a single memory block for co_extra. (#2555) 9 years ago
Victor Stinner 23e7944eba bpo-30704, bpo-30604: Fix memleak in code_dealloc() (#2455) 9 years ago
Dino Viehland f3cffd2b78 bpo-30604: clean up co_extra support (#2144) 9 years ago
Dong-hee Na b4dc6af7a7 bpo-12414: Update code_sizeof() to take in account co_extra memory. (#1168) 9 years ago
Brian Coleman 6a9122ce69 bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is (#376) 9 years ago
Serhiy Storchaka 713640c4c9 Issue #29337: Fixed possible BytesWarning when compare the code objects. 9 years ago
Serhiy Storchaka 5bb8b9134b Issue #18896: Python function can now have more than 255 parameters. 9 years ago
Serhiy Storchaka 460bd0d284 Issue #19569: Compiler warnings are now emitted if use most of deprecated 9 years ago
Yury Selivanov d2fd3599ab ssue #27942: Fix memory leak in codeobject.c 9 years ago
Serhiy Storchaka 09f3d080fe Issue #28350: String constants with null character no longer interned. 9 years ago
Serhiy Storchaka 00a0fc1144 Issue #27942: String constants now interned recursively in tuples and frozensets. 9 years ago
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 10 years ago
Brett Cannon d0600ed524 Make PyCodeObject.co_extra even more private to force users through the proper API. 10 years ago
Brett Cannon 3788b85628 Change error return value to be more consistent with the rest of Python 10 years ago
Benjamin Peterson 1bf494b0ec use a the bool type for a boolean variable 10 years ago
Brett Cannon 5c4de2863b Add the co_extra field and accompanying APIs to code objects. 10 years ago
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 10 years ago
Martin Panter 6245cb3c01 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 10 years ago
Victor Stinner 3cdd5fb970 code_richcompare() now uses the constants types 10 years ago
Victor Stinner efb2413ce8 code_richcompare() now uses the constants types 10 years ago
Victor Stinner f3914eb16d co_lnotab supports negative line number delta 10 years ago
Serhiy Storchaka 5c4064e8bd Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. 10 years ago
Victor Stinner 7c74de4d00 Issue #18874: PyCode_New() now ensures that the filename is a ready Unicode 12 years ago
Martin v. Löwis 3bbd2fad4d Issue #15456: Fix code __sizeof__ after #12399 change. 14 years ago
Victor Stinner bf6e560d0c Make PyUnicode_Copy() private => _PyUnicode_Copy() 14 years ago
Victor Stinner ed2682be2f Reuse PyUnicode_Copy() in validate_and_copy_tuple() 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago