]> granicus.if.org Git - python/log
python
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 agoFix markup in email.parser docs.
Ezio Melotti [Fri, 13 Sep 2013 19:55:08 +0000 (22:55 +0300)]
Fix markup in email.parser docs.

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 agoFix SimpleHTTPServer's request handling case on trailing '/'.
Senthil Kumaran [Fri, 13 Sep 2013 07:18:55 +0000 (00:18 -0700)]
Fix SimpleHTTPServer'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:52:00 +0000 (07:52 +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 agoAutomated merge with file:///Users/skumaran/python/cpython
Senthil Kumaran [Thu, 12 Sep 2013 05:56:34 +0000 (22:56 -0700)]
Automated merge with file:///Users/skumaran/python/cpython

11 years agoImprove the docstring of random.shuffle. Inform users not to provide int arg.
Senthil Kumaran [Thu, 12 Sep 2013 05:52:58 +0000 (22:52 -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:49:06 +0000 (22:49 +0300)]
Issue #18988: The "Tab" key now works when a word is already autocompleted.

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

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

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

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

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

11 years agoCloses issue 14971.
Michael Foord [Sun, 8 Sep 2013 03:34:27 +0000 (15:34 +1200)]
Closes issue 14971.
 unittest test discovery no longer gets confused when a function
has a different __name__ than its name in the TestCase class dictionary.

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

11 years agoos.isatty is not Unix only. Correct the wrong documentation.
Senthil Kumaran [Sat, 7 Sep 2013 18:27:45 +0000 (11:27 -0700)]
os.isatty is not Unix only. Correct the wrong documentation.
Addresses issue #18553

11 years ago#18895: split a sentence in unittest docs.
Ezio Melotti [Sat, 7 Sep 2013 12:23:36 +0000 (15:23 +0300)]
#18895: split a sentence in unittest docs.

11 years ago#18894: remove mention of deprecated fail* methods.
Ezio Melotti [Sat, 7 Sep 2013 12:19:30 +0000 (15:19 +0300)]
#18894: remove mention of deprecated fail* methods.

11 years agoClose #18849: Fixed a Windows-specific tempfile bug where collision with an
Eli Bendersky [Fri, 6 Sep 2013 13:17:15 +0000 (06:17 -0700)]
Close #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.

11 years agoIssue #18941: Respected delay when doing rollover.
Vinay Sajip [Fri, 6 Sep 2013 09:24:08 +0000 (10:24 +0100)]
Issue #18941: Respected delay when doing rollover.

11 years agoIssue #18940: Handled low-volume logging when delay is True.
Vinay Sajip [Fri, 6 Sep 2013 09:09:45 +0000 (10:09 +0100)]
Issue #18940: Handled low-volume logging when delay is True.

11 years agoIssue #18933: Added links to source code.
Vinay Sajip [Thu, 5 Sep 2013 21:57:20 +0000 (22:57 +0100)]
Issue #18933: Added links to source code.

11 years agoIssue #18672: Fixed format specifiers for Py_ssize_t in debugging output in
Serhiy Storchaka [Thu, 5 Sep 2013 15:02:57 +0000 (18:02 +0300)]
Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output in
the _sre moduel.

11 years agoMerge heads
Serhiy Storchaka [Thu, 5 Sep 2013 14:30:56 +0000 (17:30 +0300)]
Merge heads

11 years agoIssue #18830: inspect.getclasstree() no more produces duplicated entries even
Serhiy Storchaka [Thu, 5 Sep 2013 14:28:10 +0000 (17:28 +0300)]
Issue #18830: inspect.getclasstree() no more produces duplicated entries even
when input list contains duplicates.

11 years agoIssue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_U...
Christian Heimes [Thu, 5 Sep 2013 14:05:50 +0000 (16:05 +0200)]
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case

11 years agoIssue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_U...
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

11 years agoIssue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
Victor Stinner [Wed, 4 Sep 2013 22:26:15 +0000 (00:26 +0200)]
Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).

11 years agoIssue #18876: The FileIO.mode attribute now better reflects the actual mode under...
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.

11 years agoNull merge of 2.6 into 2.7.
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.

11 years agoClose #18912: Fix indentation in docstring
Eli Bendersky [Tue, 3 Sep 2013 13:41:58 +0000 (06:41 -0700)]
Close #18912: Fix indentation in docstring

Contributed by Jeroen Van Goey

11 years agoPython 2.6's ssl module has neither OPENSSL_VERSION_INFO nor _OPENSSL_API_VERSION
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

