]>
granicus.if.org Git - python/log
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.
Ezio Melotti [Sat, 10 Aug 2013 15:47:37 +0000 (18:47 +0300)]
Merge typo fixes from 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:47:07 +0000 (18:47 +0300)]
Fix a couple of typos.
Ezio Melotti [Sat, 10 Aug 2013 15:37:36 +0000 (18:37 +0300)]
#18453: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:37:05 +0000 (18:37 +0300)]
#18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:30:57 +0000 (18:30 +0300)]
#18465: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:30:29 +0000 (18:30 +0300)]
#18465: fix unused variables in test_minidom. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:20:59 +0000 (18:20 +0300)]
#18484: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:20:09 +0000 (18:20 +0300)]
#18484: improve test coverage of http.cookiejar. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:08:13 +0000 (18:08 +0300)]
#18483: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:07:25 +0000 (18:07 +0300)]
#18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok.
Eli Bendersky [Sat, 10 Aug 2013 15:00:39 +0000 (08:00 -0700)]
Issue #15651: PEP 3121 refactoring for _elementtree
Patch by Antoine Pitrou (based on Robin Schreiber's original patch)
Christian Heimes [Sat, 10 Aug 2013 14:38:23 +0000 (16:38 +0200)]
typo, changeset
dd0d751cc7f1 belongs to issue #16499 not issue #16400
Christian Heimes [Sat, 10 Aug 2013 14:36:18 +0000 (16:36 +0200)]
Issue #16400: Add command line option for isolated mode.
-I
Run Python in isolated mode. This also implies -E and -s. In isolated mode
sys.path contains neither the script’s directory nor the user’s
site-packages directory. All PYTHON* environment variables are ignored,
too. Further restrictions may be imposed to prevent the user from
injecting malicious code.
Eli Bendersky [Sat, 10 Aug 2013 12:58:10 +0000 (05:58 -0700)]
Issue #18668: Further clarify m_size setting for non-negative values
Eli Bendersky [Sat, 10 Aug 2013 12:57:27 +0000 (05:57 -0700)]
Issue #18668: Further clarify m_size setting for non-negative values
R David Murray [Fri, 9 Aug 2013 20:20:06 +0000 (16:20 -0400)]
Null merge related to #18600.
For 3.3, we just deleted the example. In 3.4 it was fixed.
R David Murray [Fri, 9 Aug 2013 20:17:00 +0000 (16:17 -0400)]
#18600: In 3.3, as_string does not accept a policy keyword.
Also, document the policy keyword that was added to Message in 3.3.
R David Murray [Fri, 9 Aug 2013 20:15:28 +0000 (16:15 -0400)]
#18600: add policy to add_string, and as_bytes and __bytes__ methods.
This was triggered by wanting to make the doctest in email.policy.rst pass;
as_bytes and __bytes__ are clearly useful now that we have BytesGenerator.
Also updated the Message docs to document the policy keyword that was
added in 3.3.
Vinay Sajip [Thu, 8 Aug 2013 17:28:53 +0000 (18:28 +0100)]
Closes #18671: Output more information when logging exceptions occur.
Ezio Melotti [Thu, 8 Aug 2013 17:12:57 +0000 (20:12 +0300)]
#18357: merge with 3.3.
Ezio Melotti [Thu, 8 Aug 2013 17:12:28 +0000 (20:12 +0300)]
#18357: add tests for dictview set difference. Patch by Fraser Tweedale.
Ezio Melotti [Thu, 8 Aug 2013 16:37:52 +0000 (19:37 +0300)]
#18581: merge with 3.3.
Ezio Melotti [Thu, 8 Aug 2013 16:36:36 +0000 (19:36 +0300)]
#18581: remove duplicate test and run a test class that was skipped. Initial patch by Vajrasky Kok.
Serhiy Storchaka [Thu, 8 Aug 2013 13:49:45 +0000 (16:49 +0300)]
Fix a typo in PyUnicode_CopyCharacters() documentation.
Serhiy Storchaka [Thu, 8 Aug 2013 13:47:43 +0000 (16:47 +0300)]
Fix a typo in PyUnicode_CopyCharacters() documentation.
Ezio Melotti [Thu, 8 Aug 2013 12:46:13 +0000 (15:46 +0300)]
#18267: merge with 3.3.
Ezio Melotti [Thu, 8 Aug 2013 12:45:56 +0000 (15:45 +0300)]
#18267: make whitespace consistent and fix an operator.
Ezio Melotti [Thu, 8 Aug 2013 12:18:26 +0000 (15:18 +0300)]
#18273: merge with 3.3.
Ezio Melotti [Thu, 8 Aug 2013 12:03:45 +0000 (15:03 +0300)]
#18273: move the tests in Lib/test/json_tests to Lib/test/test_json and make them discoverable by unittest. Patch by Zachary Ware.
Larry Hastings [Thu, 8 Aug 2013 07:19:50 +0000 (00:19 -0700)]
Issue #15301: Parsing fd, uid, and gid parameters for builtins
in Modules/posixmodule.c is now far more robust.
Eli Bendersky [Wed, 7 Aug 2013 12:54:28 +0000 (05:54 -0700)]
Closing #18668: Properly document setting m_size in PyModuleDef
Eli Bendersky [Wed, 7 Aug 2013 12:52:20 +0000 (05:52 -0700)]
Issue #18668: Properly document setting m_size in PyModuleDef
Antoine Pitrou [Tue, 6 Aug 2013 21:06:59 +0000 (23:06 +0200)]
Issue #18665: fix typos. Patch by Vajrasky Kok.
Antoine Pitrou [Tue, 6 Aug 2013 21:05:23 +0000 (23:05 +0200)]
Issue #18666: improve test_frame a bit. Patch by Vajrasky Kok.
Antoine Pitrou [Tue, 6 Aug 2013 20:57:31 +0000 (22:57 +0200)]
Normalize whitespace
Antoine Pitrou [Tue, 6 Aug 2013 20:56:40 +0000 (22:56 +0200)]
Issue #18621: Prevent the site module's patched builtins from keeping too many references alive for too long.
Antoine Pitrou [Tue, 6 Aug 2013 20:50:15 +0000 (22:50 +0200)]
Improve verbose reporting of shutdown phase by using the "public" module name
Antoine Pitrou [Tue, 6 Aug 2013 18:50:48 +0000 (20:50 +0200)]
In _PyGC_Fini(), lose the reference that was kept to the time module
Ezio Melotti [Tue, 6 Aug 2013 16:52:25 +0000 (19:52 +0300)]
#18443: remove the TextMate entry now that the bundle has been removed and fix ordering. Patch by Févry Thibault.
Christian Heimes [Tue, 6 Aug 2013 14:03:33 +0000 (16:03 +0200)]
Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails.
Christian Heimes [Tue, 6 Aug 2013 13:59:16 +0000 (15:59 +0200)]
Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails.