summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* similar to SF bug 847019: a quick check in the time() constructor, whichArmin Rigo2005-11-072-1/+9
| | | | | | accepts strings only for unpickling reasons. This check prevents the honest mistake of passing a string like '2:59.0' to time() and getting an insane object.
* Fix SF bug #417833 (pydoc HTTP reload failure) by removing fromKa-Ping Yee2005-11-051-13/+17
| | | | | sys.modules all submodules of a the given module/package path when trying to reload a module.
* Accept patch to resolve SF bug #651124.Ka-Ping Yee2005-11-051-2/+2
|
* Oops, forgot to add the output file to 41388.Neal Norwitz2005-11-031-0/+2
|
* Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxintNeal Norwitz2005-11-033-0/+24
| | | | | | Need to check return result of PyInt_AsLong() Will backport.
* Make consistent with 2.4Neal Norwitz2005-11-031-1/+1
|
* Change time.strptime() to raise ValueError whenever there is an error in theBrett Cannon2005-11-023-3/+29
| | | | | | | format string. Before exceptions generated by the internal code propagated up to the user and were not helpful. Closes bug #1340337.
* Add an import line to a code fragment.Brett Cannon2005-11-021-1/+2
| | | | Closes bug #1346395.
* Another comment typo fixAndrew M. Kuchling2005-11-021-1/+1
|
* Fix typo in comment.Walter Dörwald2005-11-021-1/+1
|
* Whitespace cleanup.Walter Dörwald2005-11-021-27/+27
|
* Fix SF #1345263, colorsys tests, bug in frangeNeal Norwitz2005-11-022-1/+2
| | | | | | Fix a typo that caused step to be ignored. Will backport.
* Cleanup the previous checkin.Neal Norwitz2005-11-021-1/+4
| | | | | Close the fd in the close method and invalidated it. Don't try to close a second time when deallocating.
* Bug #1344508, Fix UNIX mmap leaking file descriptors. Will backport.Neal Norwitz2005-11-022-0/+3
|
* Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵Vinay Sajip2005-10-311-0/+6
| | | | passing to handleError
* Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵Vinay Sajip2005-10-312-0/+8
| | | | passing to handleError
* Remove .cvsignore files, as they live in svn:ignoreMartin v. Löwis2005-10-3030-196/+0
| | | | properties now.
* add missing "and"Fred Drake2005-10-301-2/+3
|
* SF Bug #1341934: Fix a representation of "\n" to use a proper tag.Hye-Shik Chang2005-10-301-1/+1
|
* test_directories(): This test had no chance of passing onTim Peters2005-10-301-2/+14
| | | | | Windows. Hacked it to pass, but not sure it's worth the bother.
* Add *.pyc to svn:ignore.Martin v. Löwis2005-10-291-0/+1
| | | | Add libpython*.a to .cvsignore and svn:ignore.
* _PyUnicode_IsWhitespace(),Tim Peters2005-10-291-2/+2
| | | | | | | | | _PyUnicode_IsLinebreak(): Changed the declarations to match the definitions. Don't know why they differed; MSVC warned about it; don't know why only these two functions use "const". Someone who does may want to do something saner ;-).
* Minor update to HTTPHandler documentation to indicate that host:port can be ↵Vinay Sajip2005-10-291-1/+3
| | | | used.
* fix typos, mostly in commentsFred Drake2005-10-2810-13/+14
|
* Patch #1338314, Bug #1336623: fix tarfile so it can extractNeal Norwitz2005-10-283-5/+39
| | | | | | REGTYPE directories from tarfiles written by old programs. Will backport.
* Update instructions according to Dave AbrahamsMartin v. Löwis2005-10-271-0/+3
| | | | instructions.
* Add Makefile which allows easily rebuilding the charmap codecs.Marc-André Lemburg2005-10-251-0/+81
|
* Add custom mapping files used for generating some of the charmapMarc-André Lemburg2005-10-253-0/+873
| | | | codecs.
* Apply some cosmetic fixes to the output of the script.Marc-André Lemburg2005-10-251-15/+28
| | | | Only include the decoding map if no table can be generated.
* Refactor code for translating "power" nodes.Neil Schemenauer2005-10-251-91/+95
|
* Write a separate ast_for_testlist_gexp() function instead of overloadingNeil Schemenauer2005-10-251-62/+77
| | | | | ast_for_testlist(). Also, write a ast_for_class_bases() function and in the process fix a memory leak. Add some assertions.
* Ensure that compiler_exit_scope() is called as necessary to free memoryNeil Schemenauer2005-10-251-10/+18
| | | | | allocated by compiler_enter_scope(). Change return type for compiler_exit_scope() to be void.
* Cosmetic change: make all hex literals use upper case hex so that theyMarc-André Lemburg2005-10-2445-14236/+14281
| | | | | | look more like the Unicode Consortium files. Add ending new-line to all source files.
* Removed the decoding_map from the codecs where this is possible.Marc-André Lemburg2005-10-2445-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 Norwitz2005-10-241-2/+2
| | | | non-Py PREFIXED macros, etc?
* Do not pollute name block_ty, prefix with _Py_Neal Norwitz2005-10-242-6/+6
|
* Fix problem handling EXTENDED_ARGs from SF bug # 1333982Neal Norwitz2005-10-241-0/+23
|
* Fix compiler test when run with -u (long mode)Neal Norwitz2005-10-241-1/+1
|
* Fix problem handling EXTENDED_ARGs from SF bug # 1333982Neal Norwitz2005-10-231-1/+30
|
* cleanup a bit and reuse instrsize (instruction size). working towards ↵Neal Norwitz2005-10-231-30/+24
| | | | fixing problems with EXTENDED_ARG
* One-off "No handlers..." error message only raised if raiseExceptions is set.Vinay Sajip2005-10-231-1/+1
|
* Add paragraphs on AST branch. AST'ers, please suggest correctionsAndrew M. Kuchling2005-10-231-0/+25
|
* Add convenience makefile to check the latest what's new.Andrew M. Kuchling2005-10-231-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 Norwitz2005-10-231-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 Norwitz2005-10-231-2/+2
| | | | non-Py PREFIXED macros, etc?
* Use PyErr_NoMemory() instead of rolling our own.Neal Norwitz2005-10-231-7/+5
| | | | Get rid of "int i" unused warnings from Python-ast.c which we are generating.
* Remove unnecessary local variable.Neil Schemenauer2005-10-231-3/+2
|
* Fix check_unoptimized() function. The only optimized namespaces areNeil Schemenauer2005-10-231-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 thatNeil Schemenauer2005-10-233-19/+47
| | | | the scope of names can be correctly determined.
* Use PyTuple_Pack instead of Py_BuildValue.Neil Schemenauer2005-10-231-2/+1
|