]>
granicus.if.org Git - python/log
Victor Stinner [Sat, 24 Aug 2013 13:53:39 +0000 (15:53 +0200)]
(Merge 3.3) test_socket: cancel scheduled alarm on test failure
Victor Stinner [Sat, 24 Aug 2013 13:52:47 +0000 (15:52 +0200)]
test_socket: cancel scheduled alarm on test failure
Benjamin Peterson [Sat, 24 Aug 2013 02:01:48 +0000 (21:01 -0500)]
remove support for compiling on systems without getcwd()
Do we need a fallback implementation of getcwd() from 1991 that claims to
support "really old Unix systems"? I don't think so.
Serhiy Storchaka [Fri, 23 Aug 2013 21:42:54 +0000 (00:42 +0300)]
Merge heads
Serhiy Storchaka [Fri, 23 Aug 2013 21:27:59 +0000 (00:27 +0300)]
Issue #18757: Improved cross-references in the concurrent package.
Serhiy Storchaka [Fri, 23 Aug 2013 21:23:38 +0000 (00:23 +0300)]
Issue #18757: Improved cross-references in the concurrent package.
Antoine Pitrou [Fri, 23 Aug 2013 21:18:20 +0000 (23:18 +0200)]
Back out
5bd9db528aed (issue #18408). It caused unsolved buildbot failures.
Antoine Pitrou [Fri, 23 Aug 2013 21:04:30 +0000 (23:04 +0200)]
Issue #17741: use composition, rather than inheritance, for xml.etree.iterparse's result class.
Patch by Stefan Behnel.
Ezio Melotti [Fri, 23 Aug 2013 20:09:32 +0000 (23:09 +0300)]
#18798: merge typo fix from 3.3 and also use two unused variables.
Ezio Melotti [Fri, 23 Aug 2013 20:06:31 +0000 (23:06 +0300)]
#18798: fix typo in test_fcntl. Patch by Vajrasky Kok.
Ezio Melotti [Fri, 23 Aug 2013 19:41:39 +0000 (22:41 +0300)]
#18796: improve documentation of the file argument of dis.show_code. Initial patch by Vajrasky Kok.
Brett Cannon [Fri, 23 Aug 2013 19:15:48 +0000 (15:15 -0400)]
Issue #18394: Explicitly close the file object cgi.FieldStorage
caches.
Eliminates the ResoureWarning raised during testing.
Patch also independently written by Vajrasky Kok.
Brett Cannon [Fri, 23 Aug 2013 18:38:11 +0000 (14:38 -0400)]
Stop using assertEquals.
Brett Cannon [Fri, 23 Aug 2013 18:31:27 +0000 (14:31 -0400)]
Make test_import more robust and stop using assertRaisesRegexp().
Victor Stinner [Fri, 23 Aug 2013 17:23:42 +0000 (19:23 +0200)]
(Merge 3.3) Close #17702: On error, os.environb now removes suppress the except
context when raising a new KeyError with the original key.
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 16:10:09 +0000 (12:10 -0400)]
Delete merge markers
Brett Cannon [Fri, 23 Aug 2013 15:52:44 +0000 (11:52 -0400)]
merge for issue #18755
Brett Cannon [Fri, 23 Aug 2013 15:52:19 +0000 (11:52 -0400)]
merge for issue #18755
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 15:00:04 +0000 (11:00 -0400)]
merge emphasized discouragement of overriding __import__
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__.
Raymond Hettinger [Fri, 23 Aug 2013 08:22:15 +0000 (03:22 -0500)]
Add the same dummy type that is used in dictionaries.
Tim Peters [Thu, 22 Aug 2013 23:42:02 +0000 (18:42 -0500)]
Add line explaining the "%sort" test.
Tim Peters [Thu, 22 Aug 2013 23:32:53 +0000 (18:32 -0500)]
Add line explaining the "%sort" test.
(grafted from
1ea833ecaf5a9d43a886e9e73b4e2551d0d5b548 )
Richard Oudkerk [Thu, 22 Aug 2013 22:37:23 +0000 (23:37 +0100)]
Make test for semaphore tracker capture and check the debug output.
Raymond Hettinger [Thu, 22 Aug 2013 15:20:31 +0000 (08:20 -0700)]
Issue 18797: Remove unneeded refcount adjustments for dummy objects.
It suffices to keep just one reference when the object is created.
Serhiy Storchaka [Thu, 22 Aug 2013 14:53:06 +0000 (17:53 +0300)]
Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.
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:42:05 +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.
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.
Richard Oudkerk [Thu, 22 Aug 2013 13:03:44 +0000 (14:03 +0100)]
Fix devpoll_dealloc().
Richard Oudkerk [Thu, 22 Aug 2013 12:31:15 +0000 (13:31 +0100)]
Move definition of devpoll_internal_close() before devpoll_close().
Richard Oudkerk [Thu, 22 Aug 2013 12:04:23 +0000 (13:04 +0100)]
Fix compilation of select module on Solaris.
Christian Heimes [Thu, 22 Aug 2013 11:22:46 +0000 (13:22 +0200)]
Issue #18747: Update Misc/NEWS to reflect the latest changeset.
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:56 +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.
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.
Richard Oudkerk [Thu, 22 Aug 2013 10:38:57 +0000 (11:38 +0100)]
Stop making fork server have copy of semaphore_tracker_fd.
Richard Oudkerk [Thu, 22 Aug 2013 10:38:55 +0000 (11:38 +0100)]
Issue #18762: Fix EBADF error when using forkserver.
R David Murray [Thu, 22 Aug 2013 01:13:51 +0000 (21:13 -0400)]
Merge #18324: set_payload now correctly handles binary input.
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.
Victor Stinner [Thu, 22 Aug 2013 00:23:13 +0000 (02:23 +0200)]
remove unused declaration
Victor Stinner [Wed, 21 Aug 2013 23:58:12 +0000 (01:58 +0200)]
Cleanup test_builtin
Victor Stinner [Wed, 21 Aug 2013 23:58:04 +0000 (01:58 +0200)]
Use new new stat.S_ISDOOR() function, instead of hardcoded mask
Tim Peters [Wed, 21 Aug 2013 23:55:56 +0000 (18:55 -0500)]
Merge 3.3 into default.
The only file change is adding the v3.2.5 tag to the .hgtags file.
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: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