summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_code.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28350: String constants with null character no longer interned.Serhiy Storchaka2016-10-041-3/+17
|
* Issue #27942: String constants now interned recursively in tuples and ↵Serhiy Storchaka2016-09-301-1/+32
| | | | frozensets.
* Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-2/+3
|
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Add support for weak references to code objects. This will be used by an ↵Collin Winter2010-03-181-2/+29
| | | | | | optimization in the incoming Python 3 JIT. Patch by Reid Kleckner!
* PyCode_NewEmpty:Jeffrey Yasskin2009-05-081-1/+15
| | | | | | | | Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New are trying to build an empty code object, usually to put it in a dummy frame object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify just the filename, function name, and first line number, instead of also requiring lots of code internals.
* Add ``if __name__ == '__main__'`` to some test files where it didn't take a lotBrett Cannon2008-04-011-0/+4
| | | | of effort to do so.
* Bug #1333982: string/number constants were inappropriately storedNeal Norwitz2006-08-041-0/+17
| | | | | in the byte code and co_consts even if they were not used, ie immediately popped off the stack.
* Whitespace normalization.Tim Peters2005-12-251-1/+1
|
* Merge ast-branch to headJeremy Hylton2005-10-201-0/+85
This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests.