Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | fix typo | Georg Brandl | 2006-02-21 | 1 | -1/+1 | |
| | ||||||
* | Document "multifile" as deprecated. | Georg Brandl | 2006-02-21 | 1 | -0/+4 | |
| | ||||||
* | At Brian Wichmann's request, added words warning against | Tim Peters | 2006-02-21 | 1 | -4/+13 | |
| | | | | | | | | | | | | using the old Wichmann-Hill generator, Also pointed to a newer version of his generator, and weakened the claim about what jumpahead() does now. Note sure I got the LaTeX entirely correct for \seeurl. If it's broken, please fix it ;-) Bugfix candidate! (These changes make just as much sense for 2.4.) | |||||
* | Fix table header. | Walter Dörwald | 2006-02-21 | 1 | -1/+1 | |
| | ||||||
* | Trimmed trailing whitespace. | Tim Peters | 2006-02-21 | 1 | -4/+4 | |
| | ||||||
* | Fix typo in functional module | Georg Brandl | 2006-02-21 | 1 | -2/+2 | |
| | ||||||
* | Suppress another deprecation warning in the tests. | Tim Peters | 2006-02-21 | 1 | -1/+8 | |
| | ||||||
* | NETLINK_TCPDIAG and NETLINK_NFLOG aren't defined on older Linux | Guido van Rossum | 2006-02-21 | 1 | -0/+4 | |
| | | | | systems; define these conditionally. | |||||
* | Bug #1086854: Rename PyHeapType members adding ht_ prefix. | Georg Brandl | 2006-02-20 | 2 | -12/+12 | |
| | ||||||
* | Whitespace normalization. | Tim Peters | 2006-02-20 | 3 | -5/+5 | |
| | ||||||
* | Bug #947571: By default, urllib.urlopen() does not raise IOErrors | Georg Brandl | 2006-02-20 | 1 | -1/+8 | |
| | | | | on server error codes. Make this clear. | |||||
* | Bug #1210377: close bsddb cursor correctly after NotFoundError. | Georg Brandl | 2006-02-20 | 1 | -1/+4 | |
| | ||||||
* | Based on discussion with Martin and Thomas on python-checkins | Neal Norwitz | 2006-02-20 | 1 | -1/+1 | |
| | | | | add a Py_SAFE_DOWNCAST() to make the code correct. | |||||
* | Patch #931938: prevent setting sys.prefix to "" | Georg Brandl | 2006-02-20 | 1 | -0/+6 | |
| | ||||||
* | Bug #1102649: add a note to pickle docs that pickle files should be | Georg Brandl | 2006-02-20 | 1 | -1/+10 | |
| | | | | opened in binary mode. |