]> granicus.if.org Git - python/log
python
11 years agoExpose --bind argument for http.server, enable http.server to bind to a user
Senthil Kumaran [Sun, 15 Sep 2013 16:37:27 +0000 (09:37 -0700)]
Expose --bind argument for http.server, enable http.server to bind to a user
specified network interface.

Patch contributed by Malte Swart. Addresses issue #17764.

HG :Enter commit message.  Lines beginning with 'HG:' are removed.

11 years agoFixup reST syntax errors and streamline docs of PEP 446.
Georg Brandl [Sun, 15 Sep 2013 08:37:57 +0000 (10:37 +0200)]
Fixup reST syntax errors and streamline docs of PEP 446.

11 years agomerge
Raymond Hettinger [Sun, 15 Sep 2013 03:52:54 +0000 (20:52 -0700)]
merge

11 years agoIssue #19018: The heapq.merge() function no longer suppresses IndexError
Raymond Hettinger [Sun, 15 Sep 2013 03:51:57 +0000 (20:51 -0700)]
Issue #19018: The heapq.merge() function no longer suppresses IndexError

11 years agoClose #18929: inspect.classify_class_attrs will now search the metaclasses (last...
Ethan Furman [Sun, 15 Sep 2013 01:53:26 +0000 (18:53 -0700)]
Close #18929: inspect.classify_class_attrs will now search the metaclasses (last) to find where an attr was defined.

11 years agoAdd __reversed__ to Enum. Minor code reorg (moved __members__ to be in alpha order).
Ethan Furman [Sun, 15 Sep 2013 01:11:24 +0000 (18:11 -0700)]
Add __reversed__ to Enum.  Minor code reorg (moved __members__ to be in alpha order).

11 years ago#18856: merge with 3.3.
Ezio Melotti [Sun, 15 Sep 2013 01:05:04 +0000 (04:05 +0300)]
#18856: merge with 3.3.

11 years agoAddress Terry's comments
Antoine Pitrou [Sun, 15 Sep 2013 00:01:39 +0000 (02:01 +0200)]
Address Terry's comments

11 years agoMerge heads.
Ezio Melotti [Sun, 15 Sep 2013 00:00:42 +0000 (03:00 +0300)]
Merge heads.

11 years agoAvoid test_logging failure when run after test_unittest, by renaming a conflicting...
Antoine Pitrou [Sat, 14 Sep 2013 19:16:39 +0000 (21:16 +0200)]
Avoid test_logging failure when run after test_unittest, by renaming a conflicting logger

11 years agoIssue #18937: Add an assertLogs() context manager to unittest.TestCase to ensure...
Antoine Pitrou [Sat, 14 Sep 2013 17:45:47 +0000 (19:45 +0200)]
Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ensure that a block of code emits a message using the logging module.

11 years ago#18206: Re-fix license URL.
R David Murray [Sat, 14 Sep 2013 17:31:44 +0000 (13:31 -0400)]
#18206: Re-fix license URL.

11 years agoMerge #18206: Fix test for existence of license URL.
R David Murray [Sat, 14 Sep 2013 17:31:14 +0000 (13:31 -0400)]
Merge #18206: Fix test for existence of license URL.

This test will fail because a previous attempt to fix a merge error
in site.py was incorrect, but the test wasn't running so it wasn't
caught.  The next commit will fix the site.py bug.

11 years ago#18206: Fix test for existence of license URL.
R David Murray [Sat, 14 Sep 2013 17:28:37 +0000 (13:28 -0400)]
#18206: Fix test for existence of license URL.

It now always checks, instead of only when the LICENSE file doesn't exist.  It
is also protected by the 'network' resource, and uses a HEAD request since we
are only doing an existence check.

11 years agomerge with 3.3
Georg Brandl [Sat, 14 Sep 2013 07:11:21 +0000 (09:11 +0200)]
merge with 3.3

11 years agomerge with 3.2
Georg Brandl [Sat, 14 Sep 2013 07:11:09 +0000 (09:11 +0200)]
merge with 3.2

11 years agoAdd a NEWS entry for b9b521efeba3.
Georg Brandl [Sat, 14 Sep 2013 07:10:21 +0000 (09:10 +0200)]
Add a NEWS entry for b9b521efeba3.

