summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix typos, mostly in commentsFred Drake2005-10-2810-13/+14
|
* Patch #1338314, Bug #1336623: fix tarfile so it can extractNeal Norwitz2005-10-283-5/+39
| | | | | | REGTYPE directories from tarfiles written by old programs. Will backport.
* Update instructions according to Dave AbrahamsMartin v. Löwis2005-10-271-0/+3
| | | | instructions.
* Add Makefile which allows easily rebuilding the charmap codecs.Marc-André Lemburg2005-10-251-0/+81
|
* Add custom mapping files used for generating some of the charmapMarc-André Lemburg2005-10-253-0/+873
| | | | codecs.
* Apply some cosmetic fixes to the output of the script.Marc-André Lemburg2005-10-251-15/+28
| | | | Only include the decoding map if no table can be generated.
* Refactor code for translating "power" nodes.Neil Schemenauer2005-10-251-91/+95
|
* Write a separate ast_for_testlist_gexp() function instead of overloadingNeil Schemenauer2005-10-251-62/+77
| | | | | ast_for_testlist(). Also, write a ast_for_class_bases() function and in the process fix a memory leak. Add some assertions.
* Ensure that compiler_exit_scope() is called as necessary to free memoryNeil Schemenauer2005-10-251-10/+18
| | | | | allocated by compiler_enter_scope(). Change return type for compiler_exit_scope() to be void.
* Cosmetic change: make all hex literals use upper case hex so that theyMarc-André Lemburg2005-10-2445-14236/+14281
| | | | | | look more like the Unicode Consortium files. Add ending new-line to all source files.
* Removed the decoding_map from the codecs where this is possible.Marc-André Lemburg2005-10-2445-25663/+22734
| | | | | Replaced the tis_620, cp1140 and koi8_u codecs with new ones based on custom mapping files.
* use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old ↵Neal Norwitz2005-10-241-2/+2
| | | | non-Py PREFIXED macros, etc?
* Do not pollute name block_ty, prefix with _Py_Neal Norwitz2005-10-242-6/+6
|
* Fix problem handling EXTENDED_ARGs from SF bug # 1333982Neal Norwitz2005-10-241-0/+23
|
* Fix compiler test when run with -u (long mode)Neal Norwitz2005-10-241-1/+1
|
* Fix problem handling EXTENDED_ARGs from SF bug # 1333982Neal Norwitz2005-10-231-1/+30
|
* cleanup a bit and reuse instrsize (instruction size). working towards ↵Neal Norwitz2005-10-231-30/+24
| | | | fixing problems with EXTENDED_ARG
* One-off "No handlers..." error message only raised if raiseExceptions is set.Vinay Sajip2005-10-231-1/+1
|
* Add paragraphs on AST branch. AST'ers, please suggest correctionsAndrew M. Kuchling2005-10-231-0/+25
|
* Add convenience makefile to check the latest what's new.Andrew M. Kuchling2005-10-231-0/+3
| | | | The invocation of Python is MacOS-specific; not sure how to make it platform indepedent (but maybe it doesn't matter)
* Use PyErr_NoMemory() instead of rolling our own.Neal Norwitz2005-10-231-61/+54
| | | | Get rid of "int i" unused warnings from Python-ast.c which we are generating.
* use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old ↵Neal Norwitz2005-10-231-2/+2
| | | | non-Py PREFIXED macros, etc?
* Use PyErr_NoMemory() instead of rolling our own.Neal Norwitz2005-10-231-7/+5
| | | | Get rid of "int i" unused warnings from Python-ast.c which we are generating.
* Remove unnecessary local variable.Neil Schemenauer2005-10-231-3/+2
|
* Fix check_unoptimized() function. The only optimized namespaces areNeil Schemenauer2005-10-231-1/+1
| | | | | in function blocks. This elimiates spurious warnings about "import *" and related statements at the class level.
* Fix private name mangling. The symtable also must do mangles so thatNeil Schemenauer2005-10-233-19/+47
| | | | the scope of names can be correctly determined.
* Use PyTuple_Pack instead of Py_BuildValue.Neil Schemenauer2005-10-231-2/+1
|
* Add news item for the new charmap codecs.Marc-André Lemburg2005-10-231-0/+8
|
* Correct error to PyRun_SimpleString macro introduced in AST merge.Mark Hammond2005-10-231-1/+1
|
* Remove conflict markers and add parsermodule.c to get things buildingMark Hammond2005-10-231-12/+11
|
* Add AST files to VC6 build.Raymond Hettinger2005-10-231-0/+16
|
* Fix arigo's funky LOAD_NAME bug: implicit globals inside classes haveNeil Schemenauer2005-10-232-1/+11
| | | | | historically been looked up using LOAD_NAME, not LOAD_GLOBAL. looked up by LOAD_NAME, not
* Don't stop generating code for import statements after the first "import as"Neil Schemenauer2005-10-231-2/+3
| | | | part. Fixes one bug from #1333982.
* Add an assert.Neil Schemenauer2005-10-231-0/+1
|
* Revert previous checkin:Neal Norwitz2005-10-221-1/+1
| | | | | | According to Jeremy, the comment only made sense when the yield was disallowed. Now it's testing that the yield is allowed, so it's not bad and the outer finally is irrelevant.
* Revert change, func_name of lambda's is back to <lambda>.Neil Schemenauer2005-10-211-1/+1
|
* Use <lamba> as the function name for lambdas (matches old compiler).Neil Schemenauer2005-10-211-1/+1
|
* Fix a bunch of imports to use code.h instead of compile.h.Jeremy Hylton2005-10-219-13/+1
| | | | Remove duplicate declarations from compile.h
* Replace the old EBCDIC codecs with new ones using the decoding table.Marc-André Lemburg2005-10-214-981/+3027
|
* Alias iso8859_1 to latin_1 which is the same encoding, but hasMarc-André Lemburg2005-10-211-0/+7
| | | | a much faster codec implementation.
* Add a few more Mac OS encodings. The mapping tables for these areMarc-André Lemburg2005-10-215-0/+3414
| | | | available at ftp.unicode.org.
* Replace the old charmap codecs with new ones generated from the currentMarc-André Lemburg2005-10-2149-5129/+29964
| | | | | | | mapping tables available at ftp.unicode.org. These new codecs include and use character decoding tables which speeds up decoding by a few factors.
* Add two new tools to compare codecs and show differences and toMarc-André Lemburg2005-10-212-0/+94
| | | | list all installed codecs.
* Moved gencodec.py to the Tools/unicode/ directory.Marc-André Lemburg2005-10-211-88/+179
| | | | | | Added new support for decoding tables. Cleaned up the implementation a bit.
* ANSI-C-ify the placement of local var declarations.Armin Rigo2005-10-213-9/+14
|
* Fix bug:Michael W. Hudson2005-10-214-8/+20
| | | | | | | | [ 1327110 ] wrong TypeError traceback in generator expressions by removing the code that can stomp on the users' TypeError raised by the iterable argument to ''.join() -- PySequence_Fast (now?) gives a perfectly reasonable message itself. Also, a couple of tests.
* the ast-branch changed the stack discipline of MAKE_CLOSURE, so we need toMichael W. Hudson2005-10-211-1/+3
| | | | bump MAGIC.
* Add 2.4.2 to LICENSE.Georg Brandl2005-10-211-0/+1
|
* add some notes about recent checkinsNeal Norwitz2005-10-211-0/+6
|
* Get the bug # writeNeal Norwitz2005-10-211-1/+1
|