]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Tim Peters [Tue, 3 Sep 2013 16:39:06 +0000 (11:39 -0500)]
Null merge of 2.6 into 2.7.
Changeset
25683ceaf341 left a new head on 2.6.
Eli Bendersky [Tue, 3 Sep 2013 13:41:58 +0000 (06:41 -0700)]
Close #18912: Fix indentation in docstring
Contributed by Jeroen Van Goey
Christian Heimes [Tue, 3 Sep 2013 12:47:00 +0000 (14:47 +0200)]
Python 2.6's ssl module has neither OPENSSL_VERSION_INFO nor _OPENSSL_API_VERSION
Benjamin Peterson [Sun, 1 Sep 2013 23:06:35 +0000 (19:06 -0400)]
document that various functions that parse from source will interpret things as latin-1 (closes #18870)
Terry Jan Reedy [Sun, 1 Sep 2013 01:14:00 +0000 (21:14 -0400)]
Silence deprecation warning in test_mmap for ValueError.message.
Replacement is from 3.3, with 'p' added to make '...Regexp'.
Terry Jan Reedy [Sun, 1 Sep 2013 00:37:21 +0000 (20:37 -0400)]
Silence deprecation warning in test_unittest for 'None > 1'.
This is the same change that was made in 3.x when this became an error.
Terry Jan Reedy [Sat, 31 Aug 2013 20:27:08 +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)]
Issue #18851: Avoid a double close of subprocess pipes when the child process fails starting.
Charles-François Natali [Fri, 30 Aug 2013 21:30:50 +0000 (23:30 +0200)]
Issue #18418: After fork(), reinit all threads states, not only active ones.
Patch by A. Jesse Jiryu Davis.
Charles-François Natali [Thu, 29 Aug 2013 17:26:12 +0000 (19:26 +0200)]
Merge.
Charles-François Natali [Thu, 29 Aug 2013 17:00:30 +0000 (19:00 +0200)]
Issue #18643: Fix some test_socket failures due to large default socket buffer
sizes.
Serhiy Storchaka [Thu, 29 Aug 2013 08:44:44 +0000 (11:44 +0300)]
Issue #18743: Improved cross-references to the StringIO class.
Serhiy Storchaka [Thu, 29 Aug 2013 07:34:23 +0000 (10:34 +0300)]
Issue #18760: Improved cross-references in the xml package.
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.
Ezio Melotti [Sun, 25 Aug 2013 22:31:30 +0000 (01:31 +0300)]
#18803: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sun, 25 Aug 2013 20:56:43 +0000 (23:56 +0300)]
#18833: add a test for test_telnetlib. Patch by Alex Volkov.
Tim Peters [Sun, 25 Aug 2013 16:53:55 +0000 (11:53 -0500)]
Null merge of 2.6 into 2.7.
Changeset
50803d881a92 left a new dangling head on 2.6, and the
change was applied separately to 2.7 in changeset
1cd24ea5abeb .
Charles-François Natali [Sun, 25 Aug 2013 16:27:34 +0000 (18:27 +0200)]
Merge.
Charles-François Natali [Sun, 25 Aug 2013 16:22:49 +0000 (18:22 +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:33 +0000 (19:12 +0300)]
Issue #18817: Fix a resource warning in Lib/aifc.py demo.
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:44:27 +0000 (14:44 +0200)]
Fix test
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
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.
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
Serhiy Storchaka [Fri, 23 Aug 2013 21:28:38 +0000 (00:28 +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.
Barry Warsaw [Fri, 23 Aug 2013 17:38:02 +0000 (13:38 -0400)]
null merge with 2.6
Barry Warsaw [Fri, 23 Aug 2013 17:26:49 +0000 (13:26 -0400)]
- Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes
inside subjectAltName correctly. Formerly the module has used OpenSSL's
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for `rfc822Name` (email), `dNSName` (DNS) and
`uniformResourceIdentifier` (URI).
Tim Peters [Thu, 22 Aug 2013 23:32:53 +0000 (18:32 -0500)]
Add line explaining the "%sort" test.
Serhiy Storchaka [Thu, 22 Aug 2013 14:53:16 +0000 (17:53 +0300)]
Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.
Serhiy Storchaka [Thu, 22 Aug 2013 14:42:45 +0000 (17:42 +0300)]
Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_Obj
argument.
This is needed for support Tcl/Tk 8.6.
Christian Heimes [Thu, 22 Aug 2013 11:22:37 +0000 (13:22 +0200)]
Issue #18747: Update Misc/NEWS to reflect the latest changeset.
Christian Heimes [Thu, 22 Aug 2013 11:19:48 +0000 (13:19 +0200)]
Issue #18747: Use a parent atfork handler instead of a child atfork handler.
fork() is suppose to be async-signal safe but the handler calls unsafe functions. A parent handler mitigates the issue.
Antoine Pitrou [Wed, 21 Aug 2013 22:39:46 +0000 (00:39 +0200)]
Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as possible, since "localhost" goes through a DNS lookup under recent Windows versions.
Serhiy Storchaka [Wed, 21 Aug 2013 18:46:12 +0000 (21:46 +0300)]
Issue #17119: Fixed integer overflows when processing large Unicode strings
and tuples in the tkinter module.
Charles-François Natali [Wed, 21 Aug 2013 16:25:00 +0000 (18:25 +0200)]
Issue #15233: Python now guarantees that callables registered with the atexit
module will be called in a deterministic order.
Christian Heimes [Wed, 21 Aug 2013 11:43:20 +0000 (13:43 +0200)]
merge
Christian Heimes [Wed, 21 Aug 2013 11:26:05 +0000 (13:26 +0200)]
Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
Barry Warsaw [Wed, 21 Aug 2013 00:55:06 +0000 (20:55 -0400)]
Null merge.
Barry Warsaw [Wed, 21 Aug 2013 00:35:20 +0000 (20:35 -0400)]
Fix UnboundLocalError regression due to previous incorrect fix for
issue 16248.
Serhiy Storchaka [Tue, 20 Aug 2013 17:38:21 +0000 (20:38 +0300)]
Issue #8865: Concurrent invocation of select.poll.poll() now raises a
RuntimeError exception. Patch by Christian Schubert.
Serhiy Storchaka [Tue, 20 Aug 2013 17:08:53 +0000 (20:08 +0300)]
Issue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace"
error handler on 64-bit platforms. Patch by Yogesh Chaudhari.
Serhiy Storchaka [Mon, 19 Aug 2013 20:20:07 +0000 (23:20 +0300)]
Issue #2537: Remove breaked check which prevented valid regular expressions.
Patch by Meador Inge.
See also issue #18647.
Serhiy Storchaka [Mon, 19 Aug 2013 20:04:52 +0000 (23:04 +0300)]
Issue #18647: A regular expression in the doctest module rewritten so that
determined minimal width of repeated subexpression is >0 (an empty line was
not matched in any case).
Serhiy Storchaka [Mon, 19 Aug 2013 19:53:46 +0000 (22:53 +0300)]
Issue #18647: Correctly bound calculated min/max width of a subexpression.
Now max width is MAXREPEAT on 32- and 64-bit platforms when one of
subexpressions is unbounded repetition.
Christian Heimes [Mon, 19 Aug 2013 15:36:29 +0000 (17:36 +0200)]
Issue #18777: The ssl module now uses the new CRYPTO_THREADID API of
OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.
Serhiy Storchaka [Mon, 19 Aug 2013 07:03:25 +0000 (10:03 +0300)]
Issue #18761: Improved cross-references in email documentation.
Terry Jan Reedy [Mon, 19 Aug 2013 05:05:09 +0000 (01:05 -0400)]
Issue #18489: idlelib.SearchEngine - add docstrings
(original patch by Phil Webster).
Terry Jan Reedy [Sun, 18 Aug 2013 22:27:02 +0000 (18:27 -0400)]
Issue #18592: whitespace
Terry Jan Reedy [Sun, 18 Aug 2013 22:22:34 +0000 (18:22 -0400)]
Issue #18592: Add docstrings to file being tested (idlelib.SearchDialogBase.py).
Christian Heimes [Sun, 18 Aug 2013 01:11:11 +0000 (03:11 +0200)]
add missing #
Christian Heimes [Sat, 17 Aug 2013 15:25:18 +0000 (17:25 +0200)]
Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.
Christian Heimes [Sat, 17 Aug 2013 15:18:56 +0000 (17:18 +0200)]
Issue #18768: coding style nitpick. Thanks to Vajrasky Kok
Ezio Melotti [Sat, 17 Aug 2013 13:56:09 +0000 (16:56 +0300)]
#18466: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sat, 17 Aug 2013 13:07:38 +0000 (16:07 +0300)]
#18741: fix more typos. Patch by Févry Thibault.
Christian Heimes [Sat, 17 Aug 2013 13:02:55 +0000 (15:02 +0200)]
merge 2.7
Christian Heimes [Sat, 17 Aug 2013 13:01:54 +0000 (15:01 +0200)]
Issue #18178: Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc weak symbols.
Ezio Melotti [Sat, 17 Aug 2013 12:43:51 +0000 (15:43 +0300)]
#18705: fix a number of typos. Patch by Févry Thibault.
Vinay Sajip [Fri, 16 Aug 2013 23:38:48 +0000 (00:38 +0100)]
Issue #18759: Improved cross-references in logging documentation.
Christian Heimes [Fri, 16 Aug 2013 22:54:47 +0000 (00:54 +0200)]
Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes
inside subjectAltName correctly. Formerly the module has used OpenSSL's
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for rfc822Name (email), dNSName (DNS) and
uniformResourceIdentifier (URI).
Antoine Pitrou [Fri, 16 Aug 2013 18:56:12 +0000 (20:56 +0200)]
test_execvpe_with_bad_arglist shouldn't be in URandomTests
Antoine Pitrou [Fri, 16 Aug 2013 18:44:38 +0000 (20:44 +0200)]
Issue #18756: Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.
Ezio Melotti [Fri, 16 Aug 2013 18:32:25 +0000 (21:32 +0300)]
#18707: point to Doc/README.txt in the README file. Patch by Madison May.
Antoine Pitrou [Fri, 16 Aug 2013 17:19:40 +0000 (19:19 +0200)]
Issue #16190: fix random module recommendation to use ssl.RAND_bytes().
Terry Jan Reedy [Thu, 15 Aug 2013 20:19:07 +0000 (16:19 -0400)]
Issue #18732: Remove unused* parameter output_sep from IdleHistory.History
and paired splits and joins that do nothing when output_sep is its default \n.
*It in unused in that the class in only instantiated once, with the default.
Make a few other changes in .fetch and its test.
Terry Jan Reedy [Thu, 15 Aug 2013 19:07:58 +0000 (15:07 -0400)]
Issue #18226: Fix ImportError and subsequent TypeError in 2.7 backport.
Running py27\PCbuild> python_d -m test.regrtest -ugui test_idle
ignores the exceptions and gives no indication of a problem (fixed in 3.3).
Terry Jan Reedy [Thu, 15 Aug 2013 18:31:55 +0000 (14:31 -0400)]
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
David Wolever [Wed, 14 Aug 2013 18:33:54 +0000 (14:33 -0400)]
Issue #18718: datetime documentation contradictory on leap second support
Raymond Hettinger [Wed, 14 Aug 2013 01:34:49 +0000 (18:34 -0700)]
Issue 18719: Remove a false optimization
Remove an unused early-out test from the critical path for
dict and set lookups.
When the strings already have matching lengths and hashes,
there is no additional information gained by checking the first
characters (the probability of a mismatch is already known to
be less than 1 in 2**64).
Terry Jan Reedy [Tue, 13 Aug 2013 23:51:04 +0000 (19:51 -0400)]
Issue #18425: Add docstrings to IdleHistory.py. Remove redundant 'history_'
prefix from two attributes and two methods of History class.
Antoine Pitrou [Tue, 13 Aug 2013 18:23:56 +0000 (20:23 +0200)]
Add NEWS entry for
0f17aed78168 (issue #16248)
Ezio Melotti [Tue, 13 Aug 2013 09:53:40 +0000 (12:53 +0300)]
#18687: remove obsolete comment. Patch by Févry Thibault.
Ned Deily [Tue, 13 Aug 2013 08:11:56 +0000 (01:11 -0700)]
Issue 18724: Fix typo noticed by Susan Tan.
Senthil Kumaran [Tue, 13 Aug 2013 05:24:43 +0000 (22:24 -0700)]
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
Felix Crux [Mon, 12 Aug 2013 21:39:51 +0000 (17:39 -0400)]
Documenting that json.load may raise a ValueError.
Issue #18680: JSONDecoder should document that it raises a ValueError
for malformed data
David Wolever [Mon, 12 Aug 2013 19:50:10 +0000 (15:50 -0400)]
Issue #17701: Improving strftime documentation
Ezio Melotti [Sun, 11 Aug 2013 10:04:50 +0000 (13:04 +0300)]
#18663: document that assertAlmostEqual also works when the values are equal and add tests.
Terry Jan Reedy [Sat, 10 Aug 2013 22:17:01 +0000 (18:17 -0400)]
Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo
Terry Jan Reedy [Sat, 10 Aug 2013 21:46:16 +0000 (17:46 -0400)]
Issue #18429: Add user-oriented News entry about Format / Format Paragraph
now working with comment block selections. Patch was part of 18226 patch.
Terry Jan Reedy [Sat, 10 Aug 2013 20:56:20 +0000 (16:56 -0400)]
Issue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py.
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
Ezio Melotti [Thu, 8 Aug 2013 17:09:19 +0000 (20:09 +0300)]
#18357: add tests for dictview set difference. Patch by Fraser Tweedale.
Serhiy Storchaka [Tue, 6 Aug 2013 13:56:26 +0000 (16:56 +0300)]
Issue #15866: The xmlcharrefreplace error handler no more produces two XML
entities for a non-BMP character on narrow build.
Mark Dickinson [Mon, 5 Aug 2013 16:56:17 +0000 (17:56 +0100)]
Issue #18661: typo in grp.struct_group docstring.
Raymond Hettinger [Mon, 5 Aug 2013 05:35:37 +0000 (22:35 -0700)]
Silence compiler warning for unused declaration.
Terry Jan Reedy [Sun, 4 Aug 2013 19:39:56 +0000 (15:39 -0400)]
Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'.
Eli Bendersky [Sun, 4 Aug 2013 13:09:49 +0000 (06:09 -0700)]
Issue #13612: Fix a buffer overflow in case of a multi-byte encoding.
This is a belated backport of
f7b47fb30169 ; Patch by Serhiy Storchaka.
Serhiy Storchaka [Sun, 4 Aug 2013 10:22:30 +0000 (13:22 +0300)]
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
Martin v. Löwis [Sat, 3 Aug 2013 18:24:00 +0000 (20:24 +0200)]
Issue #16067: Add description into MSI file to replace installer's temporary name.
Serhiy Storchaka [Sat, 3 Aug 2013 16:26:33 +0000 (19:26 +0300)]
Issue #17998: Fix an internal error in regular expression engine.
Charles-François Natali [Fri, 2 Aug 2013 08:01:46 +0000 (10:01 +0200)]
Issue #18325: Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
Ned Deily [Fri, 2 Aug 2013 04:19:09 +0000 (21:19 -0700)]
Issue #17557: Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
Martin v. Löwis [Thu, 1 Aug 2013 21:57:21 +0000 (23:57 +0200)]
Add 2.7.6 uuids.
Martin v. Löwis [Thu, 1 Aug 2013 21:55:26 +0000 (23:55 +0200)]
Add 2.7.5 uuid
Antoine Pitrou [Thu, 1 Aug 2013 20:25:12 +0000 (22:25 +0200)]
Fix tkinter regression introduced by the security fix in #16248.
Antoine Pitrou [Thu, 1 Aug 2013 19:17:24 +0000 (21:17 +0200)]
Issue #18589: fix hyperlinking of type slots (tp_*)
Ned Deily [Wed, 31 Jul 2013 07:14:20 +0000 (00:14 -0700)]
Issue #18071: Extension module builds on OS X could fail with TypeError
if Xcode command line tools were not installed.
Terry Jan Reedy [Tue, 30 Jul 2013 05:37:36 +0000 (01:37 -0400)]
Make all idle test case names end with 'Test'.