summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* #6394: Add os.getppid() support for Windows.Amaury Forgeot d'Arc2010-09-071-2/+52
|
* Issue #9758: When fcntl.ioctl() was called with mutable_flag set to True,Antoine Pitrou2010-09-071-1/+1
| | | | | and the passed buffer was exactly 1024 bytes long, the buffer wouldn't be updated back after the system call. Original patch by Brian Brazil.
* More docstring updatesAmaury Forgeot d'Arc2010-09-061-4/+5
|
* Issue #5506: BytesIO objects now have a getbuffer() method exporting aAntoine Pitrou2010-09-063-0/+145
| | | | | view of their contents without duplicating them. The view is both readable and writable.
* Implement #7566 - os.path.sameopenfile for Windows.Brian Curtin2010-09-061-0/+28
| | | | | | This uses the GetFileInformationByHandle function to return a tuple of values to identify a file, then ntpath.sameopenfile compares file tuples, which is exposed as os.path.sameopenfile.
* Clean up the fix to #9324 with some of the suggestions raised on python-devBrian Curtin2010-09-061-11/+10
| | | | | | | in response to the original checkin. Move the validation from the original loop into a switch statement, and adjust a platform check in the tests.
* hashlib has two new constant attributes: algorithms_guaranteed andGregory P. Smith2010-09-061-1/+69
| | | | | | | | algorithms_avaiable that respectively list the names of hash algorithms guaranteed to exist in all Python implementations and the names of hash algorithms available in the current process. Renames the attribute new in 3.2a0 'algorithms' to 'algorithms_guaranteed'.
* Issue #9293: I/O streams now raise `io.UnsupportedOperation` when anAntoine Pitrou2010-09-053-21/+14
| | | | | unsupported operation is attempted (for example, writing to a file open only for reading).
* Fix for issue9662, patch by Łukasz Langa in issue5504.Ronald Oussoren2010-09-053-3/+9
|
* #9776: fix some spacing.Georg Brandl2010-09-051-3/+3
|
* #9747: fix copy-paste error in getresgid() doc.Georg Brandl2010-09-051-1/+1
|
* Inline cmp_lt().Raymond Hettinger2010-09-051-15/+11
|
* Issue #7451: Improve decoding performance of JSON objects, and reduceAntoine Pitrou2010-09-041-45/+82
| | | | | the memory consumption of said decoded objects when they use the same strings as keys.
* Fix typos in error messages (thanks Arfrever).Antoine Pitrou2010-09-041-2/+2
|
* Issue #7736: Release the GIL around calls to opendir() and closedir()Antoine Pitrou2010-09-041-1/+10
| | | | in the posix module. Patch by Marcin Bachry.
* Welcome to the UTF-8 world.Florent Xicluna2010-09-0317-17/+17
|
* Fix invalid bytes for UTF-8Éric Araujo2010-09-031-1/+1
|
* Issue #3805: clean up implementation of the _read method in _ssl.c.Antoine Pitrou2010-09-031-29/+30
|
* Fix Issue9753: socket.dup() does not always work right on WindowsDaniel Stutzbach2010-09-031-8/+5
|
* BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.Antoine Pitrou2010-09-022-2/+2
|
* Try to fix some buildbot failures on test_sslAntoine Pitrou2010-09-011-0/+1
|
* Issue #8990: array.fromstring() and array.tostring() get renamed toAntoine Pitrou2010-09-011-17/+77
| | | | | | frombytes() and tobytes(), respectively, to avoid confusion. Furthermore, array.frombytes(), array.extend() as well as the array.array() constructor now accept bytearray objects. Patch by Thomas Jollans.
* Issue #9693 - msg 115273: attempt to fix ssl module failures on certain ↵Giampaolo Rodolà2010-09-011-0/+3
| | | | OpenSSL versions by calling ERR_clear_error() before raising IOError
* Fix line wrappingRaymond Hettinger2010-09-011-4/+2
|
* Issue 5553: Improved Py_LOCAL_INLINE to actually inline under compilers ↵Daniel Stutzbach2010-08-311-3/+0
| | | | other than MSC
* Fix issue issue9706: provides a better error handling for various SSL operationsGiampaolo Rodolà2010-08-291-3/+20
|
* Issue #4835: make PyLong_FromSocket_t() and PyLong_AsSocket_t() privateAntoine Pitrou2010-08-281-0/+8
| | | | | to the socket module, and fix the width of socket descriptors to be correctly detected under 64-bit Windows.
* Issue #1868: Eliminate subtle timing issues in thread-local objects byAntoine Pitrou2010-08-281-43/+38
| | | | getting rid of the cached copy of thread-local attribute dictionary.
* Add file needed to make distclean.Martin v. Löwis2010-08-281-0/+430
|
* Issue #9704: Add zlib files necessary to run configureMartin v. Löwis2010-08-288-0/+2387
| | | | and make.
* Issue #1027206: getnameinfo is now restricted to numeric addresses as input.Martin v. Löwis2010-08-251-0/+1
|
* Issue 8781: On systems a signed 4-byte wchar_t and a 4-byte Py_UNICODE, use ↵Daniel Stutzbach2010-08-243-9/+8
| | | | memcpy to convert between the two (as already done when wchar_t is unsigned)
* tabbing no longer applicableBenjamin Peterson2010-08-241-1/+1
|
* Under OS X, history_get from readline returns a const char *, but the localBrett Cannon2010-08-221-3/+3
| | | | | | | variable the return value is assigned to is char *. Since the assigned-to variable is never changed, simply make that a const char * and cast all calls to get_history to const char * to silence the compiler warning (found with LLVM).
* Issue #1027206: Support IDNA in gethostbyname, gethostbyname_ex andMartin v. Löwis2010-08-221-10/+18
| | | | getaddrinfo. Patch by David Watson.
* Issue #9617: Signals received during a low-level write operation aren'tAntoine Pitrou2010-08-211-0/+10
| | | | ignored by the buffered IO layer anymore.
* 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
|