Antoine Pitrou
020bf28200
Merge
2012-03-17 00:24:12 +01:00
Antoine Pitrou
846fd302a0
Issue #14335 : multiprocessing's custom Pickler subclass now inherits from the C-accelerated implementation.
...
Patch by sbt.
2012-03-17 00:23:04 +01:00
Benjamin Peterson
29a837d857
merge heads
2012-03-16 18:22:53 -05:00
Benjamin Peterson
954cf578c7
clear the root with the cache
2012-03-16 18:22:26 -05:00
Raymond Hettinger
d656958915
Minor code cleanup.
2012-03-16 11:48:12 -07:00
Benjamin Peterson
01feaecbfa
plug memory leak ( closes #14325 )
2012-03-16 13:25:58 -05:00
Raymond Hettinger
57b2959d26
Eliminate duplicate link lookup. Minor cleanup.
2012-03-16 11:21:39 -07:00
Benjamin Peterson
eb74918685
kill capsule names that we don't need anymore
2012-03-16 12:24:01 -05:00
Benjamin Peterson
f7c132158d
use memory macros
2012-03-16 12:23:39 -05:00
Benjamin Peterson
7ed67270a8
check result of PyMem_New
2012-03-16 12:21:02 -05:00
Benjamin Peterson
49f0b70906
merge heads
2012-03-16 10:13:30 -05:00
Benjamin Peterson
2dbda07a17
fix condition ( #14296 )
2012-03-16 10:12:55 -05:00
Eli Bendersky
c105cf5aff
Issue #14202 : some additional doc fixes
2012-03-16 16:51:01 +02:00
Eli Bendersky
969b8daf5a
Issue #14202 : some additional doc fixes
2012-03-16 16:49:58 +02:00
Benjamin Peterson
f53d20f2cd
in 72556ff86828, I should have updated the magic as well as the comment ( #14230 )
2012-03-16 09:39:12 -05:00
Benjamin Peterson
de394543b4
merge 3.2 ( #14334 )
2012-03-16 09:35:38 -05:00
Benjamin Peterson
16d84ac355
check to make sure the attribute is a string ( #14334 )
2012-03-16 09:32:59 -05:00
Eli Bendersky
6e33525098
fix trailing whitespace
2012-03-16 15:32:04 +02:00
Eli Bendersky
fd878b88cc
merge heads
2012-03-16 15:30:53 +02:00
Eli Bendersky
2b711409c7
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.
2012-03-16 15:29:50 +02:00
Jean-Paul Calderone
c961b4abaa
Issue #14325 : Stop using python lists, capsules, and the garbage collector to deal with PyArg_Parse* cleanup.
2012-03-16 08:51:42 -04:00
Eli Bendersky
68ca5a6bcc
Issue #14202 : Greatly enhance the documentation of xml.dom.pulldom.
...
Patch by Florian Mladitsch
2012-03-16 14:40:13 +02:00
Eli Bendersky
3fb05a90ce
Issue #14202 : Greatly enhance the documentation of xml.dom.pulldom.
...
Patch by Florian Mladitsch
2012-03-16 14:37:14 +02:00
Raymond Hettinger
e60d2d9911
merge
2012-03-16 01:18:33 -07:00
Raymond Hettinger
ec0e91045e
Improve the memory utilization (and speed) of functools.lru_cache().
2012-03-16 01:16:31 -07:00
Senthil Kumaran
209d70e579
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
2012-03-16 01:14:51 -07:00
Senthil Kumaran
be3f851411
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
2012-03-16 01:13:50 -07:00
Eli Bendersky
2a1e74a075
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.
2012-03-16 09:17:43 +02:00
Eli Bendersky
3405001491
Issue #9257 : clarify the events iterparse accepts
2012-03-16 08:42:36 +02:00
Eli Bendersky
604c4ff43d
Issue #9257 : clarify the events iterparse accepts
2012-03-16 08:41:30 +02:00
Eli Bendersky
5b77d81314
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.
2012-03-16 08:20:05 +02:00
Eli Bendersky
f996e775ea
Closes Issue #14246 : _elementtree parser will now handle io.StringIO
2012-03-16 05:53:30 +02:00
Senthil Kumaran
e53d977e80
Explain the use of charset parameter with Content-Type header: issue11082
2012-03-15 18:15:34 -07:00
Senthil Kumaran
6b3434ae04
Explain the use of charset parameter with Content-Type header. Issue11082
2012-03-15 18:11:16 -07:00
Matthias Klose
df2aecbf61
- Issue #14327 : Call AC_CANONICAL_HOST in configure.ac and check in
...
config.{guess,sub}. Don't use uname calls for cross builds.
2012-03-15 22:19:28 +01:00
Benjamin Peterson
abdb5528c0
fix comment
2012-03-15 15:40:37 -05:00
Benjamin Peterson
5e259c8094
merge heads
2012-03-15 15:38:17 -05:00
Benjamin Peterson
f50af113ab
space
2012-03-15 15:37:54 -05:00
Benjamin Peterson
2afe6aeae8
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.
2012-03-15 15:37:39 -05:00
Matthias Klose
ca2f6ecfc9
- Issue #14327 : Call AC_CANONICAL_HOST in configure.ac and check in
...
config.{guess,sub}.
2012-03-15 21:30:11 +01:00
Senthil Kumaran
3270d11d8a
port from 3.2 - Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199
2012-03-15 13:28:27 -07:00
Senthil Kumaran
73277fe0eb
closes Issue #11199 : Fix the with urllib which hangs on particular ftp urls.
2012-03-15 13:26:12 -07:00
Matthias Klose
9635013a8f
- 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.
2012-03-15 20:42:23 +01:00
Benjamin Peterson
d6c75b5a03
Added tag v3.1.5rc2 for changeset 75db2bc69fc9
2012-03-15 13:58:31 -05:00
Benjamin Peterson
c7536c4ff5
merge heads
2012-03-15 13:57:38 -05:00
Benjamin Peterson
ba98788bc5
bump to 3.1.5rc2
2012-03-15 13:57:27 -05:00
Matthias Klose
b17289e199
- 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.
2012-03-15 19:51:34 +01:00
Matthias Klose
3b739b149b
- Issue #14324 : Fix configure tests for cross builds.
...
when using gcc, use a compilation test for the cross build check for long long format.
2012-03-15 19:31:06 +01:00
Matthias Klose
93a0ef16c9
- Issue #14321 : Do not run pgen during the build if files are up to date.
2012-03-15 18:08:34 +01:00
Giampaolo Rodola'
a4e018889a
(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
2012-03-15 13:05:41 +01:00