11 years agodocument that various functions that parse from source will interpret things as latin...
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)

11 years agoSilence deprecation warning in test_mmap for ValueError.message.
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'.

11 years agoSilence deprecation warning in test_unittest for 'None > 1'.
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.

11 years agoIssue #18489: Add complete, gui-free tests for idlelib.SearchEngine.
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.

11 years agoIssue #18851: Avoid a double close of subprocess pipes when the child process fails...
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.

11 years agoIssue #18418: After fork(), reinit all threads states, not only active ones.
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.

11 years agoMerge.
Charles-François Natali [Thu, 29 Aug 2013 17:26:12 +0000 (19:26 +0200)]
Merge.

11 years agoIssue #18643: Fix some test_socket failures due to large default socket buffer
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.

11 years agoIssue #18743: Improved cross-references to the StringIO class.
Serhiy Storchaka [Thu, 29 Aug 2013 08:44:44 +0000 (11:44 +0300)]
Issue #18743: Improved cross-references to the StringIO class.

11 years agoIssue #18760: Improved cross-references in the xml package.
Serhiy Storchaka [Thu, 29 Aug 2013 07:34:23 +0000 (10:34 +0300)]
Issue #18760: Improved cross-references in the xml package.

11 years ago#18839: document that sys.exit() will not accept a non-integer numeric value as exit...
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.

11 years ago#18803: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sun, 25 Aug 2013 22:31:30 +0000 (01:31 +0300)]
#18803: fix more typos.  Patch by Févry Thibault.

11 years ago#18833: add a test for test_telnetlib. Patch by Alex Volkov.
Ezio Melotti [Sun, 25 Aug 2013 20:56:43 +0000 (23:56 +0300)]
#18833: add a test for test_telnetlib.  Patch by Alex Volkov.

11 years agoNull merge of 2.6 into 2.7.
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.

11 years agoMerge.
Charles-François Natali [Sun, 25 Aug 2013 16:27:34 +0000 (18:27 +0200)]
Merge.

11 years agoIssue #18763: subprocess: The file descriptors are now closed after calling the
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.

11 years agoIssue #18817: Fix a resource warning in Lib/aifc.py demo.
Serhiy Storchaka [Sun, 25 Aug 2013 16:12:33 +0000 (19:12 +0300)]
Issue #18817: Fix a resource warning in Lib/aifc.py demo.

11 years agoIssue #11973: Fix a problem in kevent. The flags and fflags fields are now
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.

11 years agoFix test
Christian Heimes [Sun, 25 Aug 2013 12:44:27 +0000 (14:44 +0200)]
Fix test

11 years agoIssue #18747: Fix spelling errors in my commit message and comments,
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.

11 years agoIssue #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

11 years agoIssue #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

11 years agoVarious clarifications based on feedback & questions over the years.
Tim Peters [Sat, 24 Aug 2013 20:15:19 +0000 (15:15 -0500)]
Various clarifications based on feedback & questions over the years.

11 years agoIssue #18756: make test_urandom_failure more robust by executing its code in a subprocess
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

11 years agoIssue #18757: Improved cross-references in the concurrent package.
Serhiy Storchaka [Fri, 23 Aug 2013 21:28:38 +0000 (00:28 +0300)]
Issue #18757: Improved cross-references in the concurrent package.

11 years ago#18798: fix typo in test_fcntl. Patch by Vajrasky Kok.
Ezio Melotti [Fri, 23 Aug 2013 20:06:31 +0000 (23:06 +0300)]
#18798: fix typo in test_fcntl.  Patch by Vajrasky Kok.

11 years agonull merge with 2.6
Barry Warsaw [Fri, 23 Aug 2013 17:38:02 +0000 (13:38 -0400)]
null merge with 2.6

11 years ago- Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes
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).

11 years agoAdd line explaining the "%sort" test.
Tim Peters [Thu, 22 Aug 2013 23:32:53 +0000 (18:32 -0500)]
Add line explaining the "%sort" test.

11 years agoIssue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.
Serhiy Storchaka [Thu, 22 Aug 2013 14:53:16 +0000 (17:53 +0300)]
Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.

11 years agoIssue #16809: Tkinter's splitlist() and split() methods now accept Tcl_Obj
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.

11 years agoIssue #18747: Update Misc/NEWS to reflect the latest changeset.
Christian Heimes [Thu, 22 Aug 2013 11:22:37 +0000 (13:22 +0200)]
Issue #18747: Update Misc/NEWS to reflect the latest changeset.

11 years agoIssue #18747: Use a parent atfork handler instead of a child atfork handler.
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.