11 years agoAdd NEWS entry for c18c18774e24.
Georg Brandl [Sat, 14 Sep 2013 07:09:18 +0000 (09:09 +0200)]
Add NEWS entry for c18c18774e24.

11 years agoFix tkinter regression introduced by the security fix in #16248.
Georg Brandl [Sat, 14 Sep 2013 07:08:09 +0000 (09:08 +0200)]
Fix tkinter regression introduced by the security fix in #16248.

11 years ago#18856: improve test coverage of the calendar module. Patch by Madison May.
Ezio Melotti [Sat, 14 Sep 2013 01:55:53 +0000 (04:55 +0300)]
#18856: improve test coverage of the calendar module.  Patch by Madison May.

11 years agoAdjust comment
Antoine Pitrou [Fri, 13 Sep 2013 22:40:46 +0000 (00:40 +0200)]
Adjust comment

11 years agoIssue #19013: add a __main__ to unittest.test.testmock to ease CLI invocation
Antoine Pitrou [Fri, 13 Sep 2013 22:39:15 +0000 (00:39 +0200)]
Issue #19013: add a __main__ to unittest.test.testmock to ease CLI invocation

11 years agoIssue #19013: add a __main__ to unittest.test to ease CLI invocation
Antoine Pitrou [Fri, 13 Sep 2013 22:37:18 +0000 (00:37 +0200)]
Issue #19013: add a __main__ to unittest.test to ease CLI invocation

11 years agoIssue #19013: add unittest.main() epilogs to unittest.mock's own test modules
Antoine Pitrou [Fri, 13 Sep 2013 21:54:01 +0000 (23:54 +0200)]
Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules

11 years agoIssue #19013: add unittest.main() epilogs to unittest's own test modules
Antoine Pitrou [Fri, 13 Sep 2013 21:52:46 +0000 (23:52 +0200)]
Issue #19013: add unittest.main() epilogs to unittest's own test modules

11 years ago#18981: merge with 3.3.
Ezio Melotti [Fri, 13 Sep 2013 20:54:41 +0000 (23:54 +0300)]
#18981: merge with 3.3.

11 years agoIssue #18955: clarify what is removed by importlib.util.module_for_loader.
Brett Cannon [Fri, 13 Sep 2013 20:52:19 +0000 (16:52 -0400)]
Issue #18955: clarify what is removed by importlib.util.module_for_loader.

11 years ago#18981: fix a typo in a comment (noticed by Anoop Thomas Mathew).
Ezio Melotti [Fri, 13 Sep 2013 20:52:12 +0000 (23:52 +0300)]
#18981: fix a typo in a comment (noticed by Anoop Thomas Mathew).

11 years ago#18951: merge with 3.3.
Ezio Melotti [Fri, 13 Sep 2013 19:18:02 +0000 (22:18 +0300)]
#18951: merge with 3.3.

11 years ago#18951: use consistent names in unittest docs.
Ezio Melotti [Fri, 13 Sep 2013 19:17:40 +0000 (22:17 +0300)]
#18951: use consistent names in unittest docs.

11 years agoIssue #16201: socket: Use inet_pton()/inet_addr() instead of ad-hoc parsing for
Charles-François Natali [Fri, 13 Sep 2013 17:53:08 +0000 (19:53 +0200)]
Issue #16201: socket: Use inet_pton()/inet_addr() instead of ad-hoc parsing for
numeric IP addresses.

11 years agoMerge for Issue #18997: Issue #18997: fix ElementTree crash with using pickle and...
Eli Bendersky [Fri, 13 Sep 2013 13:27:52 +0000 (06:27 -0700)]
Merge for Issue #18997: Issue #18997: fix ElementTree crash with using pickle and __getstate__.

11 years agoAdd Germán M. Bravo to Misc/ACKS
Eli Bendersky [Fri, 13 Sep 2013 13:24:59 +0000 (06:24 -0700)]
Add Germán M. Bravo to Misc/ACKS

11 years agoIssue #18997: fix ElementTree crash with using pickle and __getstate__.
Eli Bendersky [Fri, 13 Sep 2013 13:24:25 +0000 (06:24 -0700)]
Issue #18997: fix ElementTree crash with using pickle and __getstate__.

Based on report and initial patch from Germán M. Bravo

11 years agoIssue #18945: Add tests for tempfile name collision handling.
Eli Bendersky [Fri, 13 Sep 2013 12:30:00 +0000 (05:30 -0700)]
Issue #18945: Add tests for tempfile name collision handling.

