summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Incorrect code was generated for:Neal Norwitz2005-10-211-0/+3
| | | | | | | foo(a = i for i in range(10)) This should have generated a SyntaxError. Fix the Grammar so it raises a SyntaxError and test it.
* Fix SF bug #1167751, Argument genexp corner caseNeal Norwitz2005-10-213-10/+30
| | | | | | | | | | | | | Incorrect code was generated for: foo(a = i for i in range(10)) This should have generated a SyntaxError. Fix the Grammar so it raises a SyntaxError and test it. I'm uncertain whether this should be backported. It makes something that was Syntactically valid invalid. However, the code would either be completely broken or do the wrong thing.
* Free coding spec (cs) if there was an error to prevent mem leak. Maybe ↵Neal Norwitz2005-10-211-0/+3
| | | | backport candidate
* Don't use a string exception since it's deprecatedNeal Norwitz2005-10-211-1/+1
|
* Oops, "=" is not a comparison operatorNeal Norwitz2005-10-211-1/+0
|
* Add comment lost from AST mergeNeal Norwitz2005-10-211-1/+1
|
* Remove INT_MIN that came from the AST merge.Neal Norwitz2005-10-211-1/+0
| | | | | | INT_MIN is used in Python/compile.c, but it was also used in Objects/abstract.c Python/getargs.c. If we need it for compile.c, we can get it from the same place as the other files.
* Fix some mods that got dropped from the AST mergeNeal Norwitz2005-10-211-2/+2
|
* Use the newer names for APIs after the AST mergeNeal Norwitz2005-10-211-3/+3
|
* Remove dup declarations after AST mergeNeal Norwitz2005-10-211-3/+0
|