Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Start of a source code unparser. | Martin v. Löwis | 2006-02-27 | 2 | -0/+164 |
| | |||||
* | Even though we don't currently use unicode or complex numbers in the test, | Neal Norwitz | 2006-02-27 | 1 | -3/+3 |
| | | | | | | be complete when when checking types. Yield cannot be tested outside a function, so add a comment to that effect. | ||||
* | Don't filter out OverflowWarning; should be a test failure if it is raised by | Brett Cannon | 2006-02-27 | 1 | -2/+1 |
| | | | | the interpreter in 2.5 . | ||||
* | Make or_test similar to test, not testlist. | Martin v. Löwis | 2006-02-27 | 1 | -1/+2 |
| | |||||
* | Skip over doc strings. | Martin v. Löwis | 2006-02-27 | 2 | -1/+10 |
| | |||||
* | Convert array.array.insert to use Py_ssize_t (like the rest already does.) | Thomas Wouters | 2006-02-27 | 1 | -2/+2 |
| | |||||
* | Fix parsing of subscriptlist. | Jeremy Hylton | 2006-02-27 | 1 | -4/+30 |
| | | | | | | | (Armin's SF bug report). d = {} d[1,] = 1 Now handled correctly | ||||
* | More unconsting. | Martin v. Löwis | 2006-02-27 | 9 | -62/+56 |
| | |||||
* | Patch 1413181, by Gabriel Becedillas. | Tim Peters | 2006-02-27 | 2 | -0/+10 |
| | | | | | | | | | PyThreadState_Delete(): if the auto-GIL-state machinery knows about the thread state, forget it (since the thread state is being deleted, continuing to remember it can't help, but can hurt if another thread happens to get created with the same thread id). I'll backport to 2.4 next. | ||||
* | And some more cleanup. | Thomas Wouters | 2006-02-27 | 1 | -2/+2 |
| | |||||
* | Clean up from-import handling. | Thomas Wouters | 2006-02-27 | 1 | -22/+21 |
| | |||||
* | unconst. | Martin v. Löwis | 2006-02-27 | 1 | -9/+9 |
| | |||||
* | Simplify ast_for_trailer() in anticipation of more changes. | Jeremy Hylton | 2006-02-27 | 1 | -17/+11 |
| | |||||
* | Trimmed trailing whitespace. | Tim Peters | 2006-02-27 | 1 | -1/+1 |
| | |||||
* | Add an entry for 308 | Neal Norwitz | 2006-02-27 | 1 | -0/+2 |
| | |||||
* | Fix old not-reading-pep-308-right artifact. | Thomas Wouters | 2006-02-27 | 1 | -1/+1 |
| | |||||
* | Revert backwards-incompatible const changes. | Martin v. Löwis | 2006-02-27 | 36 | -70/+71 |
| | |||||
* | Note version added for conditional expressions | Neal Norwitz | 2006-02-27 | 1 | -1/+1 |
| | |||||
* | Update for PEP 308 patch. | Thomas Wouters | 2006-02-27 | 1 | -3/+54 |
| | |||||
* | Handle testlist_safe and or_test like testlist. | Martin v. Löwis | 2006-02-27 | 1 | -2/+2 |
| | |||||
* | Alias non-terminals introduced for backwards compatibility. | Martin v. Löwis | 2006-02-27 | 1 | -0/+3 |
| | |||||
* | Fix assertion errors in debug build, brought on by PEP 308 patch. | Thomas Wouters | 2006-02-27 | 1 | -1/+1 |
| | |||||
* | Create _ast module. | Martin v. Löwis | 2006-02-27 | 7 | -221/+485 |
| | | | | Cleanup Python-ast.c generation. | ||||
* | Check for a not-found rlconf.h by testing for None. | Martin v. Löwis | 2006-02-27 | 1 | -1/+1 |
| | |||||
* | regenerated. please read PEP 306 when changing Python's grammar! | Anthony Baxter | 2006-02-27 | 1 | -37/+40 |
| | |||||
* | PEP 308 implementation, including minor refdocs and some testcases. It | Thomas Wouters | 2006-02-27 | 11 | -567/+803 |
| | | | | | | | | | | | | | | | | | | | | | | | | | breaks the parser module, because it adds the if/else construct as well as two new grammar rules for backward compatibility. If no one else fixes parsermodule, I guess I'll go ahead and fix it later this week. The TeX code was checked with texcheck.py, but not rendered. There is actually a slight incompatibility: >>> (x for x in lambda:0) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: iteration over non-sequence changes into >>> (x for x in lambda: 0) File "<stdin>", line 1 (x for x in lambda: 0) ^ SyntaxError: invalid syntax Since there's no way the former version can be useful, it's probably a bugfix ;) | ||||
* | Avoid reinitializing the types twice. | Martin v. Löwis | 2006-02-27 | 2 | -0/+2 |
| | |||||
* | Stop generating empty arrays. | Martin v. Löwis | 2006-02-26 | 2 | -129/+60 |
| | |||||
* | Oops, I forgot to check this in with the change to Grammar/Grammar. | Neal Norwitz | 2006-02-26 | 1 | -16/+3 |
| | | | | | Implement change suggested by Jiwon Seo on python-dev. ['(' gen_for ')'] is redundant with test, so remove it. | ||||
* | Check whether there are flags. | Martin v. Löwis | 2006-02-26 | 1 | -1/+1 |
| | |||||
* | Fix iterating over cmpop_ty lists. | Martin v. Löwis | 2006-02-26 | 2 | -7/+20 |
| | |||||
* | Generate code to recursively copy an AST into | Martin v. Löwis | 2006-02-26 | 8 | -785/+1946 |
| | | | | a tree of Python objects. Expose this through compile(). | ||||
* | Remove line meant to test trailing whitespace since that kind of whitespace is | Brett Cannon | 2006-02-26 | 1 | -19/+40 |
| | | | | | | automatically removed. Also annotate what each line is meant to test. | ||||
* | Whitespace normalization. | Tim Peters | 2006-02-26 | 3 | -3/+3 |
| | |||||
* | Oops. Fix syntax for C89 compilers. | Guido van Rossum | 2006-02-25 | 1 | -2/+2 |
| | |||||
* | - Patch 1433928: | Guido van Rossum | 2006-02-25 | 12 | -10/+611 |
| | | | | | | | | - The copy module now "copies" function objects (as atomic objects). - dict.__getitem__ now looks for a __missing__ hook before raising KeyError. - Added a new type, defaultdict, to the collections module. This uses the new __missing__ hook behavior added to dict (see above). | ||||
* | Per discussion on python-dev, remove CO_GENERATOR_ALLOWED. Leave comment ↵ | Neal Norwitz | 2006-02-25 | 2 | -2/+5 |
| | | | | about not removing yet. | ||||
* | Move the vimrc file to the newly created Vim/ directory. | Brett Cannon | 2006-02-25 | 1 | -0/+0 |
| | |||||
* | Add a script that auto-generates a Vim syntax highlighting file for Python. | Brett Cannon | 2006-02-25 | 3 | -0/+413 |
| | | | | | | | Just symlink or copy python.vim to ~/.vim/syntax/ . Also included is a sample Python file with basic expressions to make sure they are highlighted. Also add a Vim directory in Misc to hold all Vim configuration files. | ||||
* | Implement change suggested by Jiwon Seo on python-dev. | Neal Norwitz | 2006-02-24 | 1 | -1/+1 |
| | | | | ['(' gen_for ')'] is redundant with test, so remove it. | ||||
* | Fix a couple of warnings on Mac OS X. | Neal Norwitz | 2006-02-24 | 2 | -2/+2 |
| | |||||
* | On OSX, use --arch_only `arch` in stead of --arch_only ppc, so things will | Jack Jansen | 2006-02-23 | 2 | -5/+5 |
| | | | | build for the current CPU. | ||||
* | If the readline library is found try and determine whether it's the broken | Jack Jansen | 2006-02-23 | 1 | -1/+8 |
| | | | | MacOSX 10.4 readline, and don't build the readline module in that case. | ||||
* | Got rid of byte-order dependencies. | Jack Jansen | 2006-02-23 | 1 | -2/+2 |
| | |||||
* | Fix casing of function names. | Georg Brandl | 2006-02-22 | 1 | -3/+3 |
| | |||||
* | RFE #1436243: make integers in [0..256] preallocated. | Georg Brandl | 2006-02-22 | 2 | -1/+5 |
| | |||||
* | Allow buildbot to pass extra test flags to regrtest (specifically -r) via ↵ | Neal Norwitz | 2006-02-22 | 1 | -1/+1 |
| | | | | the environment. | ||||
* | George Yoshida's fix. | Neal Norwitz | 2006-02-22 | 1 | -1/+1 |
| | |||||
* | Add test for classmethod ./. keyword args. | Georg Brandl | 2006-02-21 | 1 | -0/+8 |
| | |||||
* | Make staticmethod and classmethod complain about keyword args. | Georg Brandl | 2006-02-21 | 1 | -0/+4 |
| |