Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #9020: The Py_IS* macros from pyctype.h should generally only be | Stefan Krah | 2010-06-24 | 1 | -1/+1 |
| | | | | | used with signed/unsigned char arguments. For integer arguments, EOF has to be handled separately. | ||||
* | spacing nit; this isn't C | Benjamin Peterson | 2010-06-22 | 1 | -1/+1 |
| | |||||
* | fix code formatting | Benjamin Peterson | 2010-06-09 | 1 | -2/+3 |
| | |||||
* | Doc Fix. Correct link to Zephyr ASDL Abstract page. | Senthil Kumaran | 2010-05-18 | 1 | -1/+1 |
| | |||||
* | Use 4-spaces for indentation (instead of tabs) in pgen outputs | Victor Stinner | 2010-05-15 | 1 | -10/+10 |
| | | | | Regenerate (reindent) Python/graminit.c | ||||
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 17 | -3286/+3286 |
| | |||||
* | use our own locale independent ctype macros | Benjamin Peterson | 2010-04-03 | 1 | -19/+3 |
| | | | | requires building pyctype.o into pgen | ||||
* | ensure that the locale does not affect the tokenization of identifiers | Benjamin Peterson | 2010-04-03 | 1 | -4/+18 |
| | |||||
* | Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt | Victor Stinner | 2010-03-10 | 1 | -1/+5 |
| | | | | | | (SIGINT). If an error occurs while importing the site module, the error is printed and Python exits. Initialize the GIL before importing the site module. | ||||
* | Issue #7820: The parser tokenizer restores all bytes in the right if the BOM | Victor Stinner | 2010-03-02 | 1 | -22/+32 |
| | | | | | | check fails. Fix an assertion in pydebug mode. | ||||
* | #2560: remove an unnecessary 'for' loop from my_fgets() in Parser/myreadline.c. | Andrew M. Kuchling | 2010-02-22 | 1 | -48/+45 |
| | | | | | | | | | | | Noted by Joseph Armbruster; patch by Jessica McKellar. The original code was 'for (;;) {...}', where ... ended with a 'return -2' statement and did not contain a 'break' or 'continue' statement. Therefore, the body of the loop is always executed once. Once upon a time there was a 'continue' in the loop, but it was removed in rev36346, committed by mwh on Wed Jul 7 17:44:12 2004. | ||||
* | Issue #2333: Backport set and dict comprehensions syntax. | Alexandre Vassalotti | 2010-01-11 | 1 | -0/+2 |
| | |||||
* | Issue #2335: Backport set literals syntax from Python 3.x. | Alexandre Vassalotti | 2010-01-09 | 1 | -0/+1 |
| | |||||
* | account for PyObject_IsInstance's new ability to fail | Benjamin Peterson | 2009-12-13 | 1 | -3/+19 |
| | |||||
* | rewrite translate_newlines for clarity | Benjamin Peterson | 2009-12-06 | 1 | -12/+11 |
| | |||||
* | fix several compile() issues by translating newlines in the tokenizer | Benjamin Peterson | 2009-11-12 | 3 | -18/+69 |
| | |||||
* | spelling | Benjamin Peterson | 2009-11-07 | 1 | -1/+1 |
| | |||||
* | fix some coding style | Benjamin Peterson | 2009-10-09 | 1 | -13/+30 |
| | |||||
* | http://bugs.python.org/issue6836 | Kristján Valur Jónsson | 2009-09-28 | 1 | -3/+11 |
| | | | | A memory block allocated with one API was being handed over to an object that used another API to release it. | ||||
* | don't mask encoding errors when decoding a string #6289 | Benjamin Peterson | 2009-06-16 | 1 | -4/+1 |
| | |||||
* | when no module is given in a 'from' relative import, make ImportFrom.module NULL | Benjamin Peterson | 2009-06-13 | 1 | -1/+1 |
| | |||||
* | Delete outdated make file for building the parser with MSVC 6. | Alexandre Vassalotti | 2009-06-12 | 1 | -45/+0 |
| | |||||
* | remove has_key | Benjamin Peterson | 2009-06-07 | 1 | -1/+1 |
| | |||||
* | use booleans for flags | Benjamin Peterson | 2009-06-07 | 2 | -19/+19 |
| | |||||
* | always inherit from an appropiate base class | Benjamin Peterson | 2009-06-07 | 1 | -4/+2 |
| | |||||
* | inherit from object | Benjamin Peterson | 2009-06-07 | 1 | -1/+1 |
| | |||||
* | Issue #4279: Fix build of parsermodule under Cygwin. | Martin v. Löwis | 2009-01-11 | 1 | -0/+1 |
| | |||||
* | Remove useless string literal. | Georg Brandl | 2009-01-03 | 1 | -1/+1 |
| | |||||
* | fix __future__ imports when multiple features are given | Benjamin Peterson | 2008-10-26 | 1 | -3/+0 |
| | |||||
* | fix compiler warning | Benjamin Peterson | 2008-10-19 | 1 | -1/+1 |
| | |||||
* | Fixed #4067 by implementing _attributes and _fields for the AST root node. | Armin Ronacher | 2008-10-19 | 1 | -0/+18 |
| | |||||
* | update asdl_c.py from r66377 | Benjamin Peterson | 2008-09-10 | 1 | -1/+1 |
| | |||||
* | #3367: revert rev. 65539: this change causes test_parser to fail | Andrew M. Kuchling | 2008-08-05 | 1 | -1/+1 |
| | |||||
* | #3367 from Kristjan Valur Jonsson: | Andrew M. Kuchling | 2008-08-05 | 1 | -1/+1 |
| | | | | | | | If a PyTokenizer_FromString() is called with an empty string, the tokenizer's line_start member never gets initialized. Later, it is compared with the token pointer 'a' in parsetok.c:193 and that behavior can result in undefined behavior. | ||||
* | #1683 prevent forking from interfering in threading storage | Benjamin Peterson | 2008-06-13 | 1 | -0/+2 |
| | | | | This should prevent some test_multiprocessing failures | ||||
* | Merge in release25-maint r60793: | Gregory P. Smith | 2008-06-11 | 1 | -0/+3 |
| | | | | | | Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code. | ||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 2 | -21/+21 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 2 | -21/+21 |
| | |||||
* | Issue2681: the literal 0o8 was wrongly accepted, and evaluated as float(0.0). | Amaury Forgeot d'Arc | 2008-04-24 | 1 | -1/+1 |
| | | | | | This happened only when 8 is the first digit. Credits go to Lukas Meuser. | ||||
* | #2627 Let it be known what pgen generates | Benjamin Peterson | 2008-04-13 | 1 | -0/+3 |
| | |||||
* | Use file.write instead of print to make it easier to merge with 3k. | Neal Norwitz | 2008-03-31 | 1 | -12/+13 |
| | |||||
* | Make AST nodes pickleable. | Georg Brandl | 2008-03-30 | 1 | -2/+27 |
| | |||||
* | Fix error message -- "expects either 0 or 0 arguments" | Georg Brandl | 2008-03-30 | 1 | -2/+4 |
| | |||||
* | Make _fields attr for no fields consistent with _attributes attr. | Georg Brandl | 2008-03-30 | 1 | -8/+3 |
| | |||||
* | #2505: allow easier creation of AST nodes. | Georg Brandl | 2008-03-30 | 1 | -8/+100 |
| | |||||
* | Patch #2511: Give the "excepthandler" AST item proper attributes by making ↵ | Georg Brandl | 2008-03-30 | 1 | -5/+2 |
| | | | | it a Sum. | ||||
* | Properly check for consistency with the third argument of | Georg Brandl | 2008-03-29 | 1 | -5/+12 |
| | | | | compile() when compiling an AST node. | ||||
* | Silence compiler warning at the source. | Georg Brandl | 2008-03-28 | 1 | -1/+1 |
| | |||||
* | Patch #1810 by Thomas Lee, reviewed by myself: | Georg Brandl | 2008-03-28 | 1 | -2/+268 |
| | | | | | allow compiling Python AST objects into code objects in compile(). | ||||
* | Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings. | Neal Norwitz | 2008-03-28 | 1 | -8/+0 |
| | | | | | | Rather than sprinkle casts throughout the code, change Py_CHARMASK to always cast it's result to an unsigned char. This should ensure we do the right thing when accessing an array with the result. |