691 Commits (1396d8fab4d0ae830d45f4937322bbb43ce0c30e)

Author SHA1 Message Date
Emily Morehouse 8f59ee01be
bpo-35224: PEP 572 Implementation (#10497) 7 years ago
Ivan Levkivskyi 9932a22897
bpo-33416: Add end positions to Python AST (GH-11605) 7 years ago
Serhiy Storchaka 3bcbedc9f1
bpo-34850: Emit a warning for "is" and "is not" with a literal. (GH-9642) 7 years ago
INADA Naoki f7e4d3642f bpo-34100: compile: Re-enable frozenset merging (GH-10760) 7 years ago
Victor Stinner 1005c84535
bpo-34100: Partially revert merge_consts_recursive() (GH-10743) 7 years ago
INADA Naoki c2e1607a51 bpo-34100: Merge constants recursively (GH-8341) 7 years ago
Victor Stinner 5f2df88b63
bpo-35177: Add dependencies between header files (GH-10361) 7 years ago
Serhiy Storchaka 95b6acf951
bpo-34876: Change the lineno of the AST for decorated function and class. (GH-9731) 7 years ago
Serhiy Storchaka d31e7730cd
bpo-35029: Replace the SyntaxWarning exception with a SyntaxError. (GH-9999) 7 years ago
Zackery Spytz 53ebf4b070 Fix an incorrect check in compiler_try_except(). (GH-9810) 7 years ago
Serhiy Storchaka 3f22811fef
bpo-32892: Use ast.Constant instead of specific constant AST types. (GH-9445) 7 years ago
Ammar Askar 025eb98dc0 bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338) 7 years ago
Serhiy Storchaka 7bdf28265a
bpo-32455: Add jump parameter to dis.stack_effect(). (GH-6610) 7 years ago
Serhiy Storchaka da8d72c953
bpo-12458: Fix line numbers for multiline expressions. (GH-8774) 7 years ago
Benjamin Peterson e502451781
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) 7 years ago
Serhiy Storchaka 143ce5c6db
bpo-33691: Add _PyAST_GetDocString(). (GH-7236) 8 years ago
Serhiy Storchaka 73cbe7a01a
bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197) 8 years ago
Serhiy Storchaka 64fddc423f bpo-33475: Fix and improve converting annotations to strings. (GH-6774) 8 years ago
Zsolt Dollenstein e239650660 bpo-33363: raise SyntaxError for async for/with outside async functions (#6616) 8 years ago
Serhiy Storchaka 57faf34887
bpo-33334: Support NOP and EXTENDED_ARG in dis.stack_effect(). (#6566) 8 years ago
Serhiy Storchaka d70c2a6894
bpo-33298: Wrap only constants with _PyCode_ConstantKey() in the compiler. (GH-6512) 8 years ago
Serhiy Storchaka b7e1eff843
bpo-33299: Return an object itself for some types in _PyCode_ConstantKey(). (GH-6513) 8 years ago
Zackery Spytz f303639e3a bpo-33270: Intern names for all anonymous code objects (#6472) 8 years ago
Serhiy Storchaka aa8e51f5eb
bpo-33132: Fix more reference counting issues in the compiler. (GH-6323) 8 years ago
Serhiy Storchaka a95d98607e
bpo-33132: Fix reference counting issues in the compiler. (GH-6209) 8 years ago
Serhiy Storchaka 702f8f3611
bpo-33041: Rework compiling an "async for" loop. (#6142) 8 years ago
Serhiy Storchaka fe2bbb1869
bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822) 8 years ago
Serhiy Storchaka 67ee07795b
bpo-33041: Add missed error checks when compile "async for" (#6053) 8 years ago
Serhiy Storchaka 24d3201eb7
bpo-33041: Fixed bytecode generation for "async for" with a complex target. (#6052) 8 years ago
Serhiy Storchaka 520b7ae27e
bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 8 years ago
Mark Shannon 332cd5ee4f bpo-32550. Remove the STORE_ANNOTATION bytecode. (GH-5181) 8 years ago
Guido van Rossum 95e4d58913 String annotations [PEP 563] (#4390) 8 years ago
Serhiy Storchaka 782d6fe443
bpo-31113: Get rid of recursion in the compiler for normal control flow. (#3015) 8 years ago
Serhiy Storchaka d4864c61e3
bpo-24340: Fix estimation of the code stack size. (#5076) 8 years ago
Serhiy Storchaka 02b9ef2775
bpo-32439: Clean up the code for compiling comparison expressions. (#5029) 8 years ago
Serhiy Storchaka 3dfbaf51f0
bpo-32372: Move __debug__ optimization to the AST level. (#4925) 8 years ago
Serhiy Storchaka bd6ec4d79e
bpo-32365: Fix a reference leak when compile __debug__. (#4916) 8 years ago
Serhiy Storchaka 3325a6780c
bpo-27169: The __debug__ constant is now optimized out at compile time. (#4880) 8 years ago
INADA Naoki 7ea143ae79
bpo-29469: Move constant folding to AST optimizer (GH-2858) 8 years ago
Nick Coghlan 078f1814f1
bpo-32176: Set CO_NOFREE in the code object constructor (GH-4675) 8 years ago
Serhiy Storchaka e2f92de6a9
Add the const qualifier to "char *" variables that refer to literal strings. (#4370) 8 years ago
Yury Selivanov b8ab9d3fc8 bpo-31708: Allow async generator expressions in synchronous functions (#3905) 8 years ago
Yury Selivanov faa135acbf bpo-31709: Drop support for asynchronous __aiter__. (#3903) 8 years ago
Barry Warsaw b2e5794870 bpo-31338 (#3374) 8 years ago
Serhiy Storchaka 265fcc5fc2 bpo-31286, bpo-30024: Fixed stack usage in absolute imports with (#3217) 8 years ago
Stefan Krah f432a3234f bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157) 8 years ago
Serhiy Storchaka 36ff451eba bpo-30501: Make the compiler producing optimized code for condition expressions. (#1851) 9 years ago
Serhiy Storchaka f93234bb8a bpo-30024: Circular imports involving absolute imports with binding (#1264) 9 years ago
Serhiy Storchaka ba85d69a3e bpo-29878: Add global instances of int for 0 and 1. (#852) 9 years ago
INADA Naoki cb41b2766d bpo-29463: Add docstring field to some AST nodes. (#46) 9 years ago