summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PEP 308 implementation, including minor refdocs and some testcases. ItThomas Wouters2006-02-2711-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öwis2006-02-272-0/+2
|
* Stop generating empty arrays.Martin v. Löwis2006-02-262-129/+60
|
* Oops, I forgot to check this in with the change to Grammar/Grammar.Neal Norwitz2006-02-261-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öwis2006-02-261-1/+1
|
* Fix iterating over cmpop_ty lists.Martin v. Löwis2006-02-262-7/+20
|
* Generate code to recursively copy an AST intoMartin v. Löwis2006-02-268-785/+1946
| | | | a tree of Python objects. Expose this through compile().
* Remove line meant to test trailing whitespace since that kind of whitespace isBrett Cannon2006-02-261-19/+40
| | | | | | automatically removed. Also annotate what each line is meant to test.
* Whitespace normalization.Tim Peters2006-02-263-3/+3
|
* Oops. Fix syntax for C89 compilers.Guido van Rossum2006-02-251-2/+2
|
* - Patch 1433928:Guido van Rossum2006-02-2512-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 Norwitz2006-02-252-2/+5
| | | | about not removing yet.
* Move the vimrc file to the newly created Vim/ directory.Brett Cannon2006-02-251-0/+0
|
* Add a script that auto-generates a Vim syntax highlighting file for Python.Brett Cannon2006-02-253-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 Norwitz2006-02-241-1/+1
| | | | ['(' gen_for ')'] is redundant with test, so remove it.
* Fix a couple of warnings on Mac OS X.Neal Norwitz2006-02-242-2/+2
|
* On OSX, use --arch_only `arch` in stead of --arch_only ppc, so things willJack Jansen2006-02-232-5/+5
| | | | build for the current CPU.
* If the readline library is found try and determine whether it's the brokenJack Jansen2006-02-231-1/+8
| | | | MacOSX 10.4 readline, and don't build the readline module in that case.
* Got rid of byte-order dependencies.Jack Jansen2006-02-231-2/+2
|
* Fix casing of function names.Georg Brandl2006-02-221-3/+3
|
* RFE #1436243: make integers in [0..256] preallocated.Georg Brandl2006-02-222-1/+5
|
* Allow buildbot to pass extra test flags to regrtest (specifically -r) via ↵Neal Norwitz2006-02-221-1/+1
| | | | the environment.
* George Yoshida's fix.Neal Norwitz2006-02-221-1/+1
|
* Add test for classmethod ./. keyword args.Georg Brandl2006-02-211-0/+8
|
* Make staticmethod and classmethod complain about keyword args.Georg Brandl2006-02-211-0/+4
|
* fix typoGeorg Brandl2006-02-211-1/+1
|
* Document "multifile" as deprecated.Georg Brandl2006-02-211-0/+4
|
* At Brian Wichmann's request, added words warning againstTim Peters2006-02-211-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örwald2006-02-211-1/+1
|
* Trimmed trailing whitespace.Tim Peters2006-02-211-4/+4
|
* Fix typo in functional moduleGeorg Brandl2006-02-211-2/+2
|
* Suppress another deprecation warning in the tests.Tim Peters2006-02-211-1/+8
|
* NETLINK_TCPDIAG and NETLINK_NFLOG aren't defined on older LinuxGuido van Rossum2006-02-211-0/+4
| | | | systems; define these conditionally.
* Bug #1086854: Rename PyHeapType members adding ht_ prefix.Georg Brandl2006-02-202-12/+12
|
* Whitespace normalization.Tim Peters2006-02-203-5/+5
|
* Bug #947571: By default, urllib.urlopen() does not raise IOErrorsGeorg Brandl2006-02-201-1/+8
| | | | on server error codes. Make this clear.
* Bug #1210377: close bsddb cursor correctly after NotFoundError.Georg Brandl2006-02-201-1/+4
|
* Based on discussion with Martin and Thomas on python-checkinsNeal Norwitz2006-02-201-1/+1
| | | | add a Py_SAFE_DOWNCAST() to make the code correct.
* Patch #931938: prevent setting sys.prefix to ""Georg Brandl2006-02-201-0/+6
|
* Bug #1102649: add a note to pickle docs that pickle files should beGeorg Brandl2006-02-201-1/+10
| | | | opened in binary mode.
* Bug #1013800: document PyFunction_* functionsGeorg Brandl2006-02-202-11/+112
|
* Detect Win64 builds.Martin v. Löwis2006-02-201-10/+39
|
* Bug #1323369: document possible values of sys.getwindowsversion()Georg Brandl2006-02-201-4/+4
| | | | platform field
* Let the SDK setup override distutils logic.Martin v. Löwis2006-02-201-15/+25
|
* Bug #1101233: fix test_fcntl on netbsd2 platform.Georg Brandl2006-02-201-1/+1
|
* bug #872175: add --with-fpectl to READMEGeorg Brandl2006-02-201-0/+5
|
* Bug #854823: socketmodule now builds on Sun platforms even whenGeorg Brandl2006-02-202-2/+5
| | | | INET_ADDRSTRLEN is not defined.
* Bug #1413790: zipfile now sanitizes absolute archive names that areGeorg Brandl2006-02-204-5/+26
| | | | not allowed by the specs.
* Whitespace normalization.Tim Peters2006-02-191-2/+2
|
* Repair new test failures on Windows due toTim Peters2006-02-191-4/+4
| | | | | implicit assumptions that there's no difference between text and binary modes.