Commit Graph

77361 Commits

Author SHA1 Message Date
Christian Heimes 42831fefa7 Issue #11973: Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
2013-08-25 14:57:00 +02:00
Christian Heimes a0c8373e32 Fix test 2013-08-25 14:44:27 +02:00
Christian Heimes 8ee5ffddf5 Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
2013-08-25 14:19:16 +02:00
Christian Heimes 8f65ef8853 Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger 2013-08-25 14:12:41 +02:00
Christian Heimes f869a9484a Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger 2013-08-25 14:12:41 +02:00
Tim Peters 59a06f5020 Various clarifications based on feedback & questions over the years. 2013-08-24 15:15:19 -05:00
Antoine Pitrou e758715144 Issue #18756: make test_urandom_failure more robust by executing its code in a subprocess 2013-08-24 20:52:27 +02:00
Serhiy Storchaka c8f26f500a Issue #18757: Improved cross-references in the concurrent package. 2013-08-24 00:28:38 +03:00
Ezio Melotti 6c61a5afef #18798: fix typo in test_fcntl. Patch by Vajrasky Kok. 2013-08-23 23:06:31 +03:00
Barry Warsaw 537f15645a null merge with 2.6 2013-08-23 13:38:02 -04:00
Barry Warsaw 82f8828317 - 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).
2013-08-23 13:26:49 -04:00
Tim Peters 78cc8daa9b Add line explaining the "%sort" test. 2013-08-22 18:32:53 -05:00
Serhiy Storchaka b445558d84 Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6. 2013-08-22 17:53:16 +03:00
Serhiy Storchaka 2ac1c1a31d Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_Obj
argument.

This is needed for support Tcl/Tk 8.6.
2013-08-22 17:42:45 +03:00
Christian Heimes ac6416424b Issue #18747: Update Misc/NEWS to reflect the latest changeset. 2013-08-22 13:22:37 +02:00
Christian Heimes 1d0f73d20f 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.
2013-08-22 13:19:48 +02:00
Antoine Pitrou 78254dc6fc 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. 2013-08-22 00:39:46 +02:00
Serhiy Storchaka 4203570d01 Issue #17119: Fixed integer overflows when processing large Unicode strings
and tuples in the tkinter module.
2013-08-21 21:46:12 +03:00
Charles-François Natali b817faa4ce Issue #15233: Python now guarantees that callables registered with the atexit
module will be called in a deterministic order.
2013-08-21 18:25:00 +02:00
Christian Heimes 8df3df43ba merge 2013-08-21 13:43:20 +02:00
Christian Heimes 0d604cf65e 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.
2013-08-21 13:26:05 +02:00
Barry Warsaw 1c73d507d3 Null merge. 2013-08-20 20:55:06 -04:00
Barry Warsaw f880e5d5ea Fix UnboundLocalError regression due to previous incorrect fix for
issue 16248.
2013-08-20 20:35:20 -04:00
Serhiy Storchaka c360389453 Issue #8865: Concurrent invocation of select.poll.poll() now raises a
RuntimeError exception.  Patch by Christian Schubert.
2013-08-20 20:38:21 +03:00
Serhiy Storchaka a9885e93ee Issue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace"
error handler on 64-bit platforms.  Patch by Yogesh Chaudhari.
2013-08-20 20:08:53 +03:00
Serhiy Storchaka 83737c632c Issue #2537: Remove breaked check which prevented valid regular expressions.
Patch by Meador Inge.

See also issue #18647.
2013-08-19 23:20:07 +03:00
Serhiy Storchaka 0364134fc8 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).
2013-08-19 23:04:52 +03:00
Serhiy Storchaka 34ecb118f1 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.
2013-08-19 22:53:46 +03:00
Christian Heimes 10107813ac 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.
2013-08-19 17:36:29 +02:00
Serhiy Storchaka f65d454a5e Issue #18761: Improved cross-references in email documentation. 2013-08-19 10:03:25 +03:00
Terry Jan Reedy 41fca3e482 Issue #18489: idlelib.SearchEngine - add docstrings
(original patch by Phil Webster).
2013-08-19 01:05:09 -04:00
Terry Jan Reedy a81e969144 Issue #18592: whitespace 2013-08-18 18:27:02 -04:00
Terry Jan Reedy 9946a28988 Issue #18592: Add docstrings to file being tested (idlelib.SearchDialogBase.py). 2013-08-18 18:22:34 -04:00
Christian Heimes ec8c2198bd add missing # 2013-08-18 03:11:11 +02:00
Christian Heimes b4ec842f39 Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok. 2013-08-17 17:25:18 +02:00
Christian Heimes f1bd47ae14 Issue #18768: coding style nitpick. Thanks to Vajrasky Kok 2013-08-17 17:18:56 +02:00
Ezio Melotti 419e23cbb0 #18466: fix more typos. Patch by Févry Thibault. 2013-08-17 16:56:09 +03:00
Ezio Melotti 5dd99ebbc2 #18741: fix more typos. Patch by Févry Thibault. 2013-08-17 16:07:38 +03:00
Christian Heimes b37327b18c merge 2.7 2013-08-17 15:02:55 +02:00
Christian Heimes 6e0be01bfb Issue #18178: Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc weak symbols. 2013-08-17 15:01:54 +02:00
Ezio Melotti f5469cff1f #18705: fix a number of typos. Patch by Févry Thibault. 2013-08-17 15:43:51 +03:00
Vinay Sajip 10b513098a Issue #18759: Improved cross-references in logging documentation. 2013-08-17 00:38:48 +01:00
Christian Heimes 88b174c977 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).
2013-08-17 00:54:47 +02:00
Antoine Pitrou 326ec048bf test_execvpe_with_bad_arglist shouldn't be in URandomTests 2013-08-16 20:56:12 +02:00
Antoine Pitrou f48a67b317 Issue #18756: Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing. 2013-08-16 20:44:38 +02:00
Ezio Melotti 7cad370d38 #18707: point to Doc/README.txt in the README file. Patch by Madison May. 2013-08-16 21:32:25 +03:00
Antoine Pitrou 79a16a85aa Issue #16190: fix random module recommendation to use ssl.RAND_bytes(). 2013-08-16 19:19:40 +02:00
Terry Jan Reedy 1703df6c93 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.
2013-08-15 16:19:07 -04:00
Terry Jan Reedy 74b3290c10 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).
2013-08-15 15:07:58 -04:00
Terry Jan Reedy 8ce36dd7aa 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.
2013-08-15 14:31:55 -04:00