]>
granicus.if.org Git - python/log
R David Murray [Sat, 17 Mar 2012 20:39:44 +0000 (16:39 -0400)]
Merge #14333: fix test_queue so it can be run via standard unittest test discovery.
R David Murray [Sat, 17 Mar 2012 20:38:39 +0000 (16:38 -0400)]
#14333: fix test_queue so it can be run via standard unittest test discovery.
R David Murray [Sat, 17 Mar 2012 19:11:59 +0000 (15:11 -0400)]
#14344: fixed the repr of email.policy objects.
Ned Deily [Sat, 17 Mar 2012 17:52:08 +0000 (10:52 -0700)]
Issue #14347: Update Misc/README list of files.
(Initial patch by Dionysios Kalofonos)
Georg Brandl [Sat, 17 Mar 2012 17:39:20 +0000 (18:39 +0100)]
merge with 3.2
Georg Brandl [Sat, 17 Mar 2012 17:38:13 +0000 (18:38 +0100)]
Move MANIFEST parsing change to the right position.
Ned Deily [Sat, 17 Mar 2012 17:30:48 +0000 (10:30 -0700)]
Issue #14346: merge
Ned Deily [Sat, 17 Mar 2012 17:29:41 +0000 (10:29 -0700)]
Issue #14346: Fix some typos in the Mac/README file.
(Patch by Dionysios Kalofonos)
Georg Brandl [Sat, 17 Mar 2012 16:29:39 +0000 (17:29 +0100)]
merge with 3.2
Georg Brandl [Sat, 17 Mar 2012 16:29:27 +0000 (17:29 +0100)]
Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern
Georg Brandl [Sat, 17 Mar 2012 16:26:36 +0000 (17:26 +0100)]
merge with 3.2
Georg Brandl [Sat, 17 Mar 2012 16:26:27 +0000 (17:26 +0100)]
Closes #14343: avoid shadowing builtin input() in example code.
Georg Brandl [Sat, 17 Mar 2012 16:25:47 +0000 (17:25 +0100)]
Closes #14342: remove out-of-date section about avoiding recursion errors.
Georg Brandl [Sat, 17 Mar 2012 15:58:12 +0000 (16:58 +0100)]
merge with 3.2
Georg Brandl [Sat, 17 Mar 2012 15:58:05 +0000 (16:58 +0100)]
Closes #14306: clarify expensiveness of try-except and update code snippet
Eli Bendersky [Sat, 17 Mar 2012 13:14:35 +0000 (15:14 +0200)]
updated whatsnew/3.3.rst with the new methods added to list and bytearray (issue 10516)
Senthil Kumaran [Sat, 17 Mar 2012 07:41:15 +0000 (00:41 -0700)]
merge from 3.2 - issue6566
Senthil Kumaran [Sat, 17 Mar 2012 07:40:34 +0000 (00:40 -0700)]
3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan
Raymond Hettinger [Sat, 17 Mar 2012 07:24:09 +0000 (00:24 -0700)]
Section-off the source for better readability.
Raymond Hettinger [Sat, 17 Mar 2012 05:12:20 +0000 (22:12 -0700)]
Minor beautification.
Benjamin Peterson [Sat, 17 Mar 2012 05:05:59 +0000 (00:05 -0500)]
merge heads
Benjamin Peterson [Sat, 17 Mar 2012 05:05:44 +0000 (00:05 -0500)]
make extra arguments to object.__init__/__new__ to errors in most cases (finishes #
1683368 )
R David Murray [Sat, 17 Mar 2012 02:51:00 +0000 (22:51 -0400)]
Merge #11686: news entry.
R David Murray [Sat, 17 Mar 2012 02:49:54 +0000 (22:49 -0400)]
#11686: news entry.
R David Murray [Sat, 17 Mar 2012 02:46:14 +0000 (22:46 -0400)]
Merge #11686: add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
R David Murray [Sat, 17 Mar 2012 02:43:05 +0000 (22:43 -0400)]
#11686: add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
R David Murray [Sat, 17 Mar 2012 02:10:44 +0000 (22:10 -0400)]
Merge #11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:10:00 +0000 (22:10 -0400)]
#11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:04:25 +0000 (22:04 -0400)]
Merge #11780: document that email.encoders throw TypeError on multipart messages.
R David Murray [Sat, 17 Mar 2012 02:03:17 +0000 (22:03 -0400)]
#11780: document that email.encoders throw TypeError on multipart messages.
R David Murray [Sat, 17 Mar 2012 01:39:57 +0000 (21:39 -0400)]
#12788: fix error in test_policy when run under refleak detection
Benjamin Peterson [Sat, 17 Mar 2012 01:15:54 +0000 (20:15 -0500)]
simply this slightly
Raymond Hettinger [Sat, 17 Mar 2012 00:08:37 +0000 (17:08 -0700)]
Root variable is not changed.
Raymond Hettinger [Sat, 17 Mar 2012 00:05:17 +0000 (17:05 -0700)]
Fix whitespace
Raymond Hettinger [Sat, 17 Mar 2012 00:04:11 +0000 (17:04 -0700)]
Unique sentinel value for cache.get()
Raymond Hettinger [Fri, 16 Mar 2012 23:53:05 +0000 (16:53 -0700)]
Refactor calculation of the cache key. Minor code cleanups.
Benjamin Peterson [Fri, 16 Mar 2012 23:45:31 +0000 (18:45 -0500)]
cleanup Ellipsis and NotImplemented strings after we're done
Antoine Pitrou [Fri, 16 Mar 2012 23:24:12 +0000 (00:24 +0100)]
Merge
Antoine Pitrou [Fri, 16 Mar 2012 23:23:04 +0000 (00:23 +0100)]
Issue #14335: multiprocessing's custom Pickler subclass now inherits from the C-accelerated implementation.
Patch by sbt.
Benjamin Peterson [Fri, 16 Mar 2012 23:22:53 +0000 (18:22 -0500)]
merge heads
Benjamin Peterson [Fri, 16 Mar 2012 23:22:26 +0000 (18:22 -0500)]
clear the root with the cache
Raymond Hettinger [Fri, 16 Mar 2012 18:48:12 +0000 (11:48 -0700)]
Minor code cleanup.
Benjamin Peterson [Fri, 16 Mar 2012 18:25:58 +0000 (13:25 -0500)]
plug memory leak (closes #14325)
Raymond Hettinger [Fri, 16 Mar 2012 18:21:39 +0000 (11:21 -0700)]
Eliminate duplicate link lookup. Minor cleanup.
Benjamin Peterson [Fri, 16 Mar 2012 17:24:01 +0000 (12:24 -0500)]
kill capsule names that we don't need anymore
Benjamin Peterson [Fri, 16 Mar 2012 17:23:39 +0000 (12:23 -0500)]
use memory macros
Benjamin Peterson [Fri, 16 Mar 2012 17:21:02 +0000 (12:21 -0500)]
check result of PyMem_New
Benjamin Peterson [Fri, 16 Mar 2012 15:13:30 +0000 (10:13 -0500)]
merge heads
Benjamin Peterson [Fri, 16 Mar 2012 15:12:55 +0000 (10:12 -0500)]
fix condition (#14296)
Eli Bendersky [Fri, 16 Mar 2012 14:51:01 +0000 (16:51 +0200)]
Issue #14202: some additional doc fixes
Eli Bendersky [Fri, 16 Mar 2012 14:49:58 +0000 (16:49 +0200)]
Issue #14202: some additional doc fixes
Benjamin Peterson [Fri, 16 Mar 2012 14:39:12 +0000 (09:39 -0500)]
in
72556ff86828 , I should have updated the magic as well as the comment (#14230)
Benjamin Peterson [Fri, 16 Mar 2012 14:35:38 +0000 (09:35 -0500)]
merge 3.2 (#14334)
Benjamin Peterson [Fri, 16 Mar 2012 14:32:59 +0000 (09:32 -0500)]
check to make sure the attribute is a string (#14334)
Eli Bendersky [Fri, 16 Mar 2012 13:32:04 +0000 (15:32 +0200)]
fix trailing whitespace
Eli Bendersky [Fri, 16 Mar 2012 13:30:53 +0000 (15:30 +0200)]
merge heads
Eli Bendersky [Fri, 16 Mar 2012 13:29:50 +0000 (15:29 +0200)]
Add a test that makes sure TreeBuilder can be passed element_factory in the
constructor. Marked as expectedFailure since it currently fails for the C
implementation.
Jean-Paul Calderone [Fri, 16 Mar 2012 12:51:42 +0000 (08:51 -0400)]
Issue #14325: Stop using python lists, capsules, and the garbage collector to deal with PyArg_Parse* cleanup.
Eli Bendersky [Fri, 16 Mar 2012 12:40:13 +0000 (14:40 +0200)]
Issue #14202: Greatly enhance the documentation of xml.dom.pulldom.
Patch by Florian Mladitsch
Eli Bendersky [Fri, 16 Mar 2012 12:37:14 +0000 (14:37 +0200)]
Issue #14202: Greatly enhance the documentation of xml.dom.pulldom.
Patch by Florian Mladitsch
Raymond Hettinger [Fri, 16 Mar 2012 08:18:33 +0000 (01:18 -0700)]
merge
Raymond Hettinger [Fri, 16 Mar 2012 08:16:31 +0000 (01:16 -0700)]
Improve the memory utilization (and speed) of functools.lru_cache().
Senthil Kumaran [Fri, 16 Mar 2012 08:14:51 +0000 (01:14 -0700)]
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
Senthil Kumaran [Fri, 16 Mar 2012 08:13:50 +0000 (01:13 -0700)]
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
Eli Bendersky [Fri, 16 Mar 2012 07:17:43 +0000 (09:17 +0200)]
Issue #13709: some fixes to the ctypes documentation. In addition to fixing
the problems pointed in the issue, I removed the confusing Windows/Linux
distinction. It serves no real goal in the documentation, and is probably
wrong anyway since for Windows the WINFUNCTYPE constructor should be used.
In addition, the "look, this is faster on Linux" comment is misleading since
it's not explained. The outcome may just be an artifact of qsort implementation
for this particular input, and may change between C runtime version releases.
Eli Bendersky [Fri, 16 Mar 2012 06:42:36 +0000 (08:42 +0200)]
Issue #9257: clarify the events iterparse accepts
Eli Bendersky [Fri, 16 Mar 2012 06:41:30 +0000 (08:41 +0200)]
Issue #9257: clarify the events iterparse accepts
Eli Bendersky [Fri, 16 Mar 2012 06:20:05 +0000 (08:20 +0200)]
Issue #14207: the ParseError exception raised by _elementtree was made
consistent to the one raised by the Python module (the 'code' attribute
was added).
In addition, the exception is now documented.
Added a test to check that ParseError has the required attributes, and
threw away the equivalent doctest which is no longer required.
Eli Bendersky [Fri, 16 Mar 2012 03:53:30 +0000 (05:53 +0200)]
Closes Issue #14246: _elementtree parser will now handle io.StringIO
Senthil Kumaran [Fri, 16 Mar 2012 01:15:34 +0000 (18:15 -0700)]
Explain the use of charset parameter with Content-Type header: issue11082
Senthil Kumaran [Fri, 16 Mar 2012 01:11:16 +0000 (18:11 -0700)]
Explain the use of charset parameter with Content-Type header. Issue11082
Matthias Klose [Thu, 15 Mar 2012 21:19:28 +0000 (22:19 +0100)]
- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
config.{guess,sub}. Don't use uname calls for cross builds.
Benjamin Peterson [Thu, 15 Mar 2012 20:40:37 +0000 (15:40 -0500)]
fix comment
Benjamin Peterson [Thu, 15 Mar 2012 20:38:17 +0000 (15:38 -0500)]
merge heads
Benjamin Peterson [Thu, 15 Mar 2012 20:37:54 +0000 (15:37 -0500)]
space
Benjamin Peterson [Thu, 15 Mar 2012 20:37:39 +0000 (15:37 -0500)]
perform yield from delegation by repeating YIELD_FROM opcode (closes #14230)
This allows generators that are using yield from to be seen by debuggers. It
also kills the f_yieldfrom field on frame objects.
Patch mostly from Mark Shannon with a few tweaks by me.
Matthias Klose [Thu, 15 Mar 2012 20:30:11 +0000 (21:30 +0100)]
- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
config.{guess,sub}.
Senthil Kumaran [Thu, 15 Mar 2012 20:28:27 +0000 (13:28 -0700)]
port from 3.2 - Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199
Senthil Kumaran [Thu, 15 Mar 2012 20:26:12 +0000 (13:26 -0700)]
closes Issue #11199: Fix the with urllib which hangs on particular ftp urls.
Matthias Klose [Thu, 15 Mar 2012 19:42:23 +0000 (20:42 +0100)]
- Issue #14324: Fix configure tests for cross builds.
when configured with --(en|dis)able-ipv6 for cross builds, don't fail the configury due to the missing buggy-getaddrinfo check.
Matthias Klose [Thu, 15 Mar 2012 18:51:34 +0000 (19:51 +0100)]
- Issue #14324: Fix configure tests for cross builds.
when configured --with(out)-computed-gotos for a cross, use this value instead of defaulting to no.
Matthias Klose [Thu, 15 Mar 2012 18:31:06 +0000 (19:31 +0100)]
- Issue #14324: Fix configure tests for cross builds.
when using gcc, use a compilation test for the cross build check for long long format.
Matthias Klose [Thu, 15 Mar 2012 17:08:34 +0000 (18:08 +0100)]
- Issue #14321: Do not run pgen during the build if files are up to date.
Giampaolo Rodola' [Thu, 15 Mar 2012 12:05:41 +0000 (13:05 +0100)]
(sched) when run() is invoked with blocking=False return the deadline of the next scheduled call in the scheduler; this use case was suggested in http://bugs.python.org/issue1641#msg149453
Vinay Sajip [Thu, 15 Mar 2012 12:02:08 +0000 (12:02 +0000)]
Fixes #14314: Improved SMTP timeout handling.
R David Murray [Thu, 15 Mar 2012 07:09:53 +0000 (03:09 -0400)]
Merge #12758: removing confusing mention of UTC from time.time description
Patch by Dylan Sarber.
(Not sure why hg told me it merged pyexpat.c too, it showed no changes)
R David Murray [Thu, 15 Mar 2012 07:06:15 +0000 (03:06 -0400)]
#12758: removing confusing mention of UTC from time.time description
Patch by Dylan Sarber.
Andrew Svetlov [Thu, 15 Mar 2012 04:41:23 +0000 (21:41 -0700)]
Closes issue #14163 - tkinter: problems with hello doc example
Benjamin Peterson [Thu, 15 Mar 2012 03:28:25 +0000 (22:28 -0500)]
try to fix compilation on glibc's with cpu sets (#14296)
Benjamin Peterson [Thu, 15 Mar 2012 02:50:29 +0000 (21:50 -0500)]
free AST's dict
Raymond Hettinger [Thu, 15 Mar 2012 01:17:20 +0000 (18:17 -0700)]
merge
Raymond Hettinger [Thu, 15 Mar 2012 01:16:18 +0000 (18:16 -0700)]
Issue #13248: Removed docs for two deprecated unittest features. To be conservative, the code is left in for one more release.
Gregory P. Smith [Thu, 15 Mar 2012 01:14:48 +0000 (18:14 -0700)]
merge heads
Gregory P. Smith [Thu, 15 Mar 2012 01:14:26 +0000 (18:14 -0700)]
merge heads
Gregory P. Smith [Thu, 15 Mar 2012 01:11:46 +0000 (18:11 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.
Senthil Kumaran [Thu, 15 Mar 2012 01:11:46 +0000 (18:11 -0700)]
cpython:Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
Gregory P. Smith [Thu, 15 Mar 2012 01:10:37 +0000 (18:10 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.
Senthil Kumaran [Thu, 15 Mar 2012 01:08:13 +0000 (18:08 -0700)]
Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
Victor Stinner [Thu, 15 Mar 2012 00:22:16 +0000 (01:22 +0100)]
Issue #14222: Use the new time.steady() function instead of time.time() for
timeout in queue and threading modules to not be affected of system time
update.
Victor Stinner [Thu, 15 Mar 2012 00:17:09 +0000 (01:17 +0100)]
Issue #10278: Add an optional strict argument to time.steady(), False by default