Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c ↵ | Eric Smith | 2009-10-28 | 1 | -1/+5 |
| | | | | as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod. | ||||
* | Fix format specifier for MSVC | Mark Dickinson | 2009-10-28 | 1 | -1/+1 |
| | |||||
* | Replace long long with PY_LONG_LONG | Mark Dickinson | 2009-10-28 | 1 | -2/+2 |
| | |||||
* | Silence gcc warnings when trying to print an off_t using "lld", on platforms | Mark Dickinson | 2009-10-27 | 2 | -3/+14 |
| | | | | where off_t has type long (e.g., 64-bit Linux). | ||||
* | Issue #7205: Fix a possible deadlock when using a BZ2File object from ↵ | Antoine Pitrou | 2009-10-27 | 1 | -1/+6 |
| | | | | several threads at once. | ||||
* | Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in ↵ | Eric Smith | 2009-10-27 | 1 | -8/+4 |
| | | | | stropmodule as part of short float repr. | ||||
* | Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in cPickle ↵ | Eric Smith | 2009-10-27 | 1 | -4/+4 |
| | | | | as part of short float repr. | ||||
* | Use correct conversion specifier and length modifier when printing an | Mark Dickinson | 2009-10-26 | 2 | -8/+14 |
| | | | | integer of type off_t. Also, don't assume that long long is available. | ||||
* | Some platforms have rl_completion_append_character but not ↵ | Antoine Pitrou | 2009-10-26 | 1 | -0/+2 |
| | | | | | | rl_completion_suppress_append. Reported by Mark D. | ||||
* | Continue removing _PyOS_double_to_string, as mentioned in issue 7117. | Eric Smith | 2009-10-26 | 1 | -8/+22 |
| | |||||
* | Fix compilation error in debug mode. | Antoine Pitrou | 2009-10-24 | 1 | -3/+0 |
| | |||||
* | Manual py3k backport: [svn r74316] Issue #5449: Fix io.BytesIO to not accept ↵ | Antoine Pitrou | 2009-10-24 | 1 | -1/+3 |
| | | | | arbitrary keywords | ||||
* | Manual py3k backport: [svn r74158] Issue #6218: Make io.BytesIO and ↵ | Antoine Pitrou | 2009-10-24 | 2 | -9/+260 |
| | | | | io.StringIO picklable. | ||||
* | Manual py3k backport: [svn r74155] Issue #6242: Fix deallocator of ↵ | Antoine Pitrou | 2009-10-24 | 2 | -6/+10 |
| | | | | io.StringIO and io.BytesIO | ||||
* | Issue #1722344: threading._shutdown() is now called in Py_Finalize(), which | Antoine Pitrou | 2009-10-20 | 1 | -29/+0 |
| | | | | | fixes the problem of some exceptions being thrown at shutdown when the interpreter is killed. Patch by Adam Olsen. | ||||
* | Issue #5833: Fix extra space character in readline completion with the | Antoine Pitrou | 2009-10-19 | 1 | -3/+4 |
| | | | | GNU readline library version 6.0. | ||||
* | Issue #7133: SSL objects now support the new buffer API. | Antoine Pitrou | 2009-10-19 | 1 | -11/+16 |
| | | | | This fixes the test_ssl failure. | ||||
* | Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in ↵ | Georg Brandl | 2009-10-17 | 1 | -3/+3 |
| | | | | test___all__. | ||||
* | Make cPickle.Unpickler.noload() handle dict subclasses. noload() is | Neil Schemenauer | 2009-10-14 | 1 | -4/+31 |
| | | | | | an obscure, undocumentated feature so no test was added. Closes issue #1101399. | ||||
* | Issue #7078: _struct.__doc__ was being ignored. Import it into struct. | Mark Dickinson | 2009-10-08 | 1 | -8/+10 |
| | | | | | Also add description of '?' struct format character. Thanks Gabriel Genellina for the patch. | ||||
* | #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric, | Amaury Forgeot d'Arc | 2009-10-06 | 2 | -131/+245 |
| | | | | | | _PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace. It now also parses the Unihan.txt for numeric values. | ||||
* | Fix compilation warning on Windows, where size_t is 32bit but file offsets ↵ | Amaury Forgeot d'Arc | 2009-10-05 | 1 | -6/+7 |
| | | | | are 64bit. | ||||
* | #6990: clear threading.local's key only after its thread state is removed: | Philip Jenvey | 2009-09-29 | 1 | -1/+1 |
| | | | | | fixes local subclasses leaving old state around after a ref cycle GC which could be recycled by new locals | ||||
* | Issue #3366: Add gamma function to math module. | Mark Dickinson | 2009-09-28 | 1 | -35/+325 |
| | | | | (lgamma, erf and erfc to follow). | ||||
* | Eliminate unnecessary get_wrapped_(u)long defines in struct module. | Mark Dickinson | 2009-09-27 | 1 | -9/+6 |
| | |||||
* | #6243: fix segfault when keyname() returns a NULL pointer. | Andrew M. Kuchling | 2009-09-25 | 1 | -4/+7 |
| | | | | Bug noted by Trundle, patched by Trundle and Jerry Chen. | ||||
* | http://bugs.python.org/issue6971 | Kristján Valur Jónsson | 2009-09-25 | 1 | -15/+39 |
| | | | | Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows | ||||
* | Fix whitespace. | Brett Cannon | 2009-09-22 | 1 | -42/+43 |
| | |||||
* | When range checking was added to time.strftime() a check was placed on tm_isdst | Brett Cannon | 2009-09-22 | 1 | -5/+7 |
| | | | | | | | | | | | to make sure it fell within [-1, 1] just in case someone implementing strftime() in libc was stupid enough to assume this. Turns out, though, some OSs (e.g. zOS) are stupid enough to use values outside of this range for time structs created by the system itself. So instead of throwing a ValueError, tm_isdst is now normalized before being passed to strftime(). Fixes issue #6823. Thanks Robert Shapiro for diagnosing the problem and contributing an initial patch. | ||||
* | Issue #6236, #6348: Fix various failures in the io module under AIX | Antoine Pitrou | 2009-09-21 | 2 | -7/+7 |
| | | | | | | | and other platforms, when using a non-gcc compiler. Patch by egreen. In addition, I made explicit the signedness of all bitfields in the IO library. | ||||
* | Merge a newer version of libffi_osx, based on the | Ronald Oussoren | 2009-09-20 | 8 | -716/+713 |
| | | | | | | version of libffi in OSX 10.6.1. This fixes issue6918 | ||||
* | Issue 6877: this patch makes it possible to link the readline extension | Ronald Oussoren | 2009-09-20 | 1 | -0/+70 |
| | | | | | | | | to the libedit emulation of the readline API on OSX 10.5 or later. This also adds a minimal testsuite for readline to check that the history manipuation functions have the same interface with both C libraries. | ||||
* | Remove unused variable and static function to fix compiler warnings. | Thomas Heller | 2009-09-19 | 1 | -11/+0 |
| | |||||
* | #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a ↵ | Georg Brandl | 2009-09-19 | 1 | -5/+8 |
| | | | | SystemError is set. Also clean up another usage of PyArg_ParseTuple. | ||||
* | Issue #4606: Passing 'None' if ctypes argtype is set to POINTER(...) | Thomas Heller | 2009-09-18 | 2 | -2/+6 |
| | | | | does now always result in NULL. | ||||
* | Issue #5042: Structure sub-subclass does now initialize correctly with | Thomas Heller | 2009-09-18 | 1 | -58/+73 |
| | | | | base class positional arguments. | ||||
* | Remove outdated include; this include was breaking OS X builds using | Mark Dickinson | 2009-09-16 | 1 | -4/+0 |
| | | | | | non-Apple gcc4.3 and gcc4.4 (because CoreFoundation/CoreFoundation.h won't compile under non-Apple gcc). | ||||
* | Fix issue #1590864, multiple threads and fork() can cause deadlocks, by | Thomas Wouters | 2009-09-16 | 1 | -3/+31 |
| | | | | | | | | | | | | | | | | | | | | | | acquiring the import lock around fork() calls. This prevents other threads from having that lock while the fork happens, and is the recommended way of dealing with such issues. There are two other locks we care about, the GIL and the Thread Local Storage lock. The GIL is obviously held when calling Python functions like os.fork(), and the TLS lock is explicitly reallocated instead, while also deleting now-orphaned TLS data. This only fixes calls to os.fork(), not extension modules or embedding programs calling C's fork() directly. Solving that requires a new set of API functions, and possibly a rewrite of the Python/thread_*.c mess. Add a warning explaining the problem to the documentation in the mean time. This also changes behaviour a little on AIX. Before, AIX (but only AIX) was getting the import lock reallocated, seemingly to avoid this very same problem. This is not the right approach, because the import lock is a re-entrant one, and reallocating would do the wrong thing when forking while holding the import lock. Will backport to 2.6, minus the tiny AIX behaviour change. | ||||
* | tabbify | Benjamin Peterson | 2009-09-09 | 1 | -1/+1 |
| | |||||
* | #6865 fix ref counting in initialization of pwd module | Benjamin Peterson | 2009-09-08 | 1 | -0/+1 |
| | |||||
* | Make ctypes compile again with older Python versions. | Thomas Heller | 2009-09-08 | 1 | -0/+49 |
| | |||||
* | #6750: TextIOWrapped could duplicate output when several threads write to it. | Amaury Forgeot d'Arc | 2009-08-29 | 1 | -4/+9 |
| | | | | this affect text files opened with io.open(), and the print() function of py3k | ||||
* | Add weakref support to the thread.lock type. | Gregory P. Smith | 2009-08-20 | 1 | -2/+7 |
| | |||||
* | Expat could crash if given the wrong kind of input by never stopping its | Brett Cannon | 2009-08-13 | 1 | -1/+1 |
| | | | | | | tokenizing step. Thanks to Ivan Krstić for the patch. | ||||
* | Fix issue1628205: Socket file objects returned by socket.socket.makefile() now | Gregory P. Smith | 2009-08-13 | 1 | -1/+14 |
| | | | | | properly handles EINTR within the read, readline, write & flush methods. The socket.sendall() method now properly handles interrupted system calls. | ||||
* | comment typo fix | Gregory P. Smith | 2009-08-12 | 1 | -1/+1 |
| | |||||
* | Issue #6629: Fix a data corruption issue in the new `io` package, which could | Antoine Pitrou | 2009-08-06 | 1 | -0/+13 |
| | | | | | | | | occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or "wb+" mode) after having buffered a certain amount of data for reading. This bug was not present in the pure Python implementation. Yes, this is a serious issue. | ||||
* | Issue #6644: Fix compile error on AIX. | Mark Dickinson | 2009-08-04 | 1 | -1/+1 |
| | |||||
* | Issue 6637: defaultdict.copy() failed with an empty factory. | Raymond Hettinger | 2009-08-04 | 1 | -1/+4 |
| | |||||
* | Issue #6561: '\d' regular expression should not match characters of | Mark Dickinson | 2009-07-28 | 1 | -1/+1 |
| | | | | | category [No]; only those of category [Nd]. (Backport of r74237 from py3k.) |