101 Commits (aca67da4fe68d5420401ac1782203d302875eb27)

Author SHA1 Message Date
Pablo Galindo 109826c850
bpo-42093: Add opcode cache for LOAD_ATTR (GH-22803) 5 years ago
Serhiy Storchaka 0f9aa47bab
bpo-41263: Convert code.__new__ to Argument Clinic (GH-21426) 6 years ago
Victor Stinner 384621c42f
bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056) 6 years ago
Ammar Askar 3b3b83c965
Restrict co_code to be under INT_MAX in codeobject (GH-20628) 6 years ago
Victor Stinner 4a21e57fe5
bpo-40268: Remove unused structmember.h includes (GH-19530) 6 years ago
Victor Stinner 81a7be3fa2
bpo-40268: Rename _PyInterpreterState_GET_UNSAFE() (GH-19509) 6 years ago
Victor Stinner 4a3fe08353
bpo-40268: Include explicitly pycore_interp.h (GH-19505) 6 years ago
Victor Stinner 9205520d8c
bpo-40170: PyObject_NEW() becomes an alias to PyObject_New() (GH-19379) 6 years ago
Victor Stinner 58ac700fb0
bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392) 6 years ago
Victor Stinner a278313518
bpo-38631: Avoid Py_FatalError() in PyCode_New() (GH-18215) 6 years ago
Anthony Sottile 22424c02e5 Document CodeType.replace (GH-17776) 6 years ago
Steve Dower c7c01ab1e5
bpo-38922: Raise code.__new__ audit event when code object replace() is called (GH-17394) 6 years ago
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