Senthil Kumaran
8df2634a7e
merge from 3.2 - issue6566
2012-03-17 00:41:15 -07:00
Senthil Kumaran
f2123d2db5
3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan
2012-03-17 00:40:34 -07:00
Raymond Hettinger
bc8e81dcc3
Section-off the source for better readability.
2012-03-17 00:24:09 -07:00
Raymond Hettinger
dce583e0bd
Minor beautification.
2012-03-16 22:12:20 -07:00
Benjamin Peterson
d845450eef
merge heads
2012-03-17 00:05:59 -05:00
Benjamin Peterson
96384b93aa
make extra arguments to object.__init__/__new__ to errors in most cases (finishes #1683368 )
2012-03-17 00:05:44 -05:00
R David Murray
970952bf6d
Merge #11686 : news entry.
2012-03-16 22:51:00 -04:00
R David Murray
eebe1112ff
#11686 : news entry.
2012-03-16 22:49:54 -04:00
R David Murray
80e22b56d3
Merge #11686 : add missing entries to email __all__ lists.
...
Original patch by Steffen Daode Nurpmeso
2012-03-16 22:46:14 -04:00
R David Murray
1b6c724df0
#11686 : add missing entries to email __all__ lists.
...
Original patch by Steffen Daode Nurpmeso
2012-03-16 22:43:05 -04:00
R David Murray
9b3d4847e5
Merge #11780 : s/throw/raise/
2012-03-16 22:10:44 -04:00
R David Murray
41914349ad
#11780 : s/throw/raise/
2012-03-16 22:10:00 -04:00
R David Murray
1ad2eeaa99
Merge #11780 : document that email.encoders throw TypeError on multipart messages.
2012-03-16 22:04:25 -04:00
R David Murray
69ebfe43b0
#11780 : document that email.encoders throw TypeError on multipart messages.
2012-03-16 22:03:17 -04:00
R David Murray
7104c7295c
#12788 : fix error in test_policy when run under refleak detection
2012-03-16 21:39:57 -04:00
Benjamin Peterson
9a03ecfa50
simply this slightly
2012-03-16 20:15:54 -05:00
Raymond Hettinger
4f5139ba20
Root variable is not changed.
2012-03-16 17:08:37 -07:00
Raymond Hettinger
202d1ad3f6
Fix whitespace
2012-03-16 17:05:17 -07:00
Raymond Hettinger
d37fb55910
Unique sentinel value for cache.get()
2012-03-16 17:04:11 -07:00
Raymond Hettinger
6e8c817687
Refactor calculation of the cache key. Minor code cleanups.
2012-03-16 16:53:05 -07:00
Benjamin Peterson
e80b29b5b6
cleanup Ellipsis and NotImplemented strings after we're done
2012-03-16 18:45:31 -05:00
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