Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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.) | ||||
* | #6553: crash in cPickle.load(), when given a StringIO with incomplete data. | Amaury Forgeot d'Arc | 2009-07-23 | 1 | -0/+6 |
| | | | | Will backport to 2.6, 3.x already fixed a similar issue with issue4298. | ||||
* | Revert rev 74134, as it does not completely fixx issue #6493. | Thomas Heller | 2009-07-21 | 1 | -2/+2 |
| | |||||
* | Issue #6493: Fix a ctypes problem setting bitfields more than 31 bits | Thomas Heller | 2009-07-21 | 1 | -2/+2 |
| | | | | wide. | ||||
* | Fix GCC warning about fprintf used without a string literal and | Alexandre Vassalotti | 2009-07-17 | 1 | -3/+3 |
| | | | | without format arguments. | ||||
* | Initialize variables in PyCurses_getsyx() to avoid compiler warnings. | Alexandre Vassalotti | 2009-07-17 | 1 | -1/+2 |
| | |||||
* | #5910: fix kqueue for calls with more than one event. | Georg Brandl | 2009-07-16 | 1 | -3/+4 |
| | |||||
* | Issue #2389: Pickle array objects using a list representation for portability | Alexandre Vassalotti | 2009-07-15 | 1 | -35/+33 |
| | | | | across different machine architectures and compatibility with Python 3.x. | ||||
* | #6416: Fix compilation of the select module on Windows, as well as ↵ | Amaury Forgeot d'Arc | 2009-07-09 | 1 | -0/+2 |
| | | | | | | | | test_subprocess: PIPE_BUF is not defined on Windows, and probably has no meaning there. Anyway the subprocess module uses another way to perform non-blocking reads (with a thread) | ||||
* | Issue #1523: Remove deprecated overflow masking in struct module, and | Mark Dickinson | 2009-07-07 | 1 | -219/+32 |
| | | | | make sure that out-of-range values consistently raise struct.error. |