Commit Graph

49638 Commits

Author SHA1 Message Date
Antoine Pitrou
bbe2f60b3c Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.
2012-03-01 16:26:35 +01:00
Stefan Krah
eb977dac9c Issue #14152: Restore the Include/*.h dependencies for extension builds. 2012-02-29 14:10:53 +01:00
Ezio Melotti
682d37423d #14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk. 2012-02-29 14:05:53 +02:00
Ezio Melotti
443f000bdd #14155: remove duplication about search vs match in re doc. 2012-02-29 13:39:05 +02:00
Ezio Melotti
5a045b9f54 #10713: Improve documentation for \b and \B and add a few tests. Initial patch and tests by Martin Pool. 2012-02-29 11:48:44 +02:00
Larry Hastings
62417a0354 Propagate changes for issues #13053 and #13086 from 2.7 to 3.2. (Doc only.) 2012-02-28 16:21:47 -08:00
Nadeem Vawda
aba2b06001 Give better failure messages in test_strptime (cf. issue #14113). 2012-02-29 00:22:09 +02:00
Sandro Tosi
83c48822c5 s/div/truediv/; thanks to Félix-Antoine Fortin from docs@ 2012-02-28 22:28:28 +01:00
Vinay Sajip
39b83ac772 Improved logging cookbook example. 2012-02-28 08:05:23 +00:00
Georg Brandl
e998386442 Fix markup errors. 2012-02-28 08:21:40 +01:00
Antoine Pitrou
d311374089 Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.
Patch by Mikhail Novikov.
2012-02-27 19:55:36 +01:00
Stefan Krah
2201ecbbfc Issue #14125: backport refleak fix (d4adbf908983). 2012-02-27 17:34:17 +01:00
Vinay Sajip
982f534fab Updated cookbook with information on customising LogRecords. 2012-02-27 11:56:29 +00:00
Vinay Sajip
6b883a2c4d Updated logging cookbook with info on alternative format styles. 2012-02-27 11:02:45 +00:00
Antoine Pitrou
f12b4475cc Merge 2012-02-27 01:01:44 +01:00
Antoine Pitrou
e965d97ed1 Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
Patch by Filip Gruszczyński.
2012-02-27 00:45:12 +01:00
Nadeem Vawda
05a4dd83af Issue #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs. 2012-02-27 00:42:58 +02:00
Gregory P. Smith
3bbdc8e822 Issue #14123: Explicitly mention that old style % string formatting has caveats
but is not going away any time soon.
2012-02-26 01:54:07 -08:00
Éric Araujo
f527277b67 Branch merge 2012-02-26 04:00:43 +01:00
Éric Araujo
845a77205f Set archive format explicitly in one distutils test 2012-02-26 02:14:33 +01:00
Éric Araujo
fab976624d Fix typo in “seperat{or,ion}” 2012-02-26 02:14:08 +01:00
Éric Araujo
a6091998af Use const markup instead of a misleading string literal 2012-02-26 02:13:30 +01:00
Ezio Melotti
4342722f40 #14114: don't include copybutton.js in the htmlhelp output. 2012-02-25 19:24:24 +02:00
Éric Araujo
e7295a7635 Add news entry for previous commit 2012-02-25 16:57:39 +01:00
Éric Araujo
b46562480b Add test file for scripts in Tools (#13447).
When people find bugs in scripts such as reindent.py, msgfmt.py or
pygettext.py, we have to try to reproduce the bug manually, apply a fix
and test manually again.  The alternative is to only read the code and
trust that it works.  This test file is a way to stop that
unsatisfactory state of things and write proper unit tests instead.
2012-02-25 16:57:04 +01:00