summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* fix issue #8866: parameters passed to socket.getaddrinfo can now be ↵Giampaolo Rodolà2010-08-171-5/+7
| | | | specified as single keyword arguments.
* Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the ↵Nick Coghlan2010-08-171-3/+2
| | | | module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory
* Issue #9425: zipimporter_repr() uses unicodeVictor Stinner2010-08-171-12/+7
|
* Issue #9425: get_data() uses an unicode pathVictor Stinner2010-08-161-29/+39
|
* r82659 reintroduced some tab characters. Untabify again.Amaury Forgeot d'Arc2010-08-161-7/+7
|
* Issue #8983: Corrected docstrings.Alexander Belopolsky2010-08-162-4/+4
|
* Issue #665761: functools.reduce() will no longer mask exceptions otherAlexander Belopolsky2010-08-161-2/+3
| | | | | than TypeError raised by the iterator argument. Also added a test to check that zip() already behaves similarly.
* Issue #9425: read_directory() is fully unicode compliantVictor Stinner2010-08-161-21/+28
| | | | zipimport is now able to load a module with an unencodable filename.
* Fix more 64-bit warnings.Antoine Pitrou2010-08-152-15/+11
|
* Fix other warnings under 64-bit Windows.Antoine Pitrou2010-08-153-6/+7
|
* Issue #9605: posix.getlogin() decodes the username with file filesystemVictor Stinner2010-08-151-4/+3
| | | | | | encoding and surrogateescape error handler. Patch written by David Watson. Reindent also posix_getlogin(), and fix a typo in the NEWS file.
* Issue #9604: posix.initgroups() encodes the username using the fileystemVictor Stinner2010-08-151-2/+8
| | | | encoding and surrogateescape error handler. Patch written by David Watson.
* Issue #9603: posix.ttyname() and posix.ctermid() decode the terminal nameVictor Stinner2010-08-151-2/+2
| | | | | using the filesystem encoding and surrogateescape error handler. Patch written by David Watson.
* Removing the comment lines for the modules which were made to build statically.Senthil Kumaran2010-08-151-3/+0
|
* 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
|