]>
granicus.if.org Git - python/log
Antoine Pitrou [Wed, 21 Aug 2013 22:48:49 +0000 (00:48 +0200)]
Null merge
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.
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.
Victor Stinner [Wed, 21 Aug 2013 22:19:50 +0000 (00:19 +0200)]
Close #18794: Add a fileno() method and a closed attribute to select.devpoll
objects.
Add also tests on fileno() method and closed attribute of select.epoll and select.kqueue.
Serhiy Storchaka [Wed, 21 Aug 2013 18:52:50 +0000 (21:52 +0300)]
Merge heads
Richard Oudkerk [Wed, 21 Aug 2013 18:45:19 +0000 (19:45 +0100)]
Issue #18762: Print debug info on failure to create new forkserver process.
Also modify test code to hopefully avoid deadlock on failure.
Serhiy Storchaka [Wed, 21 Aug 2013 18:43:08 +0000 (21:43 +0300)]
Issue #17119: Fixed integer overflows when processing large strings and tuples
in the tkinter module.
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:34 +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.
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.
Raymond Hettinger [Wed, 21 Aug 2013 08:34:18 +0000 (01:34 -0700)]
Hoist the global dummy lookup out of the inner loop for set_merge().
Raymond Hettinger [Wed, 21 Aug 2013 06:03:28 +0000 (23:03 -0700)]
Remove a redundant hash table probe (this was artifact from an earlier draft of the patch).
Raymond Hettinger [Wed, 21 Aug 2013 05:28:24 +0000 (22:28 -0700)]
Issue 18772: Restore set dummy object back to unicode and restore the identity checks in lookkey().
The Gdb prettyprint plugin depended on the dummy object being displayable.
Other solutions besides a unicode object are possible. For now, get it
back up and running.
The identity checks in lookkey() need to be there to prevent the dummy
object from leaking through Py_RichCompareBool() into user code in the
rare circumstance where the dummy's hash value exactly matches the hash
value of the actual key being looked up.
Christian Heimes [Tue, 20 Aug 2013 20:09:41 +0000 (22:09 +0200)]
Fix rev85282, add missing import of subprocess module
Serhiy Storchaka [Tue, 20 Aug 2013 17:50:32 +0000 (20:50 +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: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:07:50 +0000 (20:07 +0300)]
Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.
Patch by Yogesh Chaudhari.
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.
Antoine Pitrou [Mon, 19 Aug 2013 21:31:18 +0000 (23:31 +0200)]
Issue #7732: try to fix test_bug7732's flakiness on Windows by executing it in a fresh temporary directory.
Serhiy Storchaka [Mon, 19 Aug 2013 20:19:49 +0000 (23:19 +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: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 20:04:33 +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: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:53:04 +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.
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.
Andrew Kuchling [Mon, 19 Aug 2013 17:07:18 +0000 (13:07 -0400)]
Typo fix
Raymond Hettinger [Mon, 19 Aug 2013 16:12:20 +0000 (09:12 -0700)]
Issue 18774: Update news and whatsnew for the set optimizations
Christian Heimes [Mon, 19 Aug 2013 15:36:39 +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.
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.
Raymond Hettinger [Mon, 19 Aug 2013 14:36:04 +0000 (07:36 -0700)]
Issue18771: Reduce the cost of hash collisions for set objects.
Serhiy Storchaka [Mon, 19 Aug 2013 07:03:11 +0000 (10:03 +0300)]
Issue #18761: Improved cross-references in email documentation.
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:41 +0000 (01:05 -0400)]
Merge with 3.3
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 [Mon, 19 Aug 2013 00:04:34 +0000 (20:04 -0400)]
#18445: update Tools/scripts/README.
- document abitype.py, analyze_dxp.py, get-remote-certificate.py,
import_diagnostics.py, parse_html5_entities.py.
- remove redemo.py which was moved to Tools/Demo.
- sort list into alphabetical order
Patch by Seydou Dia.
Andrew Kuchling [Sun, 18 Aug 2013 23:48:12 +0000 (19:48 -0400)]
#18445: change permissions on some scripts to executable
Andrew Kuchling [Sun, 18 Aug 2013 22:58:27 +0000 (18:58 -0400)]
Merge from 3.3
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:27 +0000 (18:27 -0400)]
Merge with 3.3
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:23:10 +0000 (18:23 -0400)]
Merge with 3.3
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 10:43:24 +0000 (12:43 +0200)]
Issue #18774: Remove last bits of GNU PTH thread code, patch by Vajrasky Kok.
Christian Heimes [Sun, 18 Aug 2013 01:16:16 +0000 (03:16 +0200)]
merge
Christian Heimes [Sun, 18 Aug 2013 01:11:47 +0000 (03:11 +0200)]
add missing #
Christian Heimes [Sun, 18 Aug 2013 01:11:11 +0000 (03:11 +0200)]
add missing #
Antoine Pitrou [Sat, 17 Aug 2013 19:43:47 +0000 (21:43 +0200)]
Make test_wakeup_write_error more robust
(trying to fix a failure on the FreeBSD 9.0 buildbot)
Antoine Pitrou [Sat, 17 Aug 2013 18:27:56 +0000 (20:27 +0200)]
Issue #16105: When a signal handler fails to write to the file descriptor registered with ``signal.set_wakeup_fd()``, report an exception instead of ignoring the error.
Christian Heimes [Sat, 17 Aug 2013 15:25:27 +0000 (17:25 +0200)]
Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.
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:19:03 +0000 (17:19 +0200)]
Issue #18768: coding style nitpick. Thanks to 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:58:13 +0000 (16:58 +0300)]
#18466: merge with 3.3.
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:13:22 +0000 (16:13 +0300)]
#18741: merge with 3.3.
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:02:05 +0000 (15:02 +0200)]
Issue #18178: Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc weak symbols.
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: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.