Serhiy Storchaka [Fri, 20 Sep 2013 20:21:44 +0000 (23:21 +0300)]
Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command call
returned empty string.
Serhiy Storchaka [Fri, 20 Sep 2013 18:24:39 +0000 (21:24 +0300)]
Issue #18050: Fixed an incompatibility of the re module with Python 3.3.0
binaries.
Senthil Kumaran [Thu, 19 Sep 2013 07:08:56 +0000 (00:08 -0700)]
Correcting the mistake in
14ba90816930
Addresses Issue #18553: isatty is not Unix only.
R David Murray [Wed, 18 Sep 2013 12:54:00 +0000 (08:54 -0400)]
Merge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:53:26 +0000 (08:53 -0400)]
Merge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:52:38 +0000 (08:52 -0400)]
#14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:34:40 +0000 (08:34 -0400)]
#19037: adjust file times *before* moving maildir files into place.
This avoids race conditions when other programs are monitoring
the maildir directory. Patch by janzert.
R David Murray [Wed, 18 Sep 2013 11:34:13 +0000 (07:34 -0400)]
Merge heads.
doko@ubuntu.com [Wed, 18 Sep 2013 10:12:28 +0000 (12:12 +0200)]
- followup for issue #18997, make _clear_joined_ptr static.
R David Murray [Wed, 18 Sep 2013 01:04:50 +0000 (21:04 -0400)]
Merge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 00:32:54 +0000 (20:32 -0400)]
Merge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 00:30:02 +0000 (20:30 -0400)]
#14984: On POSIX, enforce permissions when reading default .netrc.
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
Serhiy Storchaka [Mon, 16 Sep 2013 20:51:56 +0000 (23:51 +0300)]
Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
now detect Python source code encoding only in comment lines.
Serhiy Storchaka [Mon, 16 Sep 2013 08:01:31 +0000 (11:01 +0300)]
Issue #19029: Change non-existing since 3.0 StringType to str.
Tim Peters [Sun, 15 Sep 2013 20:39:06 +0000 (15:39 -0500)]
Null merge of 3.2 into 3.3.
Tim Peters [Sun, 15 Sep 2013 20:37:25 +0000 (15:37 -0500)]
Null merge of 3.1 into 3.2
Changeset
c39f42f46a05 left a dangling head on 3.1.
Raymond Hettinger [Sun, 15 Sep 2013 03:51:57 +0000 (20:51 -0700)]
Issue #19018: The heapq.merge() function no longer suppresses IndexError
Ezio Melotti [Sun, 15 Sep 2013 00:00:42 +0000 (03:00 +0300)]
Merge heads.
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.
Georg Brandl [Sat, 14 Sep 2013 07:11:09 +0000 (09:11 +0200)]
merge with 3.2
Georg Brandl [Sat, 14 Sep 2013 07:10:21 +0000 (09:10 +0200)]
Add a NEWS entry for
b9b521efeba3.
Georg Brandl [Sat, 14 Sep 2013 07:09:18 +0000 (09:09 +0200)]
Add NEWS entry for
c18c18774e24.
Georg Brandl [Sat, 14 Sep 2013 07:08:09 +0000 (09:08 +0200)]
Fix 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.
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.
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).
Ezio Melotti [Fri, 13 Sep 2013 19:17:40 +0000 (22:17 +0300)]
#18951: use consistent names in unittest docs.
Eli Bendersky [Fri, 13 Sep 2013 13:24:59 +0000 (06:24 -0700)]
Add Germán M. Bravo to Misc/ACKS
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
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
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
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.
Senthil Kumaran [Thu, 12 Sep 2013 05:56:30 +0000 (22:56 -0700)]
Automated merge with file:///Users/skumaran/python/cpython
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
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.
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.
Senthil Kumaran [Tue, 10 Sep 2013 02:57:37 +0000 (19:57 -0700)]
Document Fraction's numerator and denominator properties.
Addresses issue #18800
Mark Dickinson [Mon, 9 Sep 2013 09:34:24 +0000 (10:34 +0100)]
Docstring typo fix: Arithmentic -> Arithmetic.
Raymond Hettinger [Mon, 9 Sep 2013 07:01:35 +0000 (02:01 -0500)]
Issue 18752: Make chain.from_iterable() more visible in the documentation.
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.
Serhiy Storchaka [Sun, 8 Sep 2013 17:42:13 +0000 (20:42 +0300)]
Fix a typo. (closes #18953)
Serhiy Storchaka [Sun, 8 Sep 2013 17:29:37 +0000 (20:29 +0300)]
Fixed tests with Tcl/Tk <8.5 (closes #18964).
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
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
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.
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
Senthil Kumaran [Sat, 7 Sep 2013 18:28:58 +0000 (11:28 -0700)]
Removing the mention of os.isatty mention as Unix only
Correct the wrong documentation.
Ezio Melotti [Sat, 7 Sep 2013 12:23:36 +0000 (15:23 +0300)]
#18895: split a sentence in unittest docs.
Ezio Melotti [Sat, 7 Sep 2013 12:19:30 +0000 (15:19 +0300)]
#18894: remove mention of deprecated fail* methods.
Tim Peters [Fri, 6 Sep 2013 20:41:30 +0000 (15:41 -0500)]
Issue 18944: fix a 1-character typo in test_set.py.
The error caused test_inline_methods() to test much less than intended.
Caught (& fixed) by Armin Rigo.
Eli Bendersky [Fri, 6 Sep 2013 13:11:19 +0000 (06:11 -0700)]
Issue #18849: Fixed a Windows-specific tempfile bug where collision with an
existing directory caused mkstemp and related APIs to fail instead of
retrying. Report and fix by Vlad Shcherbina.
Vinay Sajip [Fri, 6 Sep 2013 09:25:31 +0000 (10:25 +0100)]
Issue #18941: Respected delay when doing rollover.
Vinay Sajip [Fri, 6 Sep 2013 09:10:22 +0000 (10:10 +0100)]
Issue #18940: Handled low-volume logging when delay is True.
Vinay Sajip [Fri, 6 Sep 2013 08:50:43 +0000 (09:50 +0100)]
Issue #18939: Updated venv documentation with some clarifications.
Senthil Kumaran [Fri, 6 Sep 2013 04:42:38 +0000 (21:42 -0700)]
Improve urlencode docstring. Patch by Brian Brazil.
Tim Peters [Fri, 6 Sep 2013 03:57:04 +0000 (22:57 -0500)]
Issue #18942: sys._debugmallocstats() output was damaged on Windows.
_PyDebugAllocatorStats() called PyOS_snprintf() with a %zd format
code, but MS doesn't support that code. Interpolated
PY_FORMAT_SIZE_T in place of the "z".
Vinay Sajip [Thu, 5 Sep 2013 22:01:07 +0000 (23:01 +0100)]
Issue #18933: Added links to source code.
Serhiy Storchaka [Thu, 5 Sep 2013 15:01:15 +0000 (18:01 +0300)]
Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output in
the _sre moduel.
Serhiy Storchaka [Thu, 5 Sep 2013 14:31:37 +0000 (17:31 +0300)]
Merge heads
Serhiy Storchaka [Thu, 5 Sep 2013 14:14:32 +0000 (17:14 +0300)]
Issue #18830: inspect.getclasstree() no more produces duplicated entries even
when input list contains duplicates.
Christian Heimes [Thu, 5 Sep 2013 14:04:35 +0000 (16:04 +0200)]
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
Victor Stinner [Wed, 4 Sep 2013 22:22:24 +0000 (00:22 +0200)]
Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
Antoine Pitrou [Wed, 4 Sep 2013 18:46:33 +0000 (20:46 +0200)]
Issue #18876: The FileIO.mode attribute now better reflects the actual mode under which the file was opened.
Patch by Erik Bray.
Meador Inge [Wed, 4 Sep 2013 00:43:49 +0000 (19:43 -0500)]
Issue #16826: Revert fix while Windows issues are being worked out.
Meador Inge [Tue, 3 Sep 2013 21:37:26 +0000 (16:37 -0500)]
Issue #16826: Don't check for PYTHONCASEOK when using -E.
This commit fixes a regression that sneaked into Python 3.3 where importlib
was not respecting -E when checking for the PYTHONCASEOK environment variable.
Tim Peters [Tue, 3 Sep 2013 16:49:31 +0000 (11:49 -0500)]
cwr_next(): move invariants out of loops.
This simplifies and clarifies the code, and gives a small speedup.
Eli Bendersky [Tue, 3 Sep 2013 13:37:19 +0000 (06:37 -0700)]
Issue #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
Terry Jan Reedy [Sun, 1 Sep 2013 23:03:41 +0000 (19:03 -0400)]
Remove obsolete .hgeol entry pointing to file moved elsewhere.
This kine was already replaced by
Lib/test/test_email/data/msg_26.txt = BIN
which is just below the last line in the patch context.
Tim Peters [Sun, 1 Sep 2013 20:56:22 +0000 (15:56 -0500)]
Fix issue 18889: test_sax: multiple failures on Windows desktop.
"The fix" is to tell Mercurial that the test files are binary.
Windows developers: to get the correct line endings in your checkout,
delete Lib\test\xmltestdata, and then "hg revert" that directory.
Why the Windows buildbots didn't fail test_sax remains a mystery :-(
Antoine Pitrou [Sun, 1 Sep 2013 17:51:49 +0000 (19:51 +0200)]
test_threading isn't rudimentary anymore
Terry Jan Reedy [Sat, 31 Aug 2013 21:12:21 +0000 (17:12 -0400)]
Issue #12037: Fix test_email for desktop Windows.
Terry Jan Reedy [Sat, 31 Aug 2013 20:27:16 +0000 (16:27 -0400)]
Issue #18489: Add complete, gui-free tests for idlelib.SearchEngine.
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
Antoine Pitrou [Fri, 30 Aug 2013 21:38:13 +0000 (23:38 +0200)]
Forward port new tests from Issue #18851.
Charles-François Natali [Fri, 30 Aug 2013 21:32:53 +0000 (23:32 +0200)]
Issue #18418: After fork(), reinit all threads states, not only active ones.
Patch by A. Jesse Jiryu Davis.
Gregory P. Smith [Thu, 29 Aug 2013 20:35:27 +0000 (13:35 -0700)]
Fixes issue #15507: test_subprocess's test_send_signal could fail if the test
runner were run in an environment where the process inherited an ignore
setting for SIGINT. Restore the SIGINT handler to the desired
KeyboardInterrupt raising one during that test.
Charles-François Natali [Thu, 29 Aug 2013 17:26:37 +0000 (19:26 +0200)]
Merge.
Charles-François Natali [Thu, 29 Aug 2013 17:01:40 +0000 (19:01 +0200)]
Issue #18643: Fix some test_socket failures due to large default socket buffer
sizes.
Serhiy Storchaka [Thu, 29 Aug 2013 08:35:43 +0000 (11:35 +0300)]
Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
Serhiy Storchaka [Thu, 29 Aug 2013 07:28:44 +0000 (10:28 +0300)]
Issue #18760: Improved cross-references in the xml package.
Victor Stinner [Wed, 28 Aug 2013 10:26:28 +0000 (12:26 +0200)]
Fix @requires_freebsd_version and @requires_linux_version decorators of
test.support, run the test if the platform matchs!
Victor Stinner [Tue, 27 Aug 2013 23:44:42 +0000 (01:44 +0200)]
Fix compilation of the _sqlite module if threads are disabled
Serhiy Storchaka [Tue, 27 Aug 2013 16:40:23 +0000 (19:40 +0300)]
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
Ezio Melotti [Mon, 26 Aug 2013 11:00:39 +0000 (14:00 +0300)]
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.
Eli Bendersky [Mon, 26 Aug 2013 02:05:55 +0000 (19:05 -0700)]
Clarify pyexpat documentation in StartElementHandler
Ezio Melotti [Sun, 25 Aug 2013 22:32:56 +0000 (01:32 +0300)]
#18803: fix more typos. Patch by Févry Thibault.
Eli Bendersky [Sun, 25 Aug 2013 22:27:36 +0000 (15:27 -0700)]
Update XMLParser.close documentation and fix formatting.
Using ``method`` markup because the method is on a callback object, not an
explicitly documented method. :meth: markup creates links within the current
class which is incorrect.
In addition, indent the paragraph correctly.
Ezio Melotti [Sun, 25 Aug 2013 20:56:43 +0000 (23:56 +0300)]
#18833: add a test for test_telnetlib. Patch by Alex Volkov.
Charles-François Natali [Sun, 25 Aug 2013 16:27:59 +0000 (18:27 +0200)]
Merge.
Charles-François Natali [Sun, 25 Aug 2013 16:24:45 +0000 (18:24 +0200)]
Issue #18763: subprocess: The file descriptors are now closed after calling the
preexec_fn callback, which may open file descriptors.
Serhiy Storchaka [Sun, 25 Aug 2013 16:12:56 +0000 (19:12 +0300)]
Issue #18817: Fix a resource warning in Lib/aifc.py demo.
R David Murray [Sun, 25 Aug 2013 15:09:02 +0000 (11:09 -0400)]
#16611: BaseCookie now parses 'secure' and 'httponly' flags.
Previously it generated them if they were given a value, but completely
ignored them if they were present in the string passed in to be parsed. Now
if the flag appears on a cookie, the corresponding Morsel key will reference a
True value. Other pre-existing behavior is retained in this maintenance
patch: if the source contains something like 'secure=foo', morsel['secure']
will return 'foo'. Since such a value doesn't round trip and never did (and
would be a surprising occurrence) a subsequent non-bug-fix patch may change
this behavior.
Inspired by a patch from Julien Phalip, who reviewed this one.
Christian Heimes [Sun, 25 Aug 2013 12:57:00 +0000 (14:57 +0200)]
Issue #11973: Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
Christian Heimes [Sun, 25 Aug 2013 12:19:16 +0000 (14:19 +0200)]
Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
Christian Heimes [Sun, 25 Aug 2013 12:12:41 +0000 (14:12 +0200)]
Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
Tim Peters [Sat, 24 Aug 2013 20:15:19 +0000 (15:15 -0500)]
Various clarifications based on feedback & questions over the years.
(grafted from
23181bf411a16287a0a54e910fc0f9ecd2764bf0)
Antoine Pitrou [Sat, 24 Aug 2013 18:52:27 +0000 (20:52 +0200)]
Issue #18756: make test_urandom_failure more robust by executing its code in a subprocess
Victor Stinner [Sat, 24 Aug 2013 13:52:47 +0000 (15:52 +0200)]
test_socket: cancel scheduled alarm on test failure
Serhiy Storchaka [Fri, 23 Aug 2013 21:23:38 +0000 (00:23 +0300)]
Issue #18757: Improved cross-references in the concurrent package.
Ezio Melotti [Fri, 23 Aug 2013 20:06:31 +0000 (23:06 +0300)]
#18798: fix typo in test_fcntl. Patch by Vajrasky Kok.
Victor Stinner [Fri, 23 Aug 2013 17:19:15 +0000 (19:19 +0200)]
Close #17702: On error, os.environb now removes suppress the except context
when raising a new KeyError with the original key.