Commit graph

53940 commits

Author SHA1 Message Date
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
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
Vinay Sajip 17160fd6d6 Fixes #14314: Improved SMTP timeout handling. 2012-03-15 12:02:08 +00:00
R David Murray 7cc7033cb4 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)
2012-03-15 03:09:53 -04:00
R David Murray 38c2754652 #12758: removing confusing mention of UTC from time.time description
Patch by Dylan Sarber.
2012-03-15 03:06:15 -04:00
Andrew Svetlov d3d7c903e6 Closes issue #14163 - tkinter: problems with hello doc example 2012-03-14 21:41:23 -07:00
Benjamin Peterson 7b51b8de38 try to fix compilation on glibc's with cpu sets (#14296) 2012-03-14 22:28:25 -05:00
Benjamin Peterson 1767e0274b free AST's dict 2012-03-14 21:50:29 -05:00
Raymond Hettinger 4775def25d merge 2012-03-14 18:17:20 -07:00
Raymond Hettinger 13ec112b3a Issue #13248: Removed docs for two deprecated unittest features. To be conservative, the code is left in for one more release. 2012-03-14 18:16:18 -07:00
Gregory P. Smith 187fa8e4b7 merge heads 2012-03-14 18:14:48 -07:00