Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | C89 compliance. | Armin Rigo | 2005-09-20 | 1 | -2/+2 |
| | |||||
* | Fix problems reported by valgrind: | Neal Norwitz | 2005-09-19 | 1 | -1/+2 |
| | | | | | | | * Fix memory leak in posix.access() * Fix use of uninitialized value in forkpty() - from the manpage it isn't clear if there are conditions where master_fd are uninitialized, but it's safer to initialize | ||||
* | Patch #1213831: Fix typo in unicodedata._getcode. | Martin v. Löwis | 2005-09-18 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Backport checkin: | Walter Dörwald | 2005-08-30 | 1 | -2/+2 |
| | | | | | | SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain about illegal code points. The codec now supports PEP 293 style error handlers. (This is a variant of the patch by Nik Haldimann that detects truncated data) | ||||
* | Important typo | Georg Brandl | 2005-08-26 | 1 | -1/+1 |
| | |||||
* | SF bug #1072182: bad arg type to isspace in struct module | Raymond Hettinger | 2005-08-26 | 1 | -3/+3 |
| | |||||
* | backport 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 #1119418). | ||||
* | Backport fixes for bugs #1191043 and #1215928. | Georg Brandl | 2005-08-25 | 1 | -7/+30 |
| | |||||
* | backport bug [ 728515 ] mmap's resize method resizes the file in win32 but ↵ | Georg Brandl | 2005-08-24 | 1 | -1/+11 |
| | | | | not unix | ||||
* | [ 1243081 ] repair typos | Georg Brandl | 2005-07-22 | 1 | -1/+1 |
| | |||||
* | Fix check for error condition | Andrew M. Kuchling | 2005-06-15 | 1 | -1/+1 |
| | |||||
* | backport | Skip Montanaro | 2005-06-15 | 1 | -0/+1 |
| | |||||
* | [Bug #1200134] Fix buffer overflow by constraining size of .getstr(), ↵ | Andrew M. Kuchling | 2005-06-09 | 1 | -9/+13 |
| | | | | .instr() to size of allocated buffer | ||||
* | Backport bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly. | Georg Brandl | 2005-06-03 | 1 | -0/+4 |
| | |||||
* | Backport my recent raw_input() vs no threads build vs SIGINT argh: | Michael W. Hudson | 2005-04-07 | 1 | -0/+4 |
| | | | | | | | | In a threads-disabled build, typing Ctrl-C into a raw_input() crashed, because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS actually expanded to nothing under a no-threads build, so if you somehow NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would stay NULLed when you return to Python. Argh! | ||||
* | Backport: | Michael W. Hudson | 2005-03-31 | 1 | -26/+23 |
| | | | | | | | | | | | | | | | | | | | Fixes for [ 1166660 ] The readline module can cause python to segfault It seems to me that the code I'm rewriting here attempted to call any user-supplied hook functions using the thread state of the thread that called the hook-setting function, as opposed to that of the thread that is currently executing. This doesn't work, in general. Fix this by using the PyGILState API (It wouldn't be that hard to define a dummy version of said API when #ifndef WITH_THREAD, would it?). Also, check the conversion to integer of the return value of a hook function for errors (this problem was mentioned in the ipython bug report linked to in the above bug). | ||||
* | Backport of change to os.access to encode Unicode file names with | Martin v. Löwis | 2005-03-13 | 1 | -1/+2 |
| | | | | the file system encoding. | ||||
* | SF bug #1160187: Setup file needs entries for collections, itertools, strop | Raymond Hettinger | 2005-03-09 | 1 | -0/+4 |
| | |||||
* | SF #818006: revert addition of 'closed', 'mode', and 'name' attributes | Greg Ward | 2005-03-09 | 1 | -54/+26 |
| | | | | to oss_audio_device objects. | ||||
* | Build with --disable-unicode again. Fixes #1158607. | Martin v. Löwis | 2005-03-08 | 2 | -1/+17 |
| | |||||
* | SF #818006: add useful read-only attributes to oss_audio_device object: | Greg Ward | 2005-03-07 | 1 | -26/+54 |
| | | | | | 'closed', 'name', and 'mode' (as recommended by http://python.org/doc/current/lib/bltin-file-objects.html). | ||||
* | Patches #925152, #1118602: Avoid reading after the end of the buffer | Martin v. Löwis | 2005-03-04 | 1 | -1/+1 |
| | | | | in pyexpat.GetInputContext. | ||||
* | Patch #1093585: raise a ValueError for negative history items in | Martin v. Löwis | 2005-02-27 | 1 | -0/+10 |
| | | | | remove_history and replace_history. | ||||
* | forwardport of 2.3.5 fixes to copy.py | Alex Martelli | 2005-02-07 | 1 | -1/+175 |
| | |||||
* | [Bug #1083110] calling .flush() on decompress objects causes a segfault due ↵ | Andrew M. Kuchling | 2004-12-28 | 1 | -1/+5 |
| | | | | to an uninitialized pointer: fixes the problem and adds a test case | ||||
* | Bug #1087216: datetime module documentation missing critical detail | Raymond Hettinger | 2004-12-19 | 1 | -3/+9 |
| | |||||
* | fix unterminated comment | Andrew MacIntyre | 2004-12-18 | 1 | -1/+1 |
| | |||||
* | Backport fixes for bugs #1086555 and #1085744. | Raymond Hettinger | 2004-12-17 | 1 | -3/+4 |
| | |||||
* | fixes compilation against BerkeleyDB 3.2.9 (sf bug # 1077040) | Gregory P. Smith | 2004-12-16 | 1 | -21/+82 |
| | |||||
* | OS/2 specific fixes related to SF bug # 1003471. | Andrew MacIntyre | 2004-12-12 | 1 | -68/+67 |
| | | | | | | | Also revise a related function to minimise file handle/pipe leakage and improve reliability. Backported from -HEAD. | ||||
* | Fixing bug #1072259 of SRE into release24-maint. | Gustavo Niemeyer | 2004-12-02 | 1 | -7/+10 |
| | |||||
* | Rename a static variable "history_length" to "_history_length". | Hye-Shik Chang | 2004-11-25 | 1 | -6/+6 |
| | | | | | GNU readline exports a global variable that has such a name already and the collision makes gcc4 doesn't compile the source. | ||||
* | Correct the handling of 0-termination of PyUnicode_AsWideChar() | Marc-André Lemburg | 2004-11-22 | 1 | -1/+3 |
| | | | | | | | | and its usage in PyLocale_strcoll(). Clarify the documentation on this. Thanks to Andreas Degert for pointing this out. | ||||
* | Patch #1050475: Fix various x86_64 build issues | Martin v. Löwis | 2004-11-13 | 1 | -2/+2 |
| | | | | | | regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems. _tkinter.c: replace %.8x with %p for printing pointers. setup.py: add lib64 into the library directories. | ||||
* | SF patch 1062495: Modules/zipimport.c does not compile on solaris | Raymond Hettinger | 2004-11-10 | 1 | -5/+5 |
| | | | | | | (Contributed by Niki W. Waibel.) Simple renaming to avoid a conflict that prevented compilation on Solaris. | ||||
* | SF patch #1062279: deque pickling problems | Raymond Hettinger | 2004-11-09 | 1 | -10/+12 |
| | | | | | | | (Contributed by Dima Dorfman.) * Support pickling of dictionaries in instances of deque subclasses. * Support pickling of recursive deques. | ||||
* | Fix apparently trivial buffer overflow (SF bug 1060396). | Jeremy Hylton | 2004-11-07 | 1 | -1/+1 |
| | | | | memset() wrote one past the end of the buffer, which was likely to be unused padding or a yet-to-be-initialized local variable. This routine is already tested by test_socket. | ||||
* | Bump-up block size. | Raymond Hettinger | 2004-11-02 | 1 | -1/+1 |
| | |||||
* | Add error checks for the bz2, cStringIO and operator modules. | Walter Dörwald | 2004-11-01 | 1 | -4/+4 |
| | | | | Add function names to various PyArg_ParseTuple calls in bz2module.c. | ||||
* | gc_list_move(): Make this truly equivalent to remove+append. While | Tim Peters | 2004-11-01 | 1 | -3/+5 |
| | | | | | | nothing in gc currently cares, the original coding could screw up if, e.g., you tried to move a node to the list it's already in, and the node was already the last in its list. | ||||
* | gc list function cleanup. | Tim Peters | 2004-11-01 | 1 | -15/+31 |
| | | | | | | | | | | | Introduced gc_list_move(), which captures the common gc_list_remove() + gc_list_append() sequence. In fact, no uses of gc_list_append() remained (they were all in a gc_list_move() sequence), so commented that one out. gc_list_merge(): assert that `from` != `to`; that was an implicit precondition, now verified in a debug build. Others: added comments about their purpose. | ||||
* | handle_weakrefs(): Simplification -- there's no need to make a second | Tim Peters | 2004-10-31 | 1 | -58/+28 |
| | | | | pass over the unreachable weakrefs-with-callbacks to unreachable objects. | ||||
* | SF 1055820: weakref callback vs gc vs threads | Tim Peters | 2004-10-30 | 2 | -107/+296 |
| | | | | | | | | In cyclic gc, clear weakrefs to unreachable objects before allowing any Python code (weakref callbacks or __del__ methods) to run. This is a critical bugfix, affecting all versions of Python since weakrefs were introduced. I'll backport to 2.3. | ||||
* | some platforms still need offsetof() from structmember.h | Fred Drake | 2004-10-17 | 1 | -0/+1 |
| | |||||
* | Fix and test weak referencing of itertools.tee objects. | Raymond Hettinger | 2004-10-17 | 1 | -1/+6 |
| | |||||
* | Just remove the #include of signal.h. That it was C++-commented out | Michael W. Hudson | 2004-10-14 | 1 | -1/+0 |
| | | | | was a mistake of mine in updating patch #975056 (I think). |