Antoine Pitrou
9c47ac05d1
Fix some set algebra methods of WeakSet objects.
2012-03-04 20:47:05 +01:00
Antoine Pitrou
de89d4b097
Port 2.7 fix for sporadic failure in test_weakset.
2012-03-04 20:20:34 +01:00
Antoine Pitrou
4a90ef0363
Issue #14177 : marshal.loads() now raises TypeError when given an unicode string.
...
Patch by Guilherme Gonçalves.
2012-03-03 02:35:32 +01:00
Antoine Pitrou
679e9d36f7
Issue #14172 : Fix reference leak when marshalling a buffer-like object (other than a bytes object).
2012-03-02 18:12:43 +01:00
Eli Bendersky
b2b18632ce
merge 3.2 heads
2012-03-02 07:43:08 +02:00
Eli Bendersky
20293441da
Issue #11379 : add a note in xml.dom.minidom suggesting to use etree in some cases
2012-03-02 07:37:13 +02:00
Vinay Sajip
f959618142
Closes #14158 : improved resilience to test files left behind.
2012-03-02 01:01:13 +00:00
Petri Lehtinen
4d2bfb5e08
sqlite3: Port documentation changes from the 2.7 branch
...
Issue #13491 .
2012-03-01 21:48:38 +02:00
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
Éric Araujo
2e0a0e1640
Fix long-standing bugs with MANIFEST.in parsing on Windows ( #6884 ).
...
These regex changes fix a number of issues for distutils on Windows:
- #6884 : impossible to include a file starting with 'build'
- #9691 and #14004 : sdist includes too many files
- #13193 : test_filelist failures
This commit replaces the incorrect changes done in 0a94e2f807c7 and
90b30d62caf2 to fix #13193 ; we were too eager to fix the test failures
and I did not study the code enough before greenlighting patches. This
time we have unit tests from the problems reported by users to be sure
we have the right fix.
Thanks to Nadeem Vawda for his help.
2012-02-25 16:28:05 +01:00
Martin v. Löwis
3d4809f464
Package mime.types
2012-02-25 10:40:13 +01:00
Benjamin Peterson
ab5a044aec
merge 3.2.2 release branch for rc
2012-02-24 11:47:29 -05:00
Vinay Sajip
349c900ed0
Merged upstream changes.
2012-02-23 20:53:40 +00:00
Vinay Sajip
f05090372a
Fix added for recent changes in non-threading environments.
2012-02-23 20:49:08 +00:00
Georg Brandl
195261ea45
Added tag v3.2.3rc1 for changeset 7085403daf43
2012-02-23 21:19:41 +01:00
Georg Brandl
2142ee8718
Update copyright year.
2012-02-23 21:19:25 +01:00
Georg Brandl
e578021696
Add 3.2.3 to license.
2012-02-23 21:19:18 +01:00
Georg Brandl
bada35bdf5
merge heads
2012-02-23 21:16:49 +01:00
Georg Brandl
afe05bd494
Bump version to 3.2.3rc1.
2012-02-23 21:14:12 +01:00
Georg Brandl
29ca21c702
Update pydoc topics.
2012-02-23 21:12:41 +01:00
Georg Brandl
eb25fb7af7
Fix markup errors.
2012-02-23 21:12:39 +01:00
Vinay Sajip
0abf61db4d
logging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf Khan for the suggestion.
2012-02-23 19:45:52 +00:00
Benjamin Peterson
ba528f57ca
merge 3.1
2012-02-23 10:54:28 -05:00
Benjamin Peterson
273cd1812a
update copyright year
2012-02-23 10:53:44 -05:00
Benjamin Peterson
bff13be344
merge 3.1 (with 3.1.5rc1 release tag)
2012-02-23 10:48:03 -05:00
Benjamin Peterson
31833d4728
Added tag v3.1.5rc1 for changeset ee26aca3219c
2012-02-23 10:46:00 -05:00