summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()Charles-François Natali2011-05-201-31/+30
| | | | accept and return str instead of bytes arrays. Add some more tests.
* (Merge 3.2) Issue #12124: zipimport doesn't keep a reference toVictor Stinner2011-05-191-24/+23
|\ | | | | | | zlib.decompress() anymore to be able to unload the module.
| * (Merge 3.1) Issue #12124: zipimport doesn't keep a reference toVictor Stinner2011-05-191-24/+23
| |\ | | | | | | | | | zlib.decompress() anymore to be able to unload the module.
| | * Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-191-24/+23
| | | | | | | | | | | | to be able to unload the module.
| | * Issue #10756: atexit normalizes the exception before displaying it. Patch byVictor Stinner2011-05-151-0/+1
| | | | | | | | | | | | | | | | | | Andreas Stührk. Backport a fix already applied to Python 3.2+ (4a82be47a948 + 5060a92a8597).
* | | issue #1746656: Fix for OS X. configure and #include changes so that the socketGregory P. Smith2011-05-151-0/+8
| | | | | | | | | | | | module compiles again on OS X with its more annoying #include requirements.
* | | Fix _socket compilation failures on non-Linux buildbots (cf. issue #1746656).Nadeem Vawda2011-05-151-1/+4
| | |
* | | (Merge 3.2) Issue #12060: Use sig_atomic_t type and volatile keyword in theVictor Stinner2011-05-151-3/+3
|\ \ \ | |/ / | | | | | | signal module. Patch written by Charles-François Natali.
| * | (Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in theVictor Stinner2011-05-151-3/+3
| |\ \ | | |/ | | | | | | signal module. Patch written by Charles-François Natali.
| | * Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module.Victor Stinner2011-05-151-3/+3
| | | | | | | | | | | | Patch written by Charles-François Natali.
* | | Issue #1746656: Add if_nameindex, if_nametoindex, if_indextonameGregory P. Smith2011-05-151-0/+110
| | | | | | | | | | | | methods to the socket module.
* | | Merge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.Nadeem Vawda2011-05-141-14/+23
|\ \ \ | |/ / | | | | | | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result.
| * | Merge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.Nadeem Vawda2011-05-141-14/+23
| |\ \ | | |/ | | | | | | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result.
| | * Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.Nadeem Vawda2011-05-141-14/+23
| | | | | | | | | | | | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result.
| | * Issue #8650: Backport 64-bit safety fixes for compress() and decompress().Nadeem Vawda2011-05-141-10/+21
| | |
* | | Merge fix for memory leaks in zlib.compress() and .decompress().Nadeem Vawda2011-05-141-14/+11
|\ \ \ | |/ / | | | | | | Also, make sure that test_zlib tests decompress() for overly-large inputs.
| * | Fix memory leaks in zlib.compress() and .decompress().Nadeem Vawda2011-05-141-14/+11
| | | | | | | | | | | | Also, make sure that test_zlib tests decompress() for overly-large inputs.
* | | Merge: #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-7/+12
|\ \ \ | |/ / | | | | | | attribute when called without a max_length argument.
| * | Merge: #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-7/+12
| |\ \ | | |/ | | | | | | attribute when called without a max_length argument.
| | * Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-7/+12
| | | | | | | | | | | | attribute when called without a max_length argument.
* | | Issue #12062: Fix a flushing bug when doing a certain type of I/O sequenceAntoine Pitrou2011-05-121-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
| * | Issue #12062: Fix a flushing bug when doing a certain type of I/O sequenceAntoine Pitrou2011-05-121-1/+1
| |\ \ | | |/ | | | | | | | | | | | | on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
| | * Issue #12062: Fix a flushing bug when doing a certain type of I/O sequenceAntoine Pitrou2011-05-121-1/+1
| | | | | | | | | | | | | | | | | | on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
* | | Fix compile error under WindowsAntoine Pitrou2011-05-121-2/+4
| | |
* | | Issue #9971: Write an optimized implementation of BufferedReader.readinto().Antoine Pitrou2011-05-111-16/+70
| | | | | | | | | | | | Patch by John O'Connor.
* | | Issue #12058: Minor edits to comments in faulthandlerVictor Stinner2011-05-111-18/+18
| | | | | | | | | | | | Patch written by Éric Araujo.
* | | Merge from 3.2Kurt B. Kaiser2011-05-111-1/+13
|\ \ \ | |/ /
| * | Merge from 3.1Kurt B. Kaiser2011-05-111-1/+13
| |\ \ | | |/
| | * Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.Kurt B. Kaiser2011-05-111-1/+13
| | | | | | | | | | | | | | | With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to exit. Converted to valid Unicode null in PythonCmd().
* | | #12051: merge with 3.2.Ezio Melotti2011-05-101-2/+15
|\ \ \ | |/ /
| * | #12051: merge with 3.1.Ezio Melotti2011-05-101-2/+15
| |\ \ | | |/
| | * #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵Ezio Melotti2011-05-101-2/+15
| | | | | | | | | | | | using the C accelerations.
* | | Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-4/+7
|\ \ \ | |/ / | | | | | | order to accept exactly one connection. Patch by Daniel Evers.
| * | Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-4/+7
| | | | | | | | | | | | order to accept exactly one connection. Patch by Daniel Evers.
| * | (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-091-1/+7
| |\ \ | | |/ | | | | | | | | | | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
| | * Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-091-1/+7
| | | | | | | | | | | | | | | | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
* | | Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError,Victor Stinner2011-05-101-2/+2
| | | | | | | | | | | | instead of a RuntimeError: OSError has an errno attribute.
* | | faulthandler: improve_sigabrt() on Visual StudioVictor Stinner2011-05-091-7/+5
| | | | | | | | | | | | | | | Use _set_abort_behavior() + abort() instead of raise(SIGABRT) which may write an error message and/or open a popup asking to report the fault.
* | | Remove dead code from _multiprocessingAntoine Pitrou2011-05-093-58/+3
| | |
* | | Issue #11743: Rewrite multiprocessing connection classes in pure Python.Antoine Pitrou2011-05-096-923/+168
| | |
* | | Issue #8407: Use an explicit cast for FreeBSDVictor Stinner2011-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | pthread_t is a pointer, not an integer, on FreeBSD. It should fix the following gcc warning: passing argument 1 of ‘pthread_kill’ makes pointer from integer without a cast
* | | faulthandler: make quiet a gcc 4.6 warning (z was unused)Victor Stinner2011-05-091-2/+5
| | |
* | | Issue #11888: Use system log2() when availableVictor Stinner2011-05-091-0/+4
| | | | | | | | | | | | | | | I expect the system libc to use more accurate functions than Python. The GNU libc uses for example FYL2X and FYL2XP1 hardware instructions on Intel FPU.
* | | #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Gerhard Haering2011-05-092-10/+20
| | | | | | | | | | | | ProgrammingError now.
* | | Grammatical fix for a comment for log2, to avoid referring to an *algorithm* ↵Mark Dickinson2011-05-091-1/+3
| | | | | | | | | | | | as monotonic.
* | | Fix cut-and-paste typo in comment: log10 -> log2.Mark Dickinson2011-05-091-1/+1
| | |
* | | Issue #11888: Add log2 function to math module. Patch written by MarkVictor Stinner2011-05-081-0/+59
| | | | | | | | | | | | Dickinson.
* | | Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-081-1/+7
| | | | | | | | | | | | | | | | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
* | | Issue #8407: The signal handler writes the signal number as a single byteVictor Stinner2011-05-081-2/+5
| | | | | | | | | | | | | | | instead of a nul byte into the wakeup file descriptor. So it is possible to wait more than one signal and know which signals were raised.
* | | Issue #8407: Add pthread_kill(), sigpending() and sigwait() functions to theVictor Stinner2011-05-071-2/+100
| | | | | | | | | | | | signal module.