62 Commits (28a965ff71a00d89f37b88ca73ae61adf94de544)

Author SHA1 Message Date
Larry Hastings 3a9079742f Issue #19722: Added opcode.stack_effect(), which accurately 12 years ago
Victor Stinner 14e461d5b9 Close #11619: The parser and the import machinery do not encode Unicode 13 years ago
Victor Stinner 2bdc7f591b Move code related to compile from Python.h to compile.h 15 years ago
Victor Stinner 0d711169fa Issue #9738: Ooops, fix typos in my previous commit (r87506) 15 years ago
Victor Stinner 00676d1436 Issue #9738: Document encodings of AST, compiler, parser and PyRun functions 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
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Brett Cannon e3944a5e1e The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)! 17 years ago
Benjamin Peterson c0747cf537 Merged revisions 67028,67040,67044,67046,67052,67065,67070,67077,67082 via svnmerge from 17 years ago
Benjamin Peterson 44a90c95ce move unprefixed error into .c file 17 years ago
Christian Heimes 4d6ec85a02 Merged revisions 61952-61953 via svnmerge from 18 years ago
Christian Heimes 3c60833e1e Patch #2477: Added from __future__ import unicode_literals 18 years ago
Eric Smith 87824086fa Add __future__ import for print_function. It's a no-op in 3.0, but it needs to not be a syntax error. 18 years ago
Eric Smith 7c47894a2a Backport of the print function, using a __future__ import. 18 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Neal Norwitz cbce280d4f Don't abbreviate ABS, use long name ABSOLUTE. 20 years ago
Thomas Wouters ca82a8b760 Move #include to outside "extern C {}", before Tim figures out it'll break 20 years ago
Thomas Wouters e4d3a72ab8 Include code.h more sanely. 20 years ago
Thomas Wouters 34aa7ba114 from __future__ import with_statement addon for 'with', mostly written by 20 years ago
Thomas Wouters f7f438ba3b SF patch #1438387, PEP 328: relative and absolute imports. 20 years ago
Neal Norwitz adb69fcdff Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines, 20 years ago
Neal Norwitz 38eb50b227 use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc? 21 years ago
Jeremy Hylton ec97a28b60 Fix a bunch of imports to use code.h instead of compile.h. 21 years ago
Jeremy Hylton 3e0055f8c6 Merge ast-branch to head 21 years ago
Michael W. Hudson ecfeb7f095 This is my patch #876198 plus a NEWS entry and a header frob. 22 years ago
Jeremy Hylton 985eba53f5 Small function call optimization and special build option for call stats. 23 years ago
Martin v. Löwis 95292d6caa Constify filenames and scripts. Fixes #651362. 23 years ago
Mark Hammond 91a681debf Excise DL_EXPORT from Include. 24 years ago
Tim Peters 2bbdba3c00 Removed more hair in support of future-generator stmts. 24 years ago
Jeremy Hylton 12ce485b48 Add helper macro to get the number of free variables for a PyCodeObject. 24 years ago
Jeremy Hylton fdd12f66bb Refactor future feature handling 25 years ago
Guido van Rossum 4668b000a1 Implement PEP 238 in its (almost) full glory. 25 years ago
Tim Peters 5ba5866281 Part way to allowing "from __future__ import generators" to communicate 25 years ago
Guido van Rossum b09f7ed623 Preliminary support for "from __future__ import generators" to enable 25 years ago
Guido van Rossum aa31429854 Enable nested scopes by default. 25 years ago
Tim Peters 5ca576ed0a Merging the gen-branch into the main line, at Guido's direction. Yay! 25 years ago
Jeremy Hylton 061d106a0f If a code object is compiled with nested scopes, define the CO_NESTED flag. 25 years ago
Jeremy Hylton 9f324e964e Useful future statement support for the interactive interpreter 25 years ago
Jeremy Hylton 39e2f3f824 Presumed correct compiler pass for future statements 25 years ago
Jeremy Hylton 4db62b1e14 Improved __future__ parser; still more to do 25 years ago
Jeremy Hylton 29906eef3a Preliminary support for future nested scopes 25 years ago
Jeremy Hylton 64949cb753 PEP 227 implementation 25 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Fred Drake ea9cb5aebf ANSI-fication and Py_PROTO extermination. 26 years ago
Guido van Rossum ffcc3813d8 Change copyright notice - 2nd try. 26 years ago
Guido van Rossum fd71b9e9d4 Change copyright notice. 26 years ago
Guido van Rossum 43466ec7b0 Add DL_IMPORT(returntype) for all officially exported functions. 28 years ago
Guido van Rossum d076c73cc8 Changes to support other object types besides strings 28 years ago
Guido van Rossum 767579854c Add co_firstlineno and co_lnotab, for the line number table generated 29 years ago
Guido van Rossum 3f6e408a31 Add co_stacksize field to codeobject structure, and stacksize argument 29 years ago