Patch by Vlad Shcherbina

11 years agoIssue #18945: Add tests for tempfile name collision handling.
Eli Bendersky [Fri, 13 Sep 2013 12:28:20 +0000 (05:28 -0700)]
Issue #18945: Add tests for tempfile name collision handling.

Patch by Vlad Shcherbina

11 years agoIssue #18818: The "encodingname" part of PYTHONIOENCODING is now optional.
Serhiy Storchaka [Fri, 13 Sep 2013 08:46:24 +0000 (11:46 +0300)]
Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional.

11 years agoFix http.server's request handling case on trailing '/'.
Senthil Kumaran [Fri, 13 Sep 2013 07:22:45 +0000 (00:22 -0700)]
Fix http.server's request handling case on trailing '/'.

Patch contributed by Vajrasky Kok. Addresses Issue #17324

11 years agoFix http.server's request handling case on trailing '/'.
Senthil Kumaran [Fri, 13 Sep 2013 07:21:18 +0000 (00:21 -0700)]
Fix http.server's request handling case on trailing '/'.

Patch contributed by Vajrasky Kok. Addresses Issue #17324

11 years agoIssue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
Serhiy Storchaka [Fri, 13 Sep 2013 04:49:36 +0000 (07:49 +0300)]
Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.

11 years agoIssue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
Serhiy Storchaka [Fri, 13 Sep 2013 04:46:40 +0000 (07:46 +0300)]
Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.

11 years agoRemoving the merge conflict markers.
Senthil Kumaran [Thu, 12 Sep 2013 14:06:49 +0000 (07:06 -0700)]
Removing the merge conflict markers.

- my previous removal and hg resolve mark had still left them and hooks did not catch it too!

11 years agoAutomated merge with file:///Users/skumaran/python/cpython
Senthil Kumaran [Thu, 12 Sep 2013 05:56:30 +0000 (22:56 -0700)]
Automated merge with file:///Users/skumaran/python/cpython

11 years agoAutomated merge with ssh://hg.python.org/cpython
Senthil Kumaran [Thu, 12 Sep 2013 05:56:28 +0000 (22:56 -0700)]
Automated merge with ssh://hg.python.org/cpython

11 years agomerge from 3.3
Senthil Kumaran [Thu, 12 Sep 2013 05:55:54 +0000 (22:55 -0700)]
merge from 3.3

Improve the docstring of random.shuffle. Inform users not to provide int arg.
Addresses issue #14927

11 years agoImprove the docstring of random.shuffle. Inform users not to provide int arg.
Senthil Kumaran [Thu, 12 Sep 2013 05:54:31 +0000 (22:54 -0700)]
Improve the docstring of random.shuffle. Inform users not to provide int arg.
Addresses issue #14927

11 years agoIssue #18988: The "Tab" key now works when a word is already autocompleted.
Serhiy Storchaka [Wed, 11 Sep 2013 19:48:52 +0000 (22:48 +0300)]
Issue #18988: The "Tab" key now works when a word is already autocompleted.

11 years agoIssue #18988: The "Tab" key now works when a word is already autocompleted.
Serhiy Storchaka [Wed, 11 Sep 2013 19:46:27 +0000 (22:46 +0300)]
Issue #18988: The "Tab" key now works when a word is already autocompleted.

11 years agoIssue #18962: Optimize the single iterator case for heapq.merge()
Raymond Hettinger [Wed, 11 Sep 2013 06:15:40 +0000 (01:15 -0500)]
Issue #18962:  Optimize the single iterator case for  heapq.merge()

Suggested by Wouter Bolsterlee.

11 years agomerge from 3.3
Senthil Kumaran [Tue, 10 Sep 2013 05:40:13 +0000 (22:40 -0700)]
merge from 3.3

Clarify mmap.close method  behavior.  Addresses issue  #18815
Patch contributed by Anoop Thomas Mathew.

11 years agoClarify mmap.close method behavior. Addresses issue #18815
Senthil Kumaran [Tue, 10 Sep 2013 05:39:28 +0000 (22:39 -0700)]
Clarify mmap.close method  behavior.  Addresses issue  #18815
Patch contributed by Anoop Thomas Mathew.

