Commit graph

55534 commits

Author SHA1 Message Date
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
Antoine Pitrou
ba6bafcfbe Fix compile failure under Windows 2012-02-22 16:41:50 +01:00
Victor Stinner
c516610f0b Optimize str%arg for number formats: %i, %d, %u, %x, %p
Write a specialized function to write an ASCII/latin1 C char* string into a
Python Unicode string.
2012-02-22 13:55:02 +01:00
Victor Stinner
99d7ad0bb0 Micro-optimize computation of maxchar in PyUnicode_TransformDecimalToASCII() 2012-02-22 13:37:39 +01:00
Victor Stinner
da79e632c4 Micro-optimize unicode_expandtabs(): use FILL() macro to write N spaces 2012-02-22 13:37:04 +01:00
Victor Stinner
15e9ed299c PyUnicode_New() and unicode_putchar() check for MAX_UNICODE maximum (U+10FFFF) 2012-02-22 13:36:20 +01:00
Nadeem Vawda
6721149501 Merge: #14053: Fix "make patchcheck" to work with MQ.
Patch by Francisco Martín Brugué
2012-02-22 11:53:09 +02: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
Ross Lagerwall
e7ad419058 Fix sporadic test_subprocess regression introduced by 834650d63130. 2012-02-22 06:02:07 +02:00
Antoine Pitrou
c09424255a Fix (presumably) test_hash under big-endian systems (PPC). 2012-02-22 03:33:56 +01:00
Antoine Pitrou
679be99a85 Fix (presumably) test_hash under big-endian systems (PPC). 2012-02-22 03:33:56 +01:00
Antoine Pitrou
658d1963e1 Additional debug info in case of failure 2012-02-22 02:46:58 +01:00
Antoine Pitrou
037615e1ef unload() should be sufficient 2012-02-22 02:30:09 +01:00
Antoine Pitrou
abe72d7eb3 Try to debug sporadic test failures 2012-02-22 01:11:31 +01:00
Benjamin Peterson
b43fde98b4 remove unapplicable statement 2012-02-21 18:03:26 -05:00
Georg Brandl
42ae472798 merge with 3.2 2012-02-21 22:37:36 +01: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
Victor Stinner
65532111b4 site: don't import traceback at startup to speed up Python startup 2012-02-21 22:10:16 +01:00
Benjamin Peterson
c9f54cf512 enable hash randomization by default 2012-02-21 16:08:05 -05:00
Martin v. Löwis
6ca5a4d49f Issue #12406: Update list of files. 2012-02-21 19:54:26 +01:00
Antoine Pitrou
bc499d26a8 Actually run the new tests. 2012-02-21 19:18:10 +01:00
Antoine Pitrou
07c65884c6 Add a test that memoryviews have hash randomization enabled. 2012-02-21 19:14:26 +01:00
Antoine Pitrou
528b54b263 Fix test failure in test_cmd_line by initializing the hash secret at the earliest point. 2012-02-21 19:08:26 +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
61f996b26a Issue #12406: prevent case where shortened name could conflict with short name. 2012-02-21 18:49:10 +01:00
Martin v. Löwis
dc4170c5bc merge 2.6 2012-02-21 18:07:58 +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
f9caee9ab4 merge 3.2 2012-02-21 17:26:10 +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
d9a3591ed1 merge 3.2 2012-02-21 11:12:14 -05: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
8b24506534 Merge branch '3.2'
Closes #8033.
2012-02-21 13:59:40 +02: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
307da2b070 Merge the HTMLParser fix with 3.2. 2012-02-21 09:29:10 +02:00
Ezio Melotti
29877e8e04 HTMLParser is now able to handle slashes in the start tag. 2012-02-21 09:25:00 +02:00
Benjamin Peterson
79d38788ee update unicode link 2012-02-20 22:35:25 -05:00
Benjamin Peterson
fb36e66d2c adjust docs for unicode 6.1 2012-02-20 22:34:50 -05:00
Benjamin Peterson
71f660e00f update to Unicode 6.1 2012-02-20 22:24:29 -05:00
Georg Brandl
16fa2a1097 Forgot the "empty string -> hash == 0" special case for strings. 2012-02-21 00:50:13 +01:00
Georg Brandl
802505d05e Merge more test vs hashing-order fixes from 3.2. 2012-02-21 00:34:05 +01:00
Georg Brandl
2fb477c0f0 Merge 3.2: Issue #13703 plus some related test suite fixes. 2012-02-21 00:33:36 +01: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