Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed the decoding_map from the codecs where this is possible. | Marc-André Lemburg | 2005-10-24 | 45 | -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 Norwitz | 2005-10-24 | 1 | -2/+2 |
| | | | | non-Py PREFIXED macros, etc? | ||||
* | Do not pollute name block_ty, prefix with _Py_ | Neal Norwitz | 2005-10-24 | 2 | -6/+6 |
| | |||||
* | Fix problem handling EXTENDED_ARGs from SF bug # 1333982 | Neal Norwitz | 2005-10-24 | 1 | -0/+23 |
| | |||||
* | Fix compiler test when run with -u (long mode) | Neal Norwitz | 2005-10-24 | 1 | -1/+1 |
| | |||||
* | Fix problem handling EXTENDED_ARGs from SF bug # 1333982 | Neal Norwitz | 2005-10-23 | 1 | -1/+30 |
| | |||||
* | cleanup a bit and reuse instrsize (instruction size). working towards ↵ | Neal Norwitz | 2005-10-23 | 1 | -30/+24 |
| | | | | fixing problems with EXTENDED_ARG | ||||
* | One-off "No handlers..." error message only raised if raiseExceptions is set. | Vinay Sajip | 2005-10-23 | 1 | -1/+1 |
| | |||||
* | Add paragraphs on AST branch. AST'ers, please suggest corrections | Andrew M. Kuchling | 2005-10-23 | 1 | -0/+25 |
| | |||||
* | Add convenience makefile to check the latest what's new. | Andrew M. Kuchling | 2005-10-23 | 1 | -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 Norwitz | 2005-10-23 | 1 | -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 Norwitz | 2005-10-23 | 1 | -2/+2 |
| | | | | non-Py PREFIXED macros, etc? | ||||
* | Use PyErr_NoMemory() instead of rolling our own. | Neal Norwitz | 2005-10-23 | 1 | -7/+5 |
| | | | | Get rid of "int i" unused warnings from Python-ast.c which we are generating. | ||||
* | Remove unnecessary local variable. | Neil Schemenauer | 2005-10-23 | 1 | -3/+2 |
| | |||||
* | Fix check_unoptimized() function. The only optimized namespaces are | Neil Schemenauer | 2005-10-23 | 1 | -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 that | Neil Schemenauer | 2005-10-23 | 3 | -19/+47 |
| | | | | the scope of names can be correctly determined. | ||||
* | Use PyTuple_Pack instead of Py_BuildValue. | Neil Schemenauer | 2005-10-23 | 1 | -2/+1 |
| | |||||
* | Add news item for the new charmap codecs. | Marc-André Lemburg | 2005-10-23 | 1 | -0/+8 |
| | |||||
* | Correct error to PyRun_SimpleString macro introduced in AST merge. | Mark Hammond | 2005-10-23 | 1 | -1/+1 |
| | |||||
* | Remove conflict markers and add parsermodule.c to get things building | Mark Hammond | 2005-10-23 | 1 | -12/+11 |
| | |||||
* | Add AST files to VC6 build. | Raymond Hettinger | 2005-10-23 | 1 | -0/+16 |
| | |||||
* | Fix arigo's funky LOAD_NAME bug: implicit globals inside classes have | Neil Schemenauer | 2005-10-23 | 2 | -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 Schemenauer | 2005-10-23 | 1 | -2/+3 |
| | | | | part. Fixes one bug from #1333982. | ||||
* | Add an assert. | Neil Schemenauer | 2005-10-23 | 1 | -0/+1 |
| | |||||
* | Revert previous checkin: | Neal Norwitz | 2005-10-22 | 1 | -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 Schemenauer | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Use <lamba> as the function name for lambdas (matches old compiler). | Neil Schemenauer | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Fix a bunch of imports to use code.h instead of compile.h. | Jeremy Hylton | 2005-10-21 | 9 | -13/+1 |
| | | | | Remove duplicate declarations from compile.h | ||||
* | Replace the old EBCDIC codecs with new ones using the decoding table. | Marc-André Lemburg | 2005-10-21 | 4 | -981/+3027 |
| | |||||
* | Alias iso8859_1 to latin_1 which is the same encoding, but has | Marc-André Lemburg | 2005-10-21 | 1 | -0/+7 |
| | | | | a much faster codec implementation. | ||||
* | Add a few more Mac OS encodings. The mapping tables for these are | Marc-André Lemburg | 2005-10-21 | 5 | -0/+3414 |
| | | | | available at ftp.unicode.org. | ||||
* | Replace the old charmap codecs with new ones generated from the current | Marc-André Lemburg | 2005-10-21 | 49 | -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 to | Marc-André Lemburg | 2005-10-21 | 2 | -0/+94 |
| | | | | list all installed codecs. | ||||
* | Moved gencodec.py to the Tools/unicode/ directory. | Marc-André Lemburg | 2005-10-21 | 1 | -88/+179 |
| | | | | | | Added new support for decoding tables. Cleaned up the implementation a bit. | ||||
* | ANSI-C-ify the placement of local var declarations. | Armin Rigo | 2005-10-21 | 3 | -9/+14 |
| | |||||
* | Fix bug: | Michael W. Hudson | 2005-10-21 | 4 | -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 to | Michael W. Hudson | 2005-10-21 | 1 | -1/+3 |
| | | | | bump MAGIC. | ||||
* | Add 2.4.2 to LICENSE. | Georg Brandl | 2005-10-21 | 1 | -0/+1 |
| | |||||
* | add some notes about recent checkins | Neal Norwitz | 2005-10-21 | 1 | -0/+6 |
| | |||||
* | Get the bug # write | Neal Norwitz | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Incorrect code was generated for: | Neal Norwitz | 2005-10-21 | 1 | -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 case | Neal Norwitz | 2005-10-21 | 3 | -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 Norwitz | 2005-10-21 | 1 | -0/+3 |
| | | | | backport candidate | ||||
* | Don't use a string exception since it's deprecated | Neal Norwitz | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Oops, "=" is not a comparison operator | Neal Norwitz | 2005-10-21 | 1 | -1/+0 |
| | |||||
* | Add comment lost from AST merge | Neal Norwitz | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Remove INT_MIN that came from the AST merge. | Neal Norwitz | 2005-10-21 | 1 | -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 merge | Neal Norwitz | 2005-10-21 | 1 | -2/+2 |
| | |||||
* | Use the newer names for APIs after the AST merge | Neal Norwitz | 2005-10-21 | 1 | -3/+3 |
| | |||||
* | Remove dup declarations after AST merge | Neal Norwitz | 2005-10-21 | 1 | -3/+0 |
| |