19 Commits (ddd40312d502257adbcad4e9bdcecd237900f95a)

Author SHA1 Message Date
Collin Winter 001a3952c9 Add support for weak references to code objects. This will be used by an optimization in the incoming Python 3 JIT. 16 years ago
Jeffrey Yasskin 655d835415 Issue #6042: 17 years ago
Jeffrey Yasskin f7f858d141 Issue 5954, PyFrame_GetLineNumber: 17 years ago
Jeffrey Yasskin 1aa4700234 PyCode_NewEmpty: 17 years ago
Christian Heimes 3c60833e1e Patch #2477: Added from __future__ import unicode_literals 18 years ago
Eric Smith 7c47894a2a Backport of the print function, using a __future__ import. 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 18 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Neal Norwitz ca460d9722 with and as are now keywords. There are some generated files I can't recreate. 20 years ago
Jeremy Hylton 271d59343b Move peephole optimizer to separate file. (Forgot .h in previous checkin.) 20 years ago
Richard Jones 7c88dcc5ab Merge from rjones-funccall branch. 20 years ago
Jeremy Hylton a4ebc135ac Refactor: Move code that uses co_lnotab from ceval to codeobject 20 years ago
Neal Norwitz cbce280d4f Don't abbreviate ABS, use long name ABSOLUTE. 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 ab51f5f24d Per discussion on python-dev, remove CO_GENERATOR_ALLOWED. Leave comment about not removing yet. 20 years ago
Neal Norwitz 0090a4c10d Generators have been permanent for a while. This comment is no longer applicable. 20 years ago
Neal Norwitz 58a7985465 Use the newer names for APIs after the AST merge 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. 24 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. 25 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 30 years ago
Guido van Rossum 3f6e408a31 Add co_stacksize field to codeobject structure, and stacksize argument 30 years ago
Guido van Rossum d266eb460e New permission notice, includes CNRI. 30 years ago
Guido van Rossum 884afd654a keyword arguments and faster function calls 31 years ago
Guido van Rossum 051ab123b4 make the type a parameter of the DL_IMPORT macro, for Borland C 31 years ago
Guido van Rossum caa6380886 The great renaming, phase two: all header files have been updated to 32 years ago
Guido van Rossum 5799b52008 Added 1995 copyright. 32 years ago