]>
granicus.if.org Git - python/log
Andrew Kuchling [Sun, 15 Sep 2013 17:24:05 +0000 (13:24 -0400)]
Null merge with 2.6
Andrew Kuchling [Sun, 15 Sep 2013 17:11:47 +0000 (13:11 -0400)]
#16042: CVE-2013-1752: Limit amount of data read by limiting the call to readline().
The SSLFakeFile.readline() method needs to support limiting readline() as
well. It's not a full emulation of readline()'s signature, but this class
is only used by smtplib's code, so it doesn't have to be.
Modified version of original patch by Christian Heimes.
Raymond Hettinger [Sun, 15 Sep 2013 05:17:39 +0000 (22:17 -0700)]
Issue #19018: The heapq.merge() function no longer suppresses IndexError
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:55:08 +0000 (22:55 +0300)]
Fix markup in email.parser docs.
Ezio Melotti [Fri, 13 Sep 2013 19:17:40 +0000 (22:17 +0300)]
#18951: use consistent names in unittest docs.
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
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.
Senthil Kumaran [Thu, 12 Sep 2013 05:56:34 +0000 (22:56 -0700)]
Automated merge with file:///Users/skumaran/python/cpython
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
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.
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.
Mark Dickinson [Mon, 9 Sep 2013 09:32:08 +0000 (10:32 +0100)]
Docstring typo fix: Arithmentic -> Arithmetic.
Serhiy Storchaka [Sun, 8 Sep 2013 17:43:16 +0000 (20:43 +0300)]
Fix a typo. (closes #18953)
Serhiy Storchaka [Sun, 8 Sep 2013 17:32:56 +0000 (20:32 +0300)]
Fixed tests with Tcl/Tk <8.5 (closes #18964).
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
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.
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.
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
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.
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.
Vinay Sajip [Fri, 6 Sep 2013 09:24:08 +0000 (10:24 +0100)]
Issue #18941: Respected delay when doing rollover.
Vinay Sajip [Fri, 6 Sep 2013 09:09:45 +0000 (10:09 +0100)]
Issue #18940: Handled low-volume logging when delay is True.
Vinay Sajip [Thu, 5 Sep 2013 21:57:20 +0000 (22:57 +0100)]
Issue #18933: Added links to source code.
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.
Serhiy Storchaka [Thu, 5 Sep 2013 14:30:56 +0000 (17:30 +0300)]
Merge heads
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.
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
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: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).
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.
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.