Commit Graph

49614 Commits

Author SHA1 Message Date
É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
Benjamin Peterson
36a6558891 version now 3.1.5rc1 2012-02-23 10:45:48 -05:00
Antoine Pitrou
c09424255a Fix (presumably) test_hash under big-endian systems (PPC). 2012-02-22 03:33:56 +01:00
Antoine Pitrou
4f22a8d739 Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding. 2012-02-22 18:05:43 +01:00
Antoine Pitrou
7214612443 In find_module(), do not silence fileno() and dup() errors. 2012-02-22 18:03:04 +01:00
Nadeem Vawda
9f64f73193 Issue #14053: Fix "make patchcheck" to work with MQ.
Patch by Francisco Martín Brugué
2012-02-22 11:46:41 +02:00
Georg Brandl
7ef825fdab merge with 3.2 2012-02-21 22:36:37 +01:00
Georg Brandl
c9a42070a6 Remove reST markup from --help output. Also: O(n**2) is dict construction, not single insertion. 2012-02-21 22:36:27 +01:00
Antoine Pitrou
86838b02f0 Fix test failure in test_cmd_line by initializing the hash secret at the earliest point. 2012-02-21 19:03:47 +01:00
Martin v. Löwis
dbd3f6173a Issue #6807: Run msisupport.mak earlier. 2012-02-21 18:06:22 +01:00
Martin v. Löwis
26bb3cf7cd Issue #10580: Minor grammar change in Windows installer. 2012-02-21 17:23:55 +01:00
Benjamin Peterson
e249dcab7a merge 3.2 2012-02-21 11:09:13 -05:00
Benjamin Peterson
69e9727657 ensure no one tries to hash things before the random seed is found 2012-02-21 11:08:50 -05:00
Petri Lehtinen
4fe85abab9 sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures
Closes #8033.
2012-02-21 13:49:50 +02:00
Ezio Melotti
29877e8e04 HTMLParser is now able to handle slashes in the start tag. 2012-02-21 09:25:00 +02:00
Georg Brandl
178e5ea305 Disable an inspect test: it depends on dict ordering which parameter is reported as duplicate. 2012-02-21 00:32:36 +01:00
Antoine Pitrou
95a97b7c0c Delete the iterator, which could accidentally keep a temporary reference to the yielded element. 2012-02-21 00:00:06 +01:00
Antoine Pitrou
9edceb3e59 Merge 2012-02-20 23:51:50 +01:00
Georg Brandl
2697cd1a3b Dummy-merge with 3.1 2012-02-20 23:52:16 +01:00
Georg Brandl
91e5c08fe8 Fix typo in conditional. 2012-02-20 23:49:29 +01:00
Antoine Pitrou
e9f637b062 Make "regrtest -j" "-R"-aware 2012-02-20 23:49:07 +01:00
Georg Brandl
e5a0e0a75f Fix obscure failures of datetime-related tests due to the datetime tests failing to restore the system state completely after testing the pure-Python versions. 2012-02-20 23:37:36 +01:00
Georg Brandl
09562b4330 Fix typo. 2012-02-20 23:09:59 +01:00
Georg Brandl
16684eb624 Fix dbm_gnu test relying on set order. 2012-02-20 22:48:06 +01:00
Georg Brandl
f47b20f0b0 Fix use of deprecated assertRegexpMatches method. 2012-02-20 22:08:27 +01:00
Georg Brandl
9571155ae4 Remove setting hash seed to regrtest's random seed and re-execv()ing: this doesn't preserve Python flags and fails from a temp directory. 2012-02-20 22:06:02 +01:00
Georg Brandl
7c573f7a07 Fix dbm_gnu test relying on set order. 2012-02-20 22:48:06 +01:00
Georg Brandl
06b1c4f68b Fix typo. 2012-02-20 23:09:59 +01:00
Georg Brandl
12897d7d39 Fix typo in conditional. 2012-02-20 23:49:29 +01:00
Georg Brandl
61470246d0 Remove setting hash seed to regrtest's random seed and re-execv()ing: this doesn't preserve Python flags and fails from a temp directory. 2012-02-20 22:06:02 +01:00
Georg Brandl
27fe226eb1 Another test_dis dict order dependency. 2012-02-20 22:03:28 +01:00
Georg Brandl
b9dafe618f Merge with 3.1. 2012-02-20 21:43:25 +01:00
Georg Brandl
a108227c47 Fix test_dis dependency on dict order. 2012-02-20 21:41:03 +01:00