]>
granicus.if.org Git - python/log
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: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
Tim Peters [Sat, 24 Aug 2013 20:15:19 +0000 (15:15 -0500)]
Various clarifications based on feedback & questions over the years.
(grafted from
23181bf411a16287a0a54e910fc0f9ecd2764bf0 )
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
Victor Stinner [Sat, 24 Aug 2013 13:52:47 +0000 (15:52 +0200)]
test_socket: cancel scheduled alarm on test failure
Serhiy Storchaka [Fri, 23 Aug 2013 21:23:38 +0000 (00:23 +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.
Victor Stinner [Fri, 23 Aug 2013 17:19:15 +0000 (19:19 +0200)]
Close #17702: On error, os.environb now removes suppress the except context
when raising a new KeyError with the original key.
Brett Cannon [Fri, 23 Aug 2013 15:47:26 +0000 (11:47 -0400)]
NEW entry for issue #18755
Brett Cannon [Fri, 23 Aug 2013 15:45:57 +0000 (11:45 -0400)]
Issue #18755: Allow imp.load_*() loaders to have get_data() called
multiple times.
Brett Cannon [Fri, 23 Aug 2013 14:58:49 +0000 (10:58 -0400)]
Emphasize that people should not override __import__.
With importlib getting used more and more, changing __import__ will
not work as well as people used to hope as it will potentially bypass
importers, etc. It also will not work with importlib.import_module()
as it uses "importlib.__import__" (i.e. importlib's implementation of
import) directly and not builtins.__import__.
Tim Peters [Thu, 22 Aug 2013 23:32:53 +0000 (18:32 -0500)]
Add line explaining the "%sort" test.
(grafted from
1ea833ecaf5a9d43a886e9e73b4e2551d0d5b548 )
Serhiy Storchaka [Thu, 22 Aug 2013 14:51:58 +0000 (17:51 +0300)]
Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.
Serhiy Storchaka [Thu, 22 Aug 2013 14:40:31 +0000 (17:40 +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.
R David Murray [Thu, 22 Aug 2013 01:10:31 +0000 (21:10 -0400)]
#18324: set_payload now correctly handles binary input.
This also backs out the previous fixes for for #14360, #1717, and #16564.
Those bugs were actually caused by the fact that set_payload didn't decode to
str, thus rendering the model inconsistent. This fix does mean the data
processed by the encoder functions goes through an extra encode/decode cycle,
but it means the model is always consistent. Future API updates will provide
a better way to encode payloads, which will bypass this minor de-optimization.
Tests by Vajrasky Kok.
Tim Peters [Wed, 21 Aug 2013 23:52:57 +0000 (18:52 -0500)]
Merge 3.2 into 3.3.
The only file change is adding the v3.2.5 tag to 3.3's .hgtags file.
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:38:21 +0000 (21:38 +0300)]
Issue #17119: Fixed integer overflows when processing large strings and tuples
in the tkinter module.
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.
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:04:47 +0000 (20:04 +0300)]
Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.
Patch by Yogesh Chaudhari.
Serhiy Storchaka [Mon, 19 Aug 2013 20:18:23 +0000 (23:18 +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 19:59:31 +0000 (22:59 +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:50:54 +0000 (22:50 +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 06:59:18 +0000 (09:59 +0300)]
Issue #18761: Improved cross-references in email documentation.
Terry Jan Reedy [Mon, 19 Aug 2013 05:05:19 +0000 (01:05 -0400)]
Issue #18489: idlelib.SearchEngine - add docstrings
(original patch by Phil Webster).
Andrew Kuchling [Sun, 18 Aug 2013 22:57:22 +0000 (18:57 -0400)]
#18562: various revisions to the regex howto for 3.x
* describe how \w is different when used in bytes and Unicode patterns.
* describe re.ASCII flag to change that behaviour.
* remove personal references ('I generally prefer...')
* add some more links to the re module in the library reference
* various small edits and re-wording.
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:43 +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:57:41 +0000 (16:57 +0300)]
#18466: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sat, 17 Aug 2013 13:11:40 +0000 (16:11 +0300)]
#18741: fix more typos. Patch by Févry Thibault.
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:50:46 +0000 (15:50 +0300)]
#18705: fix a number of typos. Patch by Févry Thibault.
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: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).
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:09:55 +0000 (00:09 +0300)]
Issue #18743: Fix references to non-existant "StringIO" module.
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: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: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: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:04 +0000 (14:32 -0400)]
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
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
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.
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: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:39:14 +0000 (01:39 +0200)]
Issue #18405: Improve the entropy of crypt.mksalt().
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:12:41 +0000 (01:12 -0700)]
Issue 18724: Fix typo noticed by Susan Tan.
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
David Wolever [Mon, 12 Aug 2013 20:56:02 +0000 (16:56 -0400)]
Issue #17701: Improving strftime documentation.
Larry Hastings [Mon, 12 Aug 2013 17:49:30 +0000 (13:49 -0400)]
Issue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.
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: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:04:50 +0000 (13:04 +0300)]
#18663: document that assertAlmostEqual also works when the values are equal and add tests.
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: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: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.
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:08:41 +0000 (12:08 -0400)]
Merge heads.
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: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:07 +0000 (18:47 +0300)]
Fix a couple of typos.
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:29 +0000 (18:30 +0300)]
#18465: fix unused variables in test_minidom. Patch by Vajrasky Kok.
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: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 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: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.
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: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:47:43 +0000 (16:47 +0300)]
Fix a typo in PyUnicode_CopyCharacters() documentation.
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: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.
Eli Bendersky [Wed, 7 Aug 2013 12:52:20 +0000 (05:52 -0700)]
Issue #18668: Properly document setting m_size in PyModuleDef
Christian Heimes [Tue, 6 Aug 2013 13:59:16 +0000 (15:59 +0200)]
Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails.
Mark Dickinson [Mon, 5 Aug 2013 16:57:01 +0000 (17:57 +0100)]
Issue #18661: typo in grp.struct_group docstring. Thanks Vajrasky Kok.
R David Murray [Sun, 4 Aug 2013 19:48:29 +0000 (15:48 -0400)]
#18657: remove duplicate entries from Misc/ACKS.
Patch by Madison May.
Raymond Hettinger [Sun, 4 Aug 2013 19:43:37 +0000 (12:43 -0700)]
Silence compiler warnings for strict function prototype declarations.
Terry Jan Reedy [Sun, 4 Aug 2013 19:39:03 +0000 (15:39 -0400)]
Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'.
Raymond Hettinger [Sun, 4 Aug 2013 19:00:36 +0000 (12:00 -0700)]
Silence compiler warning for an unused declaration
Raymond Hettinger [Sun, 4 Aug 2013 18:51:03 +0000 (11:51 -0700)]
Silence compiler warning about an uninitialized variable
Charles-Francois Natali [Mon, 20 May 2013 17:08:19 +0000 (19:08 +0200)]
Issue #17684: Fix some test_socket failures due to limited FD passing support
on OS-X. Patch by Jeff Ramnani.
Eli Bendersky [Sun, 4 Aug 2013 01:52:32 +0000 (18:52 -0700)]
Issue #17902: Clarify doc of ElementTree.iterparse
Eli Bendersky [Sun, 4 Aug 2013 00:47:47 +0000 (17:47 -0700)]
Issue #17011: Fix caching of xpath path when namespaces are present.
Thanks to Stefan Behnel for the report and proposed solution & test.
Serhiy Storchaka [Sat, 3 Aug 2013 22:04:15 +0000 (01:04 +0300)]
Issue #16741: Remove testing of implementation artifact.
Serhiy Storchaka [Sat, 3 Aug 2013 20:46:19 +0000 (23:46 +0300)]
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
Serhiy Storchaka [Sat, 3 Aug 2013 18:17:04 +0000 (21:17 +0300)]
Merge heads
Martin v. Löwis [Sat, 3 Aug 2013 18:09:42 +0000 (20:09 +0200)]
Issue #16067: Add description into MSI file to replace installer's temporary name.