summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* similar to SF bug 847019: a quick check in the time() constructor, whichArmin Rigo2005-11-071-1/+2
| | | | | | 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.
* Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxintNeal Norwitz2005-11-031-0/+2
| | | | | | Need to check return result of PyInt_AsLong() Will backport.
* Whitespace cleanup.Walter Dörwald2005-11-021-27/+27
|
* 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-021-0/+1
|
* Remove .cvsignore files, as they live in svn:ignoreMartin v. Löwis2005-10-301-9/+0
| | | | properties now.
* Fix a bunch of imports to use code.h instead of compile.h.Jeremy Hylton2005-10-214-4/+1
| | | | Remove duplicate declarations from compile.h
* Merge ast-branch to headJeremy Hylton2005-10-202-3/+6
| | | | | | | | | | This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests.
* Get bsddb module to compile with version 3.2 of BSD DB.Neal Norwitz2005-10-201-0/+8
|
* Change the internal "undefined codepoint" mark for CJKCodecs decodersHye-Shik Chang2005-10-061-1/+4
| | | | | from U+FFFD to U+FFFE which is considered more appropriate. (from MAL's comment)
* SF #1313496: bisect C replacement doesn't accept named argsRaymond Hettinger2005-10-051-22/+26
|
* SF Bug # 941346, AIX shared library fixNeal Norwitz2005-10-031-0/+4
| | | | | | | | Since I can't test this, I'm just adding a comment. If we get access to AIX boxes, we can test this and really resolve. Anyone from IBM want to offer help? Backport candidate I suppose.
* SF bug #887946, segfault if redirecting directoryNeal Norwitz2005-10-031-0/+8
| | | | | | | Also provide a warning if a directory is passed on the command line. Add minimal command line test. Will backport.
* Patch #1309009, Fix segfault in pyexpat when the XML document isNeal Norwitz2005-09-301-1/+6
| | | | | | in latin_1, but Python incorrectly assumes it is in UTF-8 format Will backport.
* Fix parse errors in readline module when compiling without threads.Georg Brandl2005-09-291-0/+2
|
* Commit memory leaking fix.Georg Brandl2005-09-251-2/+6
|
* Convert iterator __len__() methods to a private API.Raymond Hettinger2005-09-242-15/+23
|
* Patch #1288833: Removed thread lock from socket.getaddrinfo onHye-Shik Chang2005-09-241-1/+6
| | | | | FreeBSD 5.3 and later versions which got thread-safe getaddrinfo(3). (Reported by Maxim Sobolev)
* Patches #1298449 and #1298499: Add some missing checks for errorMichael W. Hudson2005-09-221-7/+15
| | | | | | returns in cStringIO.c. Thanks to Andrew Bennetts. This must be a backport candidate.
* SF Patch #1297028, cjkcodecs does not initialize type pointerNeal Norwitz2005-09-211-0/+4
| | | | | | | Fix segfault. I tried to write a test, but it wouldn't crash when running regrtest. This really should have some sort of test. Should definitely be backported.
* C89 compliance.Armin Rigo2005-09-201-2/+2
|
* Remove unnecessary/extra parens when returning a value.Neal Norwitz2005-09-191-6/+6
|
* Forward port fixes for problems reported by valgrindNeal Norwitz2005-09-191-1/+2
|
* Patch #1213831: Fix typo in unicodedata._getcode.Martin v. Löwis2005-09-181-1/+1
| | | | Will backport to Python 2.4.
* Change type on variable to silence gcc 4 warning. Call signature was found atBrett Cannon2005-09-161-1/+1
| | | | http://darwinsource.opendarwin.org/10.4.2/dyld-43.1/src/dyldAPIs.cpp .
* bug [ 1007046 ] os.startfile() doesn't accept Unicode filenamesGeorg Brandl2005-09-141-1/+2
|
* - Changes donated by Elemental Security to make it work on AIX 5.3Guido van Rossum2005-09-146-46/+52
| | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron).
* bug [ 1274069 ] bz2module.c compiler warningGeorg Brandl2005-09-031-5/+12
|
* SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complainWalter Dörwald2005-08-301-2/+2
| | | | | about illegal code points. The codec now supports PEP 293 style error handlers. (This is a variant of the Nik Haldimann's patch that detects truncated data)
* SF bug #1072182: bad arg type to isspace in struct moduleRaymond Hettinger2005-08-261-3/+3
|
* patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on WindowsGeorg Brandl2005-08-261-7/+12
|
* Disallow keyword arguments for type constructors that don't use them.Georg Brandl2005-08-266-12/+54
| | | | (fixes bug #1119418)
* bug [ 728515 ] mmap's resize method resizes the file in win32 but not unixGeorg Brandl2005-08-241-1/+11
|
* Remove the C99 "ULL" suffix from the 64bit unsigned long constants.Gregory P. Smith2005-08-231-99/+99
| | | | | | | | | | | | | | | | VC++6 doesn't accept them. This *will* result in tons of the following warning from gcc 3.x: (gcc "2.96ish" doesn't issue this warning) warning: integer constant is too large for "long" type the code compiles fine regardless. squashing the gcc warnings is the next task. Would someone on windows please confirm that this does or does not compile and if it does or does not pass the test_hashlib.py unit tests.
* [ sf.net patch # 1121611 ]Gregory P. Smith2005-08-215-22/+2095
| | | | | | | | | A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility.
* Fix BZ2File.(x)readlines() for files without a newline.Georg Brandl2005-08-211-8/+31
|
* Correct definition of ST_GEN_IDX.Martin v. Löwis2005-08-141-2/+2
|
* Patch #1180695: Implement nanosecond stat resolution on FreeBSD,Martin v. Löwis2005-08-091-0/+47
| | | | add st_gen, st_birthtime.
* PEP 342 implementation. Per Guido's comments, the generator throw()Phillip J. Eby2005-08-022-14/+45
| | | | | method still needs to support string exceptions, and allow None for the third argument. Documentation updates are needed, too.
* Fix a typo. (found by Jong-uk Kim)Hye-Shik Chang2005-07-281-1/+1
|
* This is barry-scott's patch:Michael W. Hudson2005-07-271-3/+3
| | | | | | | | [ 1231069 ] ioctl has problem with -ive request codes by using the 'I' not the 'i' format code to PyArg_ParseTuple(). Backport candidate? Maybe...
* [ 1243081 ] repair typosGeorg Brandl2005-07-221-1/+1
|
* Fix bugMichael W. Hudson2005-07-051-0/+2
| | | | | | | | | | | [ 1232517 ] OverflowError in time.utime() causes strange traceback A needed error check was missing. (Actually, this error check may only have become necessary in fairly recent Python, not sure). Backport candidate.
* Fix bug:Michael W. Hudson2005-06-201-3/+6
| | | | | | | | [ 1163563 ] Sub threads execute in restricted mode basically by fixing bug 1010677 in a non-broken way. Backport candidate.
* Add missing INCREF.Neil Schemenauer2005-06-181-0/+1
| | | | Backport candidate.
* remove c++ style commentGregory P. Smith2005-06-161-1/+1
|
* Fix check for error conditionAndrew M. Kuchling2005-06-151-1/+1
|
* Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. WhySkip Montanaro2005-06-151-0/+1
| | | | | this worked is a bit mystical. Perhaps it never gets freed because the object just happens never to be DECREF'd (but that seems unlikely).
* Consistently use hard tabs for indentation.Michael W. Hudson2005-06-151-172/+165
| | | | | | Slightly de-Fultonize two bits of C layout. No semantic changes.
* Add a missing incref.Michael W. Hudson2005-06-151-0/+1
| | | | Backport candidate.