]>
granicus.if.org Git - python/log
Ezio Melotti [Sat, 17 Aug 2013 12:53:55 +0000 (15:53 +0300)]
#18705: merge with 3.3.
Ezio Melotti [Sat, 17 Aug 2013 12:50:46 +0000 (15:50 +0300)]
#18705: fix a number of typos. Patch by Févry Thibault.
Raymond Hettinger [Sat, 17 Aug 2013 09:39:46 +0000 (02:39 -0700)]
Remove the else-clause because the conditions are no longer mutually exclusive.
Raymond Hettinger [Sat, 17 Aug 2013 09:31:53 +0000 (02:31 -0700)]
Use a known unique object for the dummy entry.
This lets us run PyObject_RichCompareBool() without
first needing to check whether the entry is a dummy.
Vinay Sajip [Fri, 16 Aug 2013 23:40:38 +0000 (00:40 +0100)]
Issue #18759: Merged updates from 3.3.
Vinay Sajip [Fri, 16 Aug 2013 23:39:42 +0000 (00:39 +0100)]
Issue #18759: Improved cross-references in logging documentation.
Christian Heimes [Fri, 16 Aug 2013 22:58:00 +0000 (00:58 +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).
Christian Heimes [Fri, 16 Aug 2013 22:55:39 +0000 (00:55 +0200)]
merge
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).
Christian Heimes [Fri, 16 Aug 2013 22:17:58 +0000 (00:17 +0200)]
Remove last bit of GNU pth thread
PEP 11:
Name: Systems using --with-pth (GNU pth threads)
Unsupported in: Python 3.2
Code removed in: Python 3.3
Serhiy Storchaka [Fri, 16 Aug 2013 22:01:23 +0000 (01:01 +0300)]
Issue #18701: Remove sqlitecompat.h.
Serhiy Storchaka [Fri, 16 Aug 2013 21:48:02 +0000 (00:48 +0300)]
Issue #18701: Remove support of old CPython versions (<3.0) from C code.
Charles-François Natali [Fri, 16 Aug 2013 21:19:56 +0000 (23:19 +0200)]
Issue #16463: Fix a transient test_timeout failure.
Charles-François Natali [Fri, 16 Aug 2013 21:19:22 +0000 (23:19 +0200)]
Issue #16463: Fix a transient test_timeout failure.
Serhiy Storchaka [Fri, 16 Aug 2013 21:11:54 +0000 (00:11 +0300)]
Issue #18743: Fix references to non-existant "StringIO" module.
Serhiy Storchaka [Fri, 16 Aug 2013 21:09:55 +0000 (00:09 +0300)]
Issue #18743: Fix references to non-existant "StringIO" module.
Antoine Pitrou [Fri, 16 Aug 2013 20:31:12 +0000 (22:31 +0200)]
Fix the default placeholder in textwrap.shorten() to be " [...]".
For some reason I forgot to do it before committing the patch in issue #18585.
Antoine Pitrou [Fri, 16 Aug 2013 19:02:02 +0000 (21:02 +0200)]
Make test.support.reap_threads() faster
Antoine Pitrou [Fri, 16 Aug 2013 18:49:32 +0000 (20:49 +0200)]
Issue #18756: Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.
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:33:27 +0000 (21:33 +0300)]
#18707: merge with 3.3.
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:36:18 +0000 (19:36 +0200)]
Issue #
1666318 : Add a test that shutil.copytree() retains directory permissions.
Patch by Catherine Devlin.
Antoine Pitrou [Fri, 16 Aug 2013 17:35:02 +0000 (19:35 +0200)]
Issue #
1666318 : Add a test that shutil.copytree() retains directory permissions.
Patch by Catherine Devlin.
Antoine Pitrou [Fri, 16 Aug 2013 17:20:04 +0000 (19:20 +0200)]
Issue #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().
Christian Heimes [Fri, 16 Aug 2013 12:37:50 +0000 (14:37 +0200)]
Issue #18673: Add versionchanged to docs
Christian Heimes [Fri, 16 Aug 2013 12:35:09 +0000 (14:35 +0200)]
Issue #18673: Add O_TMPFILE to os module. O_TMPFILE requires Linux kernel
3.11 or newer. It's only defined on system with 3.11 uapi headers, too.
Terry Jan Reedy [Thu, 15 Aug 2013 20:19:33 +0000 (16:19 -0400)]
Merge with 3.3
Terry Jan Reedy [Thu, 15 Aug 2013 20:19:13 +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 18:32:46 +0000 (14:32 -0400)]
Merge with 3.3
Terry Jan Reedy [Thu, 15 Aug 2013 18:32:04 +0000 (14:32 -0400)]
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Antoine Pitrou [Thu, 15 Aug 2013 18:15:15 +0000 (20:15 +0200)]
Replace an overly optimistic assert() in _PyGC_CollectNoFail with a simple guard.
Christian Heimes [Thu, 15 Aug 2013 16:31:48 +0000 (18:31 +0200)]
Change the builtin hash algorithms' names to lower case names
as promised by hashlib's documentation.
Victor Stinner [Thu, 15 Aug 2013 09:57:19 +0000 (11:57 +0200)]
(Merge 3.3) Issue #18296: Try to fix TestSendfile.test_trailers() of test_os on FreeBSD
Victor Stinner [Thu, 15 Aug 2013 09:57:02 +0000 (11:57 +0200)]
Issue #18296: Try to fix TestSendfile.test_trailers() of test_os on FreeBSD
Raymond Hettinger [Thu, 15 Aug 2013 09:18:55 +0000 (02:18 -0700)]
Hoist the global "dummy" lookup outside of the reinsertion loop.
Eric Snow [Thu, 15 Aug 2013 00:11:09 +0000 (18:11 -0600)]
Closes issue #18698: ensure importlib.reload() returns the module out of sys.modules.
Eric Snow [Thu, 15 Aug 2013 00:08:39 +0000 (18:08 -0600)]
Null merge from 3.3.
Eric Snow [Thu, 15 Aug 2013 00:03:34 +0000 (18:03 -0600)]
issue #18698: ensure importlib.reload() returns the module out of sys.modules.
David Wolever [Wed, 14 Aug 2013 18:41:48 +0000 (14:41 -0400)]
Remove errant fourth '.' from ellipsis in datetime documentation.
David Wolever [Wed, 14 Aug 2013 18:41:48 +0000 (14:41 -0400)]
Remove errant fourth '.' from ellipsis in datetime documentation.
Richard Oudkerk [Wed, 14 Aug 2013 14:35:41 +0000 (15:35 +0100)]
Issue #8713: Support alternative start methods in multiprocessing on Unix.
See http://hg.python.org/sandbox/sbt#spawn
Raymond Hettinger [Wed, 14 Aug 2013 01:20:55 +0000 (18:20 -0700)]
merge
Raymond Hettinger [Wed, 14 Aug 2013 01:16:34 +0000 (18:16 -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, kinds, 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:29 +0000 (19:51 -0400)]
Merge with 3.3
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.
Victor Stinner [Tue, 13 Aug 2013 23:40:46 +0000 (01:40 +0200)]
(Merge 3.3) Issue #18405: Improve the entropy of crypt.mksalt().
Victor Stinner [Tue, 13 Aug 2013 23:39:14 +0000 (01:39 +0200)]
Issue #18405: Improve the entropy of crypt.mksalt().
Victor Stinner [Tue, 13 Aug 2013 23:28:28 +0000 (01:28 +0200)]
Close #12015: The tempfile module now uses a suffix of 8 random characters
instead of 6, to reduce the risk of filename collision. The entropy was reduced
when uppercase letters were removed from the charset used to generate random
characters.
Antoine Pitrou [Tue, 13 Aug 2013 20:25:56 +0000 (22:25 +0200)]
Remove duplicate text in 3.4 what's new (my bad)
Antoine Pitrou [Tue, 13 Aug 2013 18:18:52 +0000 (20:18 +0200)]
Issue #18722: Remove uses of the "register" keyword in C code.
Ezio Melotti [Tue, 13 Aug 2013 09:54:29 +0000 (12:54 +0300)]
#18687: merge with 3.3.
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:15:14 +0000 (01:15 -0700)]
Issue 18724: Fix typo noticed by Susan Tan.
Ned Deily [Tue, 13 Aug 2013 08:12:41 +0000 (01:12 -0700)]
Issue 18724: Fix typo noticed by Susan Tan.
Senthil Kumaran [Tue, 13 Aug 2013 05:26:14 +0000 (22:26 -0700)]
merge from 3.3
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
Senthil Kumaran [Tue, 13 Aug 2013 05:25:27 +0000 (22:25 -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
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
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
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 21:15:36 +0000 (17:15 -0400)]
Merge issue #17701: Improving strftime documentation.
David Wolever [Mon, 12 Aug 2013 20:56:02 +0000 (16:56 -0400)]
Issue #17701: Improving strftime documentation.
Antoine Pitrou [Mon, 12 Aug 2013 20:39:09 +0000 (22:39 +0200)]
Issue #18585: Add :func:`textwrap.shorten` to collapse and truncate a piece of text to a given length.
Antoine Pitrou [Mon, 12 Aug 2013 18:48:15 +0000 (20:48 +0200)]
Sort whatsnew entries alphabetically
Antoine Pitrou [Mon, 12 Aug 2013 18:46:47 +0000 (20:46 +0200)]
Add whatsnew entries for 3.4.
Larry Hastings [Mon, 12 Aug 2013 17:53:20 +0000 (13:53 -0400)]
Issue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.
Larry Hastings [Mon, 12 Aug 2013 17:49:30 +0000 (13:49 -0400)]
Issue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.
Brett Cannon [Mon, 12 Aug 2013 17:29:11 +0000 (13:29 -0400)]
Closes issue #18598: Have the exception message for
importlib.import_module() include the name of the module when the
'package' argument is missing but needed.
Ethan Furman [Mon, 12 Aug 2013 13:51:41 +0000 (06:51 -0700)]
Issue 18693: Put custom __dir__ back in place. Will instead look at fixing `help()`.
Eli Bendersky [Sun, 11 Aug 2013 23:48:44 +0000 (16:48 -0700)]
Add some docstrings, clarify others, and fix formatting.
Eli Bendersky [Sun, 11 Aug 2013 22:43:30 +0000 (15:43 -0700)]
Close #12645: Clarify and reformat the documentation of import_fresh_module
Eli Bendersky [Sun, 11 Aug 2013 22:38:08 +0000 (15:38 -0700)]
Issue #12645: Clarify and reformat the documentation of import_fresh_module
Serhiy Storchaka [Sun, 11 Aug 2013 17:13:36 +0000 (20:13 +0300)]
Issue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*.
Serhiy Storchaka [Sun, 11 Aug 2013 17:12:20 +0000 (20:12 +0300)]
Issue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*.
Ezio Melotti [Sun, 11 Aug 2013 10:05:37 +0000 (13:05 +0300)]
#18663: merge with 3.3.
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 [Sun, 11 Aug 2013 00:58:59 +0000 (20:58 -0400)]
Issue #15301: skip new test method so Windows builtbots stop failing.
Terry Jan Reedy [Sat, 10 Aug 2013 22:40:04 +0000 (18:40 -0400)]
Merge
Terry Jan Reedy [Sat, 10 Aug 2013 22:33:37 +0000 (18:33 -0400)]
Merge heads
Antoine Pitrou [Sat, 10 Aug 2013 22:30:09 +0000 (00:30 +0200)]
Issue #10241: Clear extension module dict copies at interpreter shutdown.
Patch by Neil Schemenauer, minimally modified.
(re-apply after fix for tkinter-related crash)
Terry Jan Reedy [Sat, 10 Aug 2013 22:23:18 +0000 (18:23 -0400)]
Issue #18676: Merge from 3.3
Antoine Pitrou [Sat, 10 Aug 2013 22:22:30 +0000 (00:22 +0200)]
Fix refcounting issue with extension types in tkinter.
(issue #15721)
Terry Jan Reedy [Sat, 10 Aug 2013 22:17:13 +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:48 +0000 (17:46 -0400)]
Merge with 3.3
Terry Jan Reedy [Sat, 10 Aug 2013 21:46:24 +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:57:02 +0000 (16:57 -0400)]
Merge with 3.3
Terry Jan Reedy [Sat, 10 Aug 2013 20:56:28 +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.
Ethan Furman [Sat, 10 Aug 2013 20:07:49 +0000 (13:07 -0700)]
Close #18693: __dir__ removed from Enum; help() now helpful.
Ethan Furman [Sat, 10 Aug 2013 20:01:45 +0000 (13:01 -0700)]
Close #18264: int- and float-derived enums now converted to int or float.
Ezio Melotti [Sat, 10 Aug 2013 17:01:43 +0000 (20:01 +0300)]
#18681: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 16:59:36 +0000 (19:59 +0300)]
#18681: Fix a NameError in imp.reload() (noticed by Weizhao Li).
R David Murray [Sat, 10 Aug 2013 16:14:58 +0000 (12:14 -0400)]
Null merge of 3.3 merge heads.
R David Murray [Sat, 10 Aug 2013 16:13:44 +0000 (12:13 -0400)]
Merge heads.
R David Murray [Sat, 10 Aug 2013 16:08:41 +0000 (12:08 -0400)]
Merge heads.
R David Murray [Sat, 10 Aug 2013 16:03:54 +0000 (12:03 -0400)]
Merge #8112: Update the documenting xmlrpc server to use getfullargspec.
R David Murray [Sat, 10 Aug 2013 16:01:47 +0000 (12:01 -0400)]
#8112: Update the documenting xmlrpc server to use getfullargspec.
Before this patch it would raise an error when trying to display
documentation for a method that used annotations.
Patch by Claudiu Popa.
Ezio Melotti [Sat, 10 Aug 2013 15:57:52 +0000 (18:57 +0300)]
#18505: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:57:12 +0000 (18:57 +0300)]
#18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok.