summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional.Serhiy Storchaka2013-09-134-11/+56
|
* Fix http.server's request handling case on trailing '/'.Senthil Kumaran2013-09-133-0/+11
|\ | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324
| * Fix http.server's request handling case on trailing '/'.Senthil Kumaran2013-09-133-0/+11
| | | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324
* | Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,Serhiy Storchaka2013-09-133-0/+7
|\ \ | |/ | | | | | | if all necessary functions are already found in libuuid. Patch by Evgeny Sologubov.
| * Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,Serhiy Storchaka2013-09-133-0/+7
| | | | | | | | | | if all necessary functions are already found in libuuid. Patch by Evgeny Sologubov.
| * Automated merge with file:///Users/skumaran/python/cpythonSenthil Kumaran2013-09-111-0/+2
| |\
* | | Removing the merge conflict markers.Senthil Kumaran2013-09-121-5/+0
| | | | | | | | | | | | - my previous removal and hg resolve mark had still left them and hooks did not catch it too!
* | | Automated merge with ssh://hg.python.org/cpythonSenthil Kumaran2013-09-111-0/+7
|\ \ \
| * \ \ merge from 3.3Senthil Kumaran2013-09-111-0/+7
| |\ \ \ | | | |/ | | |/| | | | | | | | | Improve the docstring of random.shuffle. Inform users not to provide int arg. Addresses issue #14927
| | * | Improve the docstring of random.shuffle. Inform users not to provide int arg.Senthil Kumaran2013-09-111-0/+2
| | | | | | | | | | | | | | | | Addresses issue #14927
* | | | Issue #18988: The "Tab" key now works when a word is already autocompleted.Serhiy Storchaka2013-09-113-7/+10
|\ \ \ \ | | |_|/ | |/| |
| * | | Issue #18988: The "Tab" key now works when a word is already autocompleted.Serhiy Storchaka2013-09-113-7/+7
| | |/ | |/|
* | | Issue #18962: Optimize the single iterator case for heapq.merge()Raymond Hettinger2013-09-112-5/+10
| |/ |/| | | | | Suggested by Wouter Bolsterlee.
* | merge from 3.3Senthil Kumaran2013-09-091-2/+3
|\ \ | |/ | | | | | | Clarify mmap.close method behavior. Addresses issue #18815 Patch contributed by Anoop Thomas Mathew.
| * Clarify mmap.close method behavior. Addresses issue #18815Senthil Kumaran2013-09-091-2/+3
| | | | | | | | Patch contributed by Anoop Thomas Mathew.
* | merge from 3.3Senthil Kumaran2013-09-091-1/+10
|\ \ | |/ | | | | | | Document Fraction's numerator and denominator properties. Addresses issue #18800
| * Document Fraction's numerator and denominator properties.Senthil Kumaran2013-09-091-1/+10
| | | | | | | | Addresses issue #18800
* | Get "stopped" back into repr(Thread) when appropriate.Tim Peters2013-09-092-0/+26
| | | | | | | | | | | | | | | | | | | | Due to recent changes, a Thread doesn't know that it's over before someone calls .join() or .is_alive(). That meant repr(Thread) continued to include "started" (and not "stopped") before one of those methods was called, even if hours passed since the thread ended. Repaired that.
* | Another stab at the thread cleanup patch.Tim Peters2013-09-091-3/+26
| | | | | | | | | | | | | | | | | | | | Antoine Pitrou found a variation that worked for him on the thread+fork tests, and added an important self._is_stopped = True to the after-fork code. I confess I don't know why things passed before. But then mixing fork with threads is insane ;-)
* | Backed out changeset 1f5a7853680cTim Peters2013-09-091-26/+5
| | | | | | | | Unixy buildbots were failing the thread + fork tests :-(
* | Minor cleanup of the new scheme for detecting thread termination.Tim Peters2013-09-091-5/+26
| | | | | | | | Documented some obscurities, and assert'ed ._stop()'s crucial precondition.
* | Merge.Larry Hastings2013-09-0931-364/+529
|\ \
| * \ Merge docstring typo fix from 3.3Mark Dickinson2013-09-091-1/+1
| |\ \ | | |/
| | * Docstring typo fix: Arithmentic -> Arithmetic.Mark Dickinson2013-09-091-1/+1
| | |
| * | mergeRaymond Hettinger2013-09-090-0/+0
| |\ \ | | |/
| | * Issue 18752: Make chain.from_iterable() more visible in the documentation.Raymond Hettinger2013-09-092-1/+3
| | |
| * | mergeRaymond Hettinger2013-09-091-2/+3
| |\ \
| | * | Close #18980: Enum doc fixes. Patch from Elazar Gershuni.Ethan Furman2013-09-081-2/+3
| | | |
| * | | mergeRaymond Hettinger2013-09-091-2/+1
| |\ \ \ | | |/ / | |/| / | | |/
| | * Issue 18301: The classmethod decorator didn't fit well with the ↵Raymond Hettinger2013-09-091-2/+1
| | | | | | | | | | | | rough-equivalent example code.
| * | Issue 18752: Make chain.from_iterable() more visible in the documentation.Raymond Hettinger2013-09-092-1/+3
| | |
| * | Issue 18984: Remove ._stopped Event from Thread internals.Tim Peters2013-09-082-167/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix for issue 18808 left us checking two things to be sure a Thread was done: an Event (._stopped) and a mutex (._tstate_lock). Clumsy & brittle. This patch removes the Event, leaving just a happy lock :-) The bulk of the patch removes two excruciating tests, which were verifying sanity of the internals of the ._stopped Event after a fork. Thanks to Antoine Pitrou for verifying that's the only real value these tests had. One consequence of moving from an Event to a mutex: waiters (threads calling Thread.join()) used to block each on their own unique mutex (internal to the ._stopped event), but now all contend on the same mutex (._tstate_lock). These approaches have different performance characteristics on different platforms. I don't think it matters in this context.
| * | Fix a typo. (closes #18953)Serhiy Storchaka2013-09-081-1/+1
| |\ \ | | |/
| | * Fix a typo. (closes #18953)Serhiy Storchaka2013-09-081-1/+1
| | |
| * | Fixed tests with Tcl/Tk <8.5 (closes #18964).Serhiy Storchaka2013-09-081-4/+18
| |\ \ | | |/
| | * Fixed tests with Tcl/Tk <8.5 (closes #18964).Serhiy Storchaka2013-09-081-4/+18
| | |
| * | Issue #18904: test_os and test_socket use unittest.skipIf() to check if fcntlVictor Stinner2013-09-082-46/+48
| | | | | | | | | | | | module is present (to record skipped tests)
| * | Issue #18808 again: fix the after-fork logic for not-yet-started or ↵Antoine Pitrou2013-09-082-10/+8
| | | | | | | | | | | | | | | | | | already-stopped threads. (AFAICT, in theory, we must reset all the locks, not just those in use)
| * | Merge.Charles-François Natali2013-09-086-23/+101
| |\ \
| | * | Issue #18904: test_socket: add inheritance tests using fcntl and FD_CLOEXECVictor Stinner2013-09-081-0/+30
| | | |
| | * | Issue #18904: Improve os.get/set_inheritable() testsVictor Stinner2013-09-081-7/+29
| | | |
| | * | Close #18957: The PYTHONFAULTHANDLER environment variable now only enables theVictor Stinner2013-09-084-16/+42
| | | | | | | | | | | | | | | | | | | | faulthandler module if the variable is non-empty. Same behaviour than other variables like PYTHONDONTWRITEBYTECODE.
| * | | Issue #18963: skip test_selectors.test_above_fd_setsize on older OS X versions.Charles-François Natali2013-09-081-0/+2
| | | |
| * | | Issue #18935: Fix test_regrtest.test_timeout when built --without-threads (theCharles-François Natali2013-09-081-0/+3
| |/ / | | | | | | | | | '--timeout' option requires faulthandler.dump_traceback_later).
| * | Issue #18963: Fix test_selectors.test_above_fd_setsize on OS X, where theCharles-François Natali2013-09-081-2/+1
| | | | | | | | | | | | default RLIMIT_NOFILE hard limit can be RLIMIT_INFINITY.
| * | Issue #18934: Use poll/select-based selectors for multiprocessing.Connection,Charles-François Natali2013-09-081-1/+9
| | | | | | | | | | | | to avoid one extra FD per Connection.
| * | Put the defines in the logical section and fix indentation.Raymond Hettinger2013-09-081-8/+8
| | |
| * | merge from 3.3Senthil Kumaran2013-09-071-1/+1
| |\ \ | | |/ | | | | | | | | | Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry. Addresses issue #18438
| | * Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry.Senthil Kumaran2013-09-071-1/+1
| | | | | | | | | | | | Addresses issue #18438
| * | Minor code beautification.Raymond Hettinger2013-09-071-6/+5
| | |