summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix _PyFaulthandler_Fini() so it can be called before _PyFaulthandler_Init()Victor Stinner2012-01-101-2/+2
|
* Issue #13757: Change os.fdlistdir() so that it duplicates the passed fileCharles-François Natali2012-01-101-2/+5
| | | | descriptor (instead of closing it).
* Issue #12760: Add a create mode to open(). Patch by David Townshend.Charles-François Natali2012-01-092-21/+45
|
* Backed out changeset 36f2e236c601: For some reason, rewinddir() doesn't work asCharles-François Natali2012-01-081-1/+2
| | | | it should on OpenIndiana.
* Issue #13739: It's simpler and more direct to call rewinddir() at theCharles-François Natali2012-01-081-2/+1
| | | | beginning.
* Issue #13739: In os.listdir(), rewind the directory stream (so that listdir()Charles-François Natali2012-01-081-0/+2
| | | | can be called again on the same open file).
* Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-8/+21
|\ | | | | | | Vilmos Nebehaj.
| * Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-8/+21
| | | | | | | | Vilmos Nebehaj.
| * Don't redefine _GNU_SOURCE if it's already defined.Ross Lagerwall2011-12-221-2/+2
| |
* | try to always use the old APIBenjamin Peterson2011-12-271-4/+5
| |
* | fix for old kernels which don't have epoll_create1Benjamin Peterson2011-12-271-3/+9
| |
* | add a flags parameter to select.epollBenjamin Peterson2011-12-271-19/+15
| |
* | Issue #8623: Fix some strict-aliasing warnings. Patch by David Watson.Charles-François Natali2011-12-232-16/+10
| |
* | Issue #13626: Add support for SSL Diffie-Hellman key exchange, through theAntoine Pitrou2011-12-221-0/+35
| | | | | | | | SSLContext.load_dh_params() method and the ssl.OP_SINGLE_DH_USE option.
* | Merge with 3.2 for #11006.Ross Lagerwall2011-12-221-6/+0
|\ \ | |/
| * Issue #11006: Don't issue low level warning in subprocess when pipe2() fails.Ross Lagerwall2011-12-221-6/+0
| |
* | Fix ssl module compilation if ECDH support was disabled in the OpenSSL build.Antoine Pitrou2011-12-211-0/+12
| | | | | | | | (followup to issue #13627)
* | Issue #13637: "a2b" functions in the binascii module now accept ASCII-only ↵Antoine Pitrou2011-12-201-6/+44
| | | | | | | | unicode strings.
* | Issue #13634: Add support for querying and disabling SSL compression.Antoine Pitrou2011-12-201-0/+24
| |
* | Issue #13627: Add support for SSL Elliptic Curve-based Diffie-HellmanAntoine Pitrou2011-12-191-0/+30
| | | | | | | | | | key exchange, through the SSLContext.set_ecdh_curve() method and the ssl.OP_SINGLE_ECDH_USE option.
* | Issue #13635: Add ssl.OP_CIPHER_SERVER_PREFERENCE, so that SSL serversAntoine Pitrou2011-12-191-0/+2
| | | | | | | | | | choose the cipher based on their own preferences, rather than on the client's.
* | (Merge 3.2) Handle correctly _Py_fopen() error: don't replace the exceptionVictor Stinner2011-12-181-3/+5
|\ \ | |/
| * Handle correctly _Py_fopen() error: don't replace the exceptionVictor Stinner2011-12-181-3/+5
| |
* | import.c now catchs _Py_stat() exceptionsVictor Stinner2011-12-181-2/+2
| | | | | | | | _Py_stat() now returns -2 if an exception was raised.
* | Issue #13530: Document os.lseek() resultVictor Stinner2011-12-171-1/+2
|\ \ | |/ | | | | Patch written by Jérémy Anger.
| * Issue #13530: Document os.lseek() resultVictor Stinner2011-12-171-1/+2
| | | | | | | | Patch written by Jérémy Anger.
* | Issue #10951: Fix compiler warnings in timemodule.c and unicodeobject.cVictor Stinner2011-12-171-0/+4
|\ \ | |/ | | | | Thanks Jérémy Anger for the fix.
| * Issue #10951: Fix a compiler warning in timemodule.cVictor Stinner2011-12-171-0/+4
| |
* | Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by MichaelCharles-François Natali2011-12-171-0/+3
| | | | | | | | Farrell.
* | Issue #13560: Locale codec functions use the classic "errors" parameter,Victor Stinner2011-12-173-6/+7
| | | | | | | | | | | | instead of surrogateescape So it would be possible to support more error handlers later.
* | Issue #13560: os.strerror() now uses the current locale encoding instead of ↵Victor Stinner2011-12-172-4/+3
| | | | | | | | UTF-8
* | Issue #13560: Add PyUnicode_EncodeLocale()Victor Stinner2011-12-171-1/+1
| | | | | | | | | | | | * Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not available * Document my last changes in Misc/NEWS
* | Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale()Victor Stinner2011-12-163-58/+18
| | | | | | | | | | | | | | | | | | | | | | * PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string from the current locale encoding * _Py_char2wchar() writes an "error code" in the size argument to indicate if the function failed because of memory allocation failure or because of a decoding error. The function doesn't write the error message directly to stderr. * Fix time.strftime() (if wcsftime() is missing): decode strftime() result from the current locale encoding, not from the filesystem encoding.
* | (Merge 3.2) main() now displays an error message before exiting if a commandVictor Stinner2011-12-161-1/+5
|\ \ | |/ | | | | line argument cannot be decoded
| * main() now displays an error message before exiting if a command line argumentVictor Stinner2011-12-161-1/+5
| | | | | | | | cannot be decoded
* | Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystemAntoine Pitrou2011-12-161-6/+19
| | | | | | | | | | encoding and the surrogateescape error handler, rather than UTF-8. Patch by David Watson.
* | Issue #10350: Read and save errno before calling a function which might ↵Antoine Pitrou2011-12-165-11/+27
|\ \ | |/ | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth.
| * Issue #10350: Read and save errno before calling a function which might ↵Antoine Pitrou2011-12-165-11/+27
| | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth.
| * Issue #4028: Make multiprocessing build on SunOS.Charles-François Natali2011-12-141-1/+1
| |
* | Issue #6695: Full garbage collection runs now clear the freelist of set objects.Antoine Pitrou2011-12-161-0/+1
| | | | | | | | Initial patch by Matthias Troffaes.
* | Merge 3.2Alexandre Vassalotti2011-12-131-13/+45
|\ \ | |/
| * Issue #13505: Make pickling of bytes object compatible with Python 2.Alexandre Vassalotti2011-12-131-13/+45
| | | | | | | | Initial patch by sbt.
* | Issue #13575: there is only one class type.Florent Xicluna2011-12-121-3/+3
| |
* | alias resource.error to OSErrorBenjamin Peterson2011-12-101-11/+5
| |
* | Merge 3.2Florent Xicluna2011-12-091-1/+1
|\ \ | |/
| * Fix docstring typo.Florent Xicluna2011-12-091-1/+1
| |
* | Write tests for invalid characters (U+00110000)Victor Stinner2011-12-091-0/+18
| | | | | | | | | | | | | | | | | | Test the following functions: * codecs.raw_unicode_escape_decode() * PyUnicode_FromWideChar() * PyUnicode_FromUnicode() * "unicode_internal" and "unicode_escape" decoders
* | (Merge 3.2) Issue #5905: time.strftime() is now using the locale encoding,Victor Stinner2011-12-091-11/+4
|\ \ | |/ | | | | instead of UTF-8, if the wcsftime() function is not available.
| * Issue #5905: time.strftime() is now using the locale encoding, instead ofVictor Stinner2011-12-091-9/+4
| | | | | | | | UTF-8, if the wcsftime() function is not available.
| * Issue #13415: Test in configure if unsetenv() has a return value or not.Charles-François Natali2011-11-271-0/+6
| |