summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* PYTHONFSENCODING is not available on Windows or Mac OS XVictor Stinner2010-08-191-7/+9
|
* Decode NIS data to fs encoding, using the surrogate error handler.Martin v. Löwis2010-08-191-8/+18
|
* #7647: add ST_RDONLY, ST_NOSUID constants to os module.Andrew M. Kuchling2010-08-181-0/+8
| | | | (Also fix a name ordering in the ACKS file.)
* Improve error message if the command is not decodableVictor Stinner2010-08-181-0/+1
|
* Issue #8622: Add PYTHONFSENCODING environment variable to override theVictor Stinner2010-08-181-0/+1
| | | | | | filesystem encoding. initfsencoding() displays also a better error message if get_codeset() failed.
* Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch byAntoine Pitrou2010-08-181-1/+22
| | | | Matthew Ahrens.
* Restore GIL in nis_cat in case of error.Martin v. Löwis2010-08-181-0/+1
|
* Clean some 64-bit issues. Also, always spell "ssize_t" "Py_ssize_t".Antoine Pitrou2010-08-171-30/+33
|
* Fix <deque iterator>.__length_hint__() under 64-bit Windows.Antoine Pitrou2010-08-171-1/+1
|
* 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
|