11 years agomerge from 3.3
Senthil Kumaran [Tue, 10 Sep 2013 02:58:20 +0000 (19:58 -0700)]
merge from 3.3

Document Fraction's numerator and denominator properties.
Addresses issue #18800

11 years agoDocument Fraction's numerator and denominator properties.
Senthil Kumaran [Tue, 10 Sep 2013 02:57:37 +0000 (19:57 -0700)]
Document Fraction's numerator and denominator properties.
Addresses issue #18800

11 years agoGet "stopped" back into repr(Thread) when appropriate.
Tim Peters [Mon, 9 Sep 2013 23:48:24 +0000 (18:48 -0500)]
Get "stopped" back into repr(Thread) when appropriate.

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.

11 years agoAnother stab at the thread cleanup patch.
Tim Peters [Mon, 9 Sep 2013 19:41:50 +0000 (14:41 -0500)]
Another stab at the thread cleanup patch.

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 ;-)

11 years agoBacked out changeset 1f5a7853680c
Tim Peters [Mon, 9 Sep 2013 18:47:16 +0000 (13:47 -0500)]
Backed out changeset 1f5a7853680c

Unixy buildbots were failing the thread + fork tests :-(

11 years agoMinor cleanup of the new scheme for detecting thread termination.
Tim Peters [Mon, 9 Sep 2013 17:57:10 +0000 (12:57 -0500)]
Minor cleanup of the new scheme for detecting thread termination.

Documented some obscurities, and assert'ed ._stop()'s crucial precondition.

11 years agoMerge.
Larry Hastings [Mon, 9 Sep 2013 12:12:21 +0000 (21:12 +0900)]
Merge.

11 years agoPost-3.4.0a2-release fixups.
Larry Hastings [Mon, 9 Sep 2013 12:08:52 +0000 (21:08 +0900)]
Post-3.4.0a2-release fixups.

11 years agoMerge docstring typo fix from 3.3
Mark Dickinson [Mon, 9 Sep 2013 09:34:56 +0000 (10:34 +0100)]
Merge docstring typo fix from 3.3

11 years agoDocstring typo fix: Arithmentic -> Arithmetic.
Mark Dickinson [Mon, 9 Sep 2013 09:34:24 +0000 (10:34 +0100)]
Docstring typo fix: Arithmentic -> Arithmetic.

11 years agomerge
Raymond Hettinger [Mon, 9 Sep 2013 07:02:05 +0000 (02:02 -0500)]
merge

11 years agoIssue 18752: Make chain.from_iterable() more visible in the documentation.
Raymond Hettinger [Mon, 9 Sep 2013 07:01:35 +0000 (02:01 -0500)]
Issue 18752:  Make chain.from_iterable() more visible in the documentation.

11 years agomerge
Raymond Hettinger [Mon, 9 Sep 2013 06:55:31 +0000 (01:55 -0500)]
merge

11 years agomerge
Raymond Hettinger [Mon, 9 Sep 2013 06:55:07 +0000 (01:55 -0500)]
merge

11 years agoIssue 18301: The classmethod decorator didn't fit well with the rough-equivalent...
Raymond Hettinger [Mon, 9 Sep 2013 06:54:27 +0000 (01:54 -0500)]
Issue 18301:  The classmethod decorator didn't fit well with the rough-equivalent example code.

11 years agoClose #18980: Enum doc fixes. Patch from Elazar Gershuni.
Ethan Furman [Mon, 9 Sep 2013 06:48:34 +0000 (23:48 -0700)]
Close #18980: Enum doc fixes.  Patch from Elazar Gershuni.

11 years agoIssue 18752: Make chain.from_iterable() more visible in the documentation.
Raymond Hettinger [Mon, 9 Sep 2013 06:29:40 +0000 (01:29 -0500)]
Issue 18752:  Make chain.from_iterable() more visible in the documentation.

11 years agoIssue 18984: Remove ._stopped Event from Thread internals.
Tim Peters [Sun, 8 Sep 2013 23:44:40 +0000 (18:44 -0500)]
Issue 18984:  Remove ._stopped Event from Thread internals.

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.

11 years agoFix a typo. (closes #18953)
Serhiy Storchaka [Sun, 8 Sep 2013 17:43:02 +0000 (20:43 +0300)]
Fix a typo. (closes #18953)

11 years agoFix a typo. (closes #18953)
Serhiy Storchaka [Sun, 8 Sep 2013 17:42:13 +0000 (20:42 +0300)]
Fix a typo. (closes #18953)

11 years agoFixed tests with Tcl/Tk <8.5 (closes #18964).
Serhiy Storchaka [Sun, 8 Sep 2013 17:31:20 +0000 (20:31 +0300)]
Fixed tests with Tcl/Tk <8.5 (closes #18964).

11 years agoFixed tests with Tcl/Tk <8.5 (closes #18964).
Serhiy Storchaka [Sun, 8 Sep 2013 17:29:37 +0000 (20:29 +0300)]
Fixed tests with Tcl/Tk <8.5 (closes #18964).

11 years agoIssue #18904: test_os and test_socket use unittest.skipIf() to check if fcntl
Victor Stinner [Sun, 8 Sep 2013 12:14:38 +0000 (14:14 +0200)]
Issue #18904: test_os and test_socket use unittest.skipIf() to check if fcntl
module is present (to record skipped tests)

11 years agoIssue #18808 again: fix the after-fork logic for not-yet-started or already-stopped...
Antoine Pitrou [Sun, 8 Sep 2013 11:19:06 +0000 (13:19 +0200)]
Issue #18808 again: fix the after-fork logic for not-yet-started or already-stopped threads.
(AFAICT, in theory, we must reset all the locks, not just those in use)

11 years agoMerge.
Charles-François Natali [Sun, 8 Sep 2013 10:35:53 +0000 (12:35 +0200)]
Merge.

11 years agoIssue #18963: skip test_selectors.test_above_fd_setsize on older OS X versions.
Charles-François Natali [Sun, 8 Sep 2013 10:31:32 +0000 (12:31 +0200)]
Issue #18963: skip test_selectors.test_above_fd_setsize on older OS X versions.

11 years agoIssue #18935: Fix test_regrtest.test_timeout when built --without-threads (the
Charles-François Natali [Sun, 8 Sep 2013 10:27:33 +0000 (12:27 +0200)]
Issue #18935: Fix test_regrtest.test_timeout when built --without-threads (the
'--timeout' option requires faulthandler.dump_traceback_later).

11 years agoIssue #18904: test_socket: add inheritance tests using fcntl and FD_CLOEXEC
Victor Stinner [Sun, 8 Sep 2013 09:53:09 +0000 (11:53 +0200)]
Issue #18904: test_socket: add inheritance tests using fcntl and FD_CLOEXEC

11 years agoIssue #18904: Improve os.get/set_inheritable() tests
Victor Stinner [Sun, 8 Sep 2013 09:47:54 +0000 (11:47 +0200)]
Issue #18904: Improve os.get/set_inheritable() tests

11 years agoClose #18957: The PYTHONFAULTHANDLER environment variable now only enables the
Victor Stinner [Sun, 8 Sep 2013 09:36:23 +0000 (11:36 +0200)]
Close #18957: The PYTHONFAULTHANDLER environment variable now only enables the
faulthandler module if the variable is non-empty. Same behaviour than other
variables like PYTHONDONTWRITEBYTECODE.

11 years agoIssue #18963: Fix test_selectors.test_above_fd_setsize on OS X, where the
Charles-François Natali [Sun, 8 Sep 2013 09:34:42 +0000 (11:34 +0200)]
Issue #18963: Fix test_selectors.test_above_fd_setsize on OS X, where the
default RLIMIT_NOFILE hard limit can be RLIMIT_INFINITY.

11 years agoIssue #18934: Use poll/select-based selectors for multiprocessing.Connection,
Charles-François Natali [Sun, 8 Sep 2013 09:30:53 +0000 (11:30 +0200)]
Issue #18934: Use poll/select-based selectors for multiprocessing.Connection,
to avoid one extra FD per Connection.

11 years agoPut the defines in the logical section and fix indentation.
Raymond Hettinger [Sun, 8 Sep 2013 07:25:57 +0000 (00:25 -0700)]
Put the defines in the logical section and fix indentation.

11 years agomerge from 3.3
Senthil Kumaran [Sun, 8 Sep 2013 06:20:06 +0000 (23:20 -0700)]
merge from 3.3

Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
Addresses issue #18438

11 years agoFix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
Senthil Kumaran [Sun, 8 Sep 2013 06:19:29 +0000 (23:19 -0700)]
Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
Addresses issue #18438

11 years agoMinor code beautification.
Raymond Hettinger [Sun, 8 Sep 2013 05:06:35 +0000 (22:06 -0700)]
Minor code beautification.

11 years agoImprove code clarity by removing two unattractive macros.
Raymond Hettinger [Sun, 8 Sep 2013 04:01:29 +0000 (21:01 -0700)]
Improve code clarity by removing two unattractive macros.

11 years agoRemove the freelist scheme for setobjects.
Raymond Hettinger [Sun, 8 Sep 2013 03:26:50 +0000 (20:26 -0700)]
Remove the freelist scheme for setobjects.

The setobject freelist was consuming memory but not providing much value.
Even when a freelisted setobject was available, most of the setobject
fields still needed to be initialized and the small table still required
a memset().  This meant that the custom freelisting scheme for sets was
providing almost no incremental benefit over the default Python freelist
scheme used by _PyObject_Malloc() in Objects/obmalloc.c.

11 years agoMerge #18952 fix from 3.3
Nick Coghlan [Sun, 8 Sep 2013 02:49:53 +0000 (12:49 +1000)]
Merge #18952 fix from 3.3

11 years agoIssue 18808: blind attempt to repair some buildbot failures.
Tim Peters [Sun, 8 Sep 2013 02:23:03 +0000 (21:23 -0500)]
Issue 18808:  blind attempt to repair some buildbot failures.

test_is_alive_after_fork is failing on some old Linux kernels, but
passing on all newer ones.  Since virtually anything can go wrong
with locks when mixing threads with fork, replace the most likely
cause with a redundant simple data member.

11 years agoClose #18952: correctly download test support data
Nick Coghlan [Sun, 8 Sep 2013 01:40:34 +0000 (11:40 +1000)]
Close #18952: correctly download test support data

When test.support was converted to a package, it started silently
skipping the tests which needed to download support data to run.

This change refactors the affected code, and also tidies up
test.support.findfile to remove the unused *here* parameter, document
the *subdir* parameter and rename the *filename* parameter to avoid
shadowing the file builtin and be consistent with the documentation.

The unexpected skips were noticed and reported by Zachary Ware

11 years agomerge from 3.3
Senthil Kumaran [Sun, 8 Sep 2013 00:52:38 +0000 (17:52 -0700)]
merge from 3.3

Correct Profile class usage example. Addresses issue #18033.
Patch contributed by Olivier Hervieu and Dmi Baranov.

11 years agoCorrect Profile class usage example. Addresses issue #18033.
Senthil Kumaran [Sun, 8 Sep 2013 00:51:58 +0000 (17:51 -0700)]
Correct Profile class usage example. Addresses issue #18033.
Patch contributed by Olivier Hervieu and Dmi Baranov.

11 years agoSmall rearrangement to bring together the three functions for probing the hash table.
Raymond Hettinger [Sun, 8 Sep 2013 00:41:01 +0000 (17:41 -0700)]
Small rearrangement to bring together the three functions for probing the hash table.

11 years agoMove the overview comment to the top of the file.
Raymond Hettinger [Sat, 7 Sep 2013 22:05:00 +0000 (15:05 -0700)]
Move the overview comment to the top of the file.

11 years agoIssue #18808: Thread.join() now waits for the underlying thread state to be destroyed...
Antoine Pitrou [Sat, 7 Sep 2013 21:38:37 +0000 (23:38 +0200)]
Issue #18808: Thread.join() now waits for the underlying thread state to be destroyed before returning.
This prevents unpredictable aborts in Py_EndInterpreter() when some non-daemon threads are still running.

11 years agoFix the merge conflict
Senthil Kumaran [Sat, 7 Sep 2013 21:12:55 +0000 (14:12 -0700)]
Fix the merge conflict

11 years agomerge from 3.3
Senthil Kumaran [Sat, 7 Sep 2013 21:09:48 +0000 (14:09 -0700)]
merge from 3.3

Fix License URL display and add test to check for license url presence.
Fixes issue #18206 Patch contributed by  Berker Peksag and py.user

11 years agoFix License URL display and add test to check for license url presence.
Senthil Kumaran [Sat, 7 Sep 2013 20:59:17 +0000 (13:59 -0700)]
Fix License URL display and add test to check for license url presence.
Fixes issue #18206 Patch contributed by  Berker Peksag and py.user