Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | similar to SF bug 847019: a quick check in the time() constructor, which | Armin Rigo | 2005-11-07 | 1 | -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.maxint | Neal Norwitz | 2005-11-03 | 1 | -0/+2 |
| | | | | | | Need to check return result of PyInt_AsLong() Will backport. | ||||
* | Whitespace cleanup. | Walter Dörwald | 2005-11-02 | 1 | -27/+27 |
| | |||||
* | Cleanup the previous checkin. | Neal Norwitz | 2005-11-02 | 1 | -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 Norwitz | 2005-11-02 | 1 | -0/+1 |
| | |||||
* | Remove .cvsignore files, as they live in svn:ignore | Martin v. Löwis | 2005-10-30 | 1 | -9/+0 |
| | | | | properties now. | ||||
* | Fix a bunch of imports to use code.h instead of compile.h. | Jeremy Hylton | 2005-10-21 | 4 | -4/+1 |
| | | | | Remove duplicate declarations from compile.h | ||||
* | Merge ast-branch to head | Jeremy Hylton | 2005-10-20 | 2 | -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 Norwitz | 2005-10-20 | 1 | -0/+8 |
| | |||||
* | Change the internal "undefined codepoint" mark for CJKCodecs decoders | Hye-Shik Chang | 2005-10-06 | 1 | -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 args | Raymond Hettinger | 2005-10-05 | 1 | -22/+26 |
| | |||||
* | SF Bug # 941346, AIX shared library fix | Neal Norwitz | 2005-10-03 | 1 | -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 directory | Neal Norwitz | 2005-10-03 | 1 | -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 is | Neal Norwitz | 2005-09-30 | 1 | -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 Brandl | 2005-09-29 | 1 | -0/+2 |
| | |||||
* | Commit memory leaking fix. | Georg Brandl | 2005-09-25 | 1 | -2/+6 |
| | |||||
* | Convert iterator __len__() methods to a private API. | Raymond Hettinger | 2005-09-24 | 2 | -15/+23 |
| | |||||
* | Patch #1288833: Removed thread lock from socket.getaddrinfo on | Hye-Shik Chang | 2005-09-24 | 1 | -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 error | Michael W. Hudson | 2005-09-22 | 1 | -7/+15 |
| | | | | | | returns in cStringIO.c. Thanks to Andrew Bennetts. This must be a backport candidate. | ||||
* | SF Patch #1297028, cjkcodecs does not initialize type pointer | Neal Norwitz | 2005-09-21 | 1 | -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 Rigo | 2005-09-20 | 1 | -2/+2 |
| | |||||
* | Remove unnecessary/extra parens when returning a value. | Neal Norwitz | 2005-09-19 | 1 | -6/+6 |
| | |||||
* | Forward port fixes for problems reported by valgrind | Neal Norwitz | 2005-09-19 | 1 | -1/+2 |
| | |||||
* | Patch #1213831: Fix typo in unicodedata._getcode. | Martin v. Löwis | 2005-09-18 | 1 | -1/+1 |
| | | | | Will backport to Python 2.4. | ||||
* | Change type on variable to silence gcc 4 warning. Call signature was found at | Brett Cannon | 2005-09-16 | 1 | -1/+1 |
| | | | | http://darwinsource.opendarwin.org/10.4.2/dyld-43.1/src/dyldAPIs.cpp . | ||||
* | bug [ 1007046 ] os.startfile() doesn't accept Unicode filenames | Georg Brandl | 2005-09-14 | 1 | -1/+2 |
| | |||||
* | - Changes donated by Elemental Security to make it work on AIX 5.3 | Guido van Rossum | 2005-09-14 | 6 | -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 warning | Georg Brandl | 2005-09-03 | 1 | -5/+12 |
| | |||||
* | SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain | Walter Dörwald | 2005-08-30 | 1 | -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 module | Raymond Hettinger | 2005-08-26 | 1 | -3/+3 |
| | |||||
* | patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows | Georg Brandl | 2005-08-26 | 1 | -7/+12 |
| | |||||
* | Disallow keyword arguments for type constructors that don't use them. | Georg Brandl | 2005-08-26 | 6 | -12/+54 |
| | | | | (fixes bug #1119418) | ||||
* | bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix | Georg Brandl | 2005-08-24 | 1 | -1/+11 |
| | |||||
* | Remove the C99 "ULL" suffix from the 64bit unsigned long constants. | Gregory P. Smith | 2005-08-23 | 1 | -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. Smith | 2005-08-21 | 5 | -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 Brandl | 2005-08-21 | 1 | -8/+31 |
| | |||||
* | Correct definition of ST_GEN_IDX. | Martin v. Löwis | 2005-08-14 | 1 | -2/+2 |
| | |||||
* | Patch #1180695: Implement nanosecond stat resolution on FreeBSD, | Martin v. Löwis | 2005-08-09 | 1 | -0/+47 |
| | | | | add st_gen, st_birthtime. | ||||
* | PEP 342 implementation. Per Guido's comments, the generator throw() | Phillip J. Eby | 2005-08-02 | 2 | -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 Chang | 2005-07-28 | 1 | -1/+1 |
| | |||||
* | This is barry-scott's patch: | Michael W. Hudson | 2005-07-27 | 1 | -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 typos | Georg Brandl | 2005-07-22 | 1 | -1/+1 |
| | |||||
* | Fix bug | Michael W. Hudson | 2005-07-05 | 1 | -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. Hudson | 2005-06-20 | 1 | -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 Schemenauer | 2005-06-18 | 1 | -0/+1 |
| | | | | Backport candidate. | ||||
* | remove c++ style comment | Gregory P. Smith | 2005-06-16 | 1 | -1/+1 |
| | |||||
* | Fix check for error condition | Andrew M. Kuchling | 2005-06-15 | 1 | -1/+1 |
| | |||||
* | Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. Why | Skip Montanaro | 2005-06-15 | 1 | -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. Hudson | 2005-06-15 | 1 | -172/+165 |
| | | | | | | Slightly de-Fultonize two bits of C layout. No semantic changes. | ||||
* | Add a missing incref. | Michael W. Hudson | 2005-06-15 | 1 | -0/+1 |
| | | | | Backport candidate. |