summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9425: zipimporter_init() is fully unicode compliantVictor Stinner2010-08-141-37/+53
|
* Fix indentation in Modules/getpath.cAntoine Pitrou2010-08-141-59/+59
|
* Add comments about Windows in Modules/getpath.cAntoine Pitrou2010-08-141-2/+7
|
* Kill a gcc warning introduced by r83988Victor Stinner2010-08-141-1/+2
|
* Create _Py_wchar2char() function, reverse of _Py_char2wchar()Victor Stinner2010-08-132-11/+94
| | | | | * Use _Py_wchar2char() in _wstat() and _Py_wfopen() * Document _Py_char2wchar()
* Reimplement addbuilddir() in C inside getpath.c, so as to execute itAntoine Pitrou2010-08-132-9/+34
| | | | | at interpreter startup before importing any non-builtin modules. Should fix #9589.
* use pep 383 decoding for mknod and mkfifo #9570Benjamin Peterson2010-08-111-2/+10
| | | | Patch by David Watson.
* Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99Alexander Belopolsky2010-08-112-15/+15
| | | | | va_copy, but available on all python platforms. Untabified a few unrelated files.
* Issue #9550: a BufferedReader could issue an additional read when theAntoine Pitrou2010-08-111-1/+4
| | | | | | original read request had been satisfied, which can block indefinitely when the underlying raw IO channel is e.g. a socket. Report and original patch by Jason V. Miller.
* Issue #6915: Under Windows, os.listdir() didn't release the GlobalAntoine Pitrou2010-08-091-1/+5
| | | | Interpreter Lock around all system calls. Original patch by Ryan Kelly.
* Issue #3757: thread-local objects now support cyclic garbage collection.Antoine Pitrou2010-08-091-45/+224
| | | | | Thread-local objects involved in reference cycles will be deallocated timely by the cyclic GC, even if the underlying thread is still running.
* Followup to r83869 and issue #8524: rename socket.forget() to socket.detach()Antoine Pitrou2010-08-091-8/+8
| | | | and make it return the file descriptor.
* Fix Issue9545 - Adding _collections to static build.Senthil Kumaran2010-08-091-0/+3
|
* Issue #8524: Add a forget() method to socket objects, so as to put theAntoine Pitrou2010-08-081-0/+17
| | | | | socket into the closed state without closing the underlying file descriptor.
* Issue #477863: Print a warning at shutdown if gc.garbage is not empty.Antoine Pitrou2010-08-081-9/+39
|
* Fix issue6869: refcount problem in the _ctypes extension.Thomas Heller2010-08-081-0/+6
|
* Fix issue5504: ctypes does now work with systems where mmap can't beThomas Heller2010-08-087-18/+31
| | | | PROT_WRITE and PROT_EXEC.
* remove dead code #9292Benjamin Peterson2010-08-081-23/+11
|
* Issue #9425: Create run_file() subfunctionVictor Stinner2010-08-071-24/+36
| | | | | | * Call Py_MakePendingCalls() before converting the filename from wchar_t* to char* * Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
* Issue #9425: Create run_command() subfunctionVictor Stinner2010-08-071-15/+23
| | | | Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
* Fix #9324: Add parameter validation to signal.signal on Windows in orderBrian Curtin2010-08-061-0/+15
| | | | to prevent crashes.
* Issue #9526: Remove outdated casts to int that were preventing the array ↵Mark Dickinson2010-08-061-2/+2
| | | | module from working correctly with arrays > 2GB.
* Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C APIAlexander Belopolsky2010-08-052-85/+7
| | | | | | exposed in Python.h. This function is similar to POSIX gettimeofday(struct timeval *tp), but available on platforms without gettimeofday().
* Fix memory leak in ssl module.Mark Dickinson2010-08-031-0/+1
|
* Issue #8065: Fix another memory leak in readline module, from failure to freeMark Dickinson2010-08-031-19/+26
| | | | the result of a call to history_get_history_state.
* Issue #9450: Fix memory leaks in readline.remove/replace_history_entry.Mark Dickinson2010-08-031-12/+34
|
* #6867: epoll.register() returns None.Georg Brandl2010-08-021-3/+2
|
* #9087: update json docstrings -- unicode and long do not exist anymore.Georg Brandl2010-08-021-3/+3
|
* Issue 9445: Fix undefined symbols on VS8.0 build.Raymond Hettinger2010-08-011-0/+9
|
* Issue #8397: Raise an error when attempting to mix iteration and regularAntoine Pitrou2010-08-011-0/+28
| | | | reads on a BZ2File object, rather than returning incorrect results.
* Issue #9448: Fix a leak of OS resources (mutexes or semaphores) whenAntoine Pitrou2010-08-011-0/+2
| | | | re-initializing a buffered IO object by calling its `__init__` method.
* Fix #8105. Add validation to mmap.mmap so invalid file descriptorsBrian Curtin2010-08-011-0/+5
| | | | don't cause a crash on Windows.
* #8046: add context manager protocol support to mmap objects. Also add ↵Georg Brandl2010-08-011-1/+34
| | | | closed property.
* Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems ↵Georg Brandl2010-07-311-0/+4
| | | | to not have been merged to py3k.
* - Issue #7567: PyCurses_setupterm: Don't call `setupterm' twice.Matthias Klose2010-07-301-1/+1
|
* Import files from zlib 1.2.5.Martin v. Löwis2010-07-3030-1519/+3139
|
* Issue #9422: Fix memory leak when re-initializing a struct.Struct object.Mark Dickinson2010-07-291-0/+3
|
* Issue #8966: ctypes: Remove implicit bytes-unicode conversionVictor Stinner2010-07-283-108/+7
|
* Issue #4770: Restrict binascii module to accept only bytes (as specified).Florent Xicluna2010-07-271-4/+4
| | | | And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
* Issue #7989: Added pure python implementation of the datetime module.Alexander Belopolsky2010-07-232-4/+4
|
* Ensure that sys.prefix can reliably be foundRonald Oussoren2010-07-231-1/+1
| | | | | | | | | | | | | on OSX. This fixes a small issue that was exposed by running test_subprocess through regrtest (and hence in a subdirectory). Without this patch running python.exe from the build tree will fail when these tree conditions are true: 1) the CWD is not the root of build tree 2) python.exe is found through $PATH 3) the framework is not yet installed
* Rename some macros in the sha1 module to no longer conflict with termios.h.Brett Cannon2010-07-231-28/+28
|
* This fixes issue7900 by adding code that dealsRonald Oussoren2010-07-231-7/+42
| | | | | | | | | with the fact that getgroups(2) might return more that MAX_GROUPS on OSX. See the issue (and python-dev archives) for the gory details. Summarized: OSX behaves rather oddly and Apple says this is intentional.
* Issue #6095: Make directory argument to os.listdir optional.Martin v. Löwis2010-07-231-9/+21
| | | | Patch by Virgil Dupras.
* Apply patch from Ray Allen for issue 9296Doug Hellmann2010-07-211-1/+1
|
* Fix #9316. if/is grammar corrections.Brian Curtin2010-07-211-3/+3
|
* Issue #9277: Struct module: standard bool packing was incorrect ifMark Dickinson2010-07-181-2/+2
| | | | char is unsigned. Thanks Stefan Krah for the patch.
* Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.xAlexander Belopolsky2010-07-171-24/+14
| | | | python when they contain instances of old-style classes.
* Improve docstrings for isnan, isinf and isfinite.Mark Dickinson2010-07-111-3/+3
|
* Issue #9165: Add math.isfinite and cmath.isfinite.Mark Dickinson2010-07-112-0/+28
|