547 Commits (da062558db08e8374fa0880bf93f16896da0720e)

Author SHA1 Message Date
Victor Stinner 98e818b8e3 Issue #19437: Fix compiler_class(), handle compiler_lookup_arg() failure 12 years ago
Benjamin Peterson 6b4f7803f8 cleanup the construction of __qualname__ (closes #19301 again) 12 years ago
Nick Coghlan 6de9200e57 Close #19313: remove no longer needed Py_XINCREF 12 years ago
Benjamin Peterson 34d33a595b removal u_qualname, since compiler_scope_qualname is only ever called once 12 years ago
Benjamin Peterson a8a38b8e4f strengthen condition and add assertion 12 years ago
Benjamin Peterson 3d9e481ece give explicitly global functions and classes a global __qualname__ (closes #19301) 12 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 13 years ago
Victor Stinner 14e461d5b9 Close #11619: The parser and the import machinery do not encode Unicode 13 years ago
Victor Stinner 6b64a6803e Issue #18408: Fix compiler_import() to handle PyUnicode_Substring() failure properly 13 years ago
Victor Stinner 0b1bc56bb6 fix compilation on Windows 13 years ago
Benjamin Peterson e8e14591eb rather than passing locals to the class body, just execute the class body in the proper environment 13 years ago
Benjamin Peterson 312595ce3a hide the __class__ closure from the class body (#12370) 13 years ago
Benjamin Peterson 3b0431dc60 check local class namespace before reaching for cells (closes #17853) 13 years ago
Ezio Melotti 1b6424fc4b Fix indentation. 13 years ago
Antoine Pitrou 55bff89190 Issue #17645: convert an assert() into a proper exception in _Py_Mangle(). 13 years ago
Benjamin Peterson cda75be02a unify some ast.argument's attrs; change Attribute column offset (closes #16795) 13 years ago
Benjamin Peterson 419d9a83d5 evaluate lambda keyword-only defaults after positional defaults (#16967 again) 13 years ago
Benjamin Peterson 1ef876cd28 evaluate positional defaults before keyword-only defaults (closes #16967) 13 years ago
Benjamin Peterson 70b224d8d4 assert than we never try to deal with True, False, or None as a name 13 years ago
Benjamin Peterson 442f20996d create NameConstant AST class for None, True, and False literals (closes #16619) 13 years ago
Mark Dickinson ded35aeb9d Issue #16546: make ast.YieldFrom argument mandatory. 13 years ago
Nick Coghlan aab9c2b2ea Issue #5765: Apply a hard recursion limit in the compiler 13 years ago
Meador Inge 996ae04943 remove unused variable 14 years ago
Meador Inge 0e3755e58a remove unused variable 14 years ago
Benjamin Peterson 51ab2830bb remove unused variable 14 years ago
Meador Inge f69e24e3c6 Issue #15368: fixing variable typo. 14 years ago
Meador Inge b8a569065e Issue #15368: fixing variable typo. 14 years ago
Meador Inge 2ca6315d15 Issue #15368: make bytecode generation deterministic. 14 years ago
Meador Inge 6642d1f97d Issue #15368: make bytecode generation deterministic. 14 years ago
Nick Coghlan 0b43bcf528 Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue 14 years ago
Victor Stinner 8f825060f1 Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 14 years ago
Benjamin Peterson 32c59b6fc1 mangle keyword-only argname when loading defaults (closes #14607) 14 years ago
Benjamin Peterson 2afe6aeae8 perform yield from delegation by repeating YIELD_FROM opcode (closes #14230) 14 years ago
Benjamin Peterson 527c622926 make YieldFrom its own distinct from Yield (closes #13780) 14 years ago
Nick Coghlan 1f7ce62bd6 Implement PEP 380 - 'yield from' (closes #11682) 14 years ago
Antoine Pitrou 86a36b500a PEP 3155 / issue #13448: Qualified name for classes and functions. 14 years ago
Benjamin Peterson 0c0d756098 don't let a tuple msg be interpreted as arguments to AssertionError (closes #13268) 14 years ago
Victor Stinner 6c7a52a46f Check for PyUnicode_CopyCharacters() failure 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Benjamin Peterson f5ff22329b use a invalid name for the __class__ closure for super() (closes #12370) 15 years ago
Benjamin Peterson 43af12b0b4 unify TryExcept and TryFinally (closes #12199) 15 years ago
Benjamin Peterson 0a5dad9ef1 fix spacing 15 years ago
Benjamin Peterson 74897ba46f fix indentation 15 years ago
Benjamin Peterson bf1bbc1452 reflect with statements with multiple items in the AST (closes #12106) 15 years ago
Victor Stinner 4f2dab5c33 Revert my commit 7ba176c2f558: "Avoid useless "++" at the end of functions 15 years ago
Benjamin Peterson 43b068648e try to use the same str object for all code filenames when compiling or unmarshalling (#12190) 15 years ago
Victor Stinner 97e561ef24 Avoid useless "++" at the end of functions 15 years ago
Victor Stinner f3fd733f92 Remove useless argument of _PyUnicode_AsDefaultEncodedString() 15 years ago
Georg Brandl 8334fd9285 Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. 15 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 15 years ago