summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
| | * 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.
* | | #12017: merge with 3.2.Ezio Melotti2011-05-071-2/+13
|\ \ \ | |/ /
| * | #12017: merge with 3.1.Ezio Melotti2011-05-071-2/+13
| |\ \ | | |/
| | * #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵Ezio Melotti2011-05-071-2/+13
| | | | | | | | | | | | using the C accelerations.
* | | faulthandler: dump all threads by defaultVictor Stinner2011-05-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set the default value of all_threads arguments to True * Py_FatalError() dumps all threads, instead of only the current thread Dump only the current thread is not reliable. In some cases, Python is unable to retrieve the state of the current thread and so is unable to dump the traceback. faulthandler keeps a reference to the interpreter and so is always able to dump the traceback of all threads.
* | | faulthandler: save/restore errno in the two signal handlersVictor Stinner2011-05-071-0/+4
| | |
* | | Closes Issue 11916: Add a number of MacOSX specific definitions to the errno ↵Ronald Oussoren2011-05-071-0/+55
| | | | | | | | | | | | | | | | | | module. Patch by Pierre Carrier.
* | | Issue #8407: signal.pthread_sigmask() returns a set instead of a listVictor Stinner2011-05-041-26/+35
| | | | | | | | | | | | Update the doc. Refactor also related tests.
* | | Issue #8407: pthread_sigmask() checks immediatly if signal handlers have beenVictor Stinner2011-05-031-0/+4
| | | | | | | | | | | | | | | | | | called. The test checks that SIG_UNBLOCK calls immediatly the signal handler of the pending SIGUSR1. Improve also the tests using an exception (division by zero) instead of a flag (a function attribute).
* | | Removed unused variableAlexander Belopolsky2011-05-021-1/+0
| | |
* | | Issue #11930: Remove year >= 1000 limitation from datetime.strftime.Alexander Belopolsky2011-05-021-25/+0
| | | | | | | | | | | | Patch by Victor Stinner.
* | | mergeAlexander Belopolsky2011-05-021-14/+6
|\ \ \
| * | | cleanup signalmodule.c: use PyModule_AddIntMacro()Victor Stinner2011-05-021-14/+6
| | | |
* | | | Issue #11930: Remove deprecated time.accept2dyear.Alexander Belopolsky2011-05-021-54/+1
|/ / /
* | | (Merge 3.2) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS XVictor Stinner2011-05-011-0/+9
|\ \ \ | |/ / | | | | | | | | | to get around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
| * | (Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS XVictor Stinner2011-05-011-0/+9
| |\ \ | | |/ | | | | | | | | | to get around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
| | * Issue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around aVictor Stinner2011-05-011-0/+9
| | | | | | | | | | | | mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
* | | Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetchVictor Stinner2011-04-301-1/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | and/or change the signal mask of the calling thread. Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to ensure that the SIGALRM signal is received by the main thread. Original patch written by Jean-Paul Calderone.
* | | Issue #11223: Replace threading._info() by sys.thread_infoVictor Stinner2011-04-301-13/+0
| | |
* | | Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*Antoine Pitrou2011-04-271-0/+1
|\ \ \ | |/ / | | | | | | | | | APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali.
| * | Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*Antoine Pitrou2011-04-271-0/+1
| | | | | | | | | | | | | | | APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali.
* | | Fix compilation of _testembed.c without threadsVictor Stinner2011-04-261-0/+6
| | |
* | | Issue #11918: OS/2 and VMS are no more supported because of the lack ofVictor Stinner2011-04-262-0/+3
| | | | | | | | | | | | maintainer.
* | | Issue #10914: Add a minimal embedding test to test_capi.Antoine Pitrou2011-04-251-0/+52
|\ \ \ | |/ /
| * | Issue #10914: Add a minimal embedding test to test_capi.Antoine Pitrou2011-04-251-0/+52
| | |
* | | Issue #11856: Speed up parsing of JSON numbers.Antoine Pitrou2011-04-251-15/+31
| | |
* | | Issue #11915: threading.RLock()._release_save() raises a RuntimeError if theVictor Stinner2011-04-241-0/+6
| | | | | | | | | | | | lock was not acquired.
* | | Issue #11382: Trivial system calls, such as dup() or pipe(), needn'tAntoine Pitrou2011-04-231-14/+0
| | | | | | | | | | | | release the GIL. Patch by Charles-François Natali.
* | | Simplify _count_elements() in _collectionsVictor Stinner2011-04-201-12/+4
| | | | | | | | | | | | PyIter_Next() cannot return a PyExc_StopIteration: it clears this exception.