11 years agoIssue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as possible...
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.

11 years agoIssue #17119: Fixed integer overflows when processing large Unicode strings
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.

11 years agoIssue #15233: Python now guarantees that callables registered with the atexit
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.

11 years agomerge
Christian Heimes [Wed, 21 Aug 2013 11:43:20 +0000 (13:43 +0200)]
merge

11 years agoIssue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
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.

11 years agoNull merge.
Barry Warsaw [Wed, 21 Aug 2013 00:55:06 +0000 (20:55 -0400)]
Null merge.

11 years agoFix UnboundLocalError regression due to previous incorrect fix for
Barry Warsaw [Wed, 21 Aug 2013 00:35:20 +0000 (20:35 -0400)]
Fix UnboundLocalError regression due to previous incorrect fix for
issue 16248.

11 years agoIssue #8865: Concurrent invocation of select.poll.poll() now raises a
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.

11 years agoIssue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace"
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.

11 years agoIssue #2537: Remove breaked check which prevented valid regular expressions.
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.

11 years agoIssue #18647: A regular expression in the doctest module rewritten so that
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).

11 years agoIssue #18647: Correctly bound calculated min/max width of a subexpression.
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.

11 years agoIssue #18777: The ssl module now uses the new CRYPTO_THREADID API of
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.

11 years agoIssue #18761: Improved cross-references in email documentation.
Serhiy Storchaka [Mon, 19 Aug 2013 07:03:25 +0000 (10:03 +0300)]
Issue #18761: Improved cross-references in email documentation.

11 years agoIssue #18489: idlelib.SearchEngine - add docstrings
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).

11 years agoIssue #18592: whitespace
Terry Jan Reedy [Sun, 18 Aug 2013 22:27:02 +0000 (18:27 -0400)]
Issue #18592: whitespace

11 years agoIssue #18592: Add docstrings to file being tested (idlelib.SearchDialogBase.py).
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).

11 years agoadd missing #
Christian Heimes [Sun, 18 Aug 2013 01:11:11 +0000 (03:11 +0200)]
add missing #

11 years agoIssue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.
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.

11 years agoIssue #18768: coding style nitpick. Thanks to Vajrasky Kok
Christian Heimes [Sat, 17 Aug 2013 15:18:56 +0000 (17:18 +0200)]
Issue #18768: coding style nitpick. Thanks to Vajrasky Kok

11 years ago#18466: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sat, 17 Aug 2013 13:56:09 +0000 (16:56 +0300)]
#18466: fix more typos.  Patch by Févry Thibault.

11 years ago#18741: 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.

11 years agomerge 2.7
Christian Heimes [Sat, 17 Aug 2013 13:02:55 +0000 (15:02 +0200)]
merge 2.7

11 years agoIssue #18178: Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc...
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.

11 years ago#18705: fix a number of typos. Patch by Févry Thibault.
Ezio Melotti [Sat, 17 Aug 2013 12:43:51 +0000 (15:43 +0300)]
#18705: fix a number of typos.  Patch by Févry Thibault.

11 years agoIssue #18759: Improved cross-references in logging documentation.
Vinay Sajip [Fri, 16 Aug 2013 23:38:48 +0000 (00:38 +0100)]
Issue #18759: Improved cross-references in logging documentation.

11 years agoIssue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes
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).

11 years agotest_execvpe_with_bad_arglist shouldn't be in URandomTests
Antoine Pitrou [Fri, 16 Aug 2013 18:56:12 +0000 (20:56 +0200)]
test_execvpe_with_bad_arglist shouldn't be in URandomTests

11 years agoIssue #18756: Improve error reporting in os.urandom() when the failure is due to...
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.

11 years ago#18707: point to Doc/README.txt in the README file. Patch by Madison May.
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.

11 years agoIssue #16190: fix random module recommendation to use ssl.RAND_bytes().
Antoine Pitrou [Fri, 16 Aug 2013 17:19:40 +0000 (19:19 +0200)]
Issue #16190: fix random module recommendation to use ssl.RAND_bytes().

11 years agoIssue #18732: Remove unused* parameter output_sep from IdleHistory.History
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.

11 years agoIssue #18226: Fix ImportError and subsequent TypeError in 2.7 backport.
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).

11 years agoIssue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
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.

11 years agoIssue #18718: datetime documentation contradictory on leap second support
David Wolever [Wed, 14 Aug 2013 18:33:54 +0000 (14:33 -0400)]
Issue #18718: datetime documentation contradictory on leap second support