Stefan Krah
cd81709b9e
Merge.
2012-11-06 23:51:42 +01:00
Victor Stinner
ab8b6bd7fb
Issue #16414 : Test more characters for support.FS_NONASCII
...
It should increase the probability of finding a non-ASCII character on any
locale encoding.
2012-11-06 23:43:21 +01:00
Victor Stinner
90a9d51137
Issue #16414 : Fix typo in support.TESTFN_NONASCII (useless space)
2012-11-06 23:40:22 +01:00
Stefan Krah
e84226ac23
Null merge.
2012-11-06 23:36:08 +01:00
Victor Stinner
8f049e5b5b
Issue #16414 : Fix support.TESTFN_UNDECODABLE and test_genericpath.test_nonascii_abspath()
...
* support.TESTFN_UNDECODABLE was decodable if the filesystem encoding was
cp932
* test_genericpath.test_nonascii_abspath() didn't work on Windows if the
path was not decodable (ex: with cp932)
2012-11-06 23:33:46 +01:00
Stefan Krah
c3fb3c3fa0
Backport fc8f1b1c76bf.
2012-11-06 23:27:24 +01:00
Victor Stinner
8b219b2936
Issue #16414 : Add support.FS_NONASCII and support.TESTFN_NONASCII
...
These constants are used to test functions with non-ASCII data, especially
filenames.
2012-11-06 23:23:43 +01:00
Tim Golden
df1d940c7c
Reversed changes from issue9584
2012-11-06 15:34:23 +00:00
Tim Golden
9b3fb0c6a0
Backed out changeset dafca4714298
2012-11-06 15:33:30 +00:00
Tim Golden
3df8887fdf
Backed out changeset 5cf6c427fd39
2012-11-06 15:32:50 +00:00
Tim Golden
7fd4b68a70
Correct mis-indented whitespace
2012-11-06 13:55:42 +00:00
Tim Golden
8f323d9aca
issue9584: Add {} list expansion to glob. Original patch by Mathieu Bridon
2012-11-06 13:50:42 +00:00
Ezio Melotti
10ffea887c
Merge typo fix.
2012-11-05 22:23:16 +02:00
Ezio Melotti
99bafff7cc
Fix typo noticed by Tom Lynn.
2012-11-05 22:22:48 +02:00
Nick Coghlan
d9d1d08b07
Merge #6717 crasher from 3.3
2012-11-05 21:33:22 +10:00
Nick Coghlan
1de70b52a4
Merge #6717 crasher from 3.2
2012-11-05 21:32:11 +10:00
Nick Coghlan
692b023f77
Record a known crasher from #6717
2012-11-05 21:26:57 +10:00
Nick Coghlan
82de6d20de
Merge from 3.3
2012-11-05 20:40:57 +10:00
Nick Coghlan
32dd36bdce
The migration to importlib eliminated this crasher
...
If anyone finds another recursive C path that bypasses the recursion
limiting, they can add a new crasher example.
2012-11-05 20:40:25 +10:00
Andrew Svetlov
90a654b1dd
Issue #15641 : Clean up deprecated classes from importlib
...
Patch by Taras Lyapun.
2012-11-05 09:34:46 +02:00
Andrew Svetlov
bcbf4036c9
Revome extra .py suffix
2012-11-05 09:28:42 +02:00
Andrew Svetlov
7529620a15
Issue #16218 : Fix test for issue again
2012-11-05 08:20:15 +02:00
Victor Stinner
33f13ee133
(Merge 3.3) Close #15165 : Fix test_email on Windows 64 bits
...
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
2012-11-05 02:06:34 +01:00
Victor Stinner
9d95cbeaf9
Close #15165 : Fix test_email on Windows 64 bits
...
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
2012-11-05 02:06:13 +01:00
Victor Stinner
efe2b53d12
Issue #15478 : Fix test_pep277 on Windows
...
os.listdir() now returns the original path in OSError.filename (on any
platform), even if "*.*" was added to the path (on Windows).
2012-11-05 01:28:28 +01:00
Victor Stinner
4e7d2d481a
Issue #15478 : Oops, fix regression in os.open() on Windows
...
os.open() uses _wopen() which sets errno, not the Windows error code.
2012-11-05 01:20:58 +01:00
Nadeem Vawda
ec8c8ae7ae
Issue #16350 : Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
...
Patch by Serhiy Storchaka.
2012-11-05 00:40:00 +01:00
Nadeem Vawda
519f43844b
Issue #16350 : Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
...
Patch by Serhiy Storchaka.
2012-11-05 00:38:48 +01:00
Nadeem Vawda
39079946a2
Issue #16350 : Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
...
Patch by Serhiy Storchaka.
2012-11-05 00:37:42 +01:00
Victor Stinner
6caa6fb535
(Merge 3.3) Issue #8271 : Fix compilation on Windows
2012-11-05 00:00:50 +01:00
Victor Stinner
ab60de478d
Issue #8271 : Fix compilation on Windows
2012-11-04 23:59:15 +01:00
Ezio Melotti
944099ff16
#5057 : null merge with 3.3 (only add tests).
2012-11-05 00:14:34 +02:00
Ezio Melotti
570942e208
#5057 : null merge with 3.2 (only add tests).
2012-11-05 00:13:57 +02:00
Ezio Melotti
6c5f5210be
#5057 : the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
2012-11-05 00:06:32 +02:00
Ezio Melotti
cfa9636404
#8271 : merge with 3.3.
2012-11-04 23:23:09 +02:00
Ezio Melotti
f7ed5d111b
#8271 : the utf-8 decoder now outputs the correct number of U+FFFD characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti.
2012-11-04 23:21:38 +02:00
Stefan Krah
b716f84880
Fix copy&paste errors and reformulate the tests.
2012-11-04 20:53:50 +01:00
Nick Coghlan
3bb516bae2
Merge from 3.3
2012-11-05 00:56:02 +10:00
Nick Coghlan
55b5d5c919
Properly credit patch
2012-11-05 00:55:46 +10:00
Nick Coghlan
8155f8e5d4
Issue #5765 : Merge from 3.3
2012-11-05 00:19:49 +10:00
Nick Coghlan
10d6ddeef1
Issue #5765 : Also check the compiler when finding the recursion limit
2012-11-05 00:19:18 +10:00
Nick Coghlan
e69bfc3fb6
Issue #5765 : Merge from 3.3
2012-11-04 23:53:15 +10:00
Nick Coghlan
aab9c2b2ea
Issue #5765 : Apply a hard recursion limit in the compiler
...
Previously, excessive nesting in expressions would blow the
stack and segfault the interpreter. Now, a hard limit based
on the configured recursion limit and a hardcoded scaling
factor is applied.
2012-11-04 23:14:34 +10:00
Mark Dickinson
c992fafddc
Issue #16402 : Merge fix from 3.3
2012-11-04 11:47:47 +00:00
Mark Dickinson
1321edaa55
Issue #16402 : Merge fix from 3.2
2012-11-04 11:47:05 +00:00
Mark Dickinson
8cd1c7681d
Issue #16402 : In range slicing, fix shadowing of exceptions from __index__ method.
2012-11-04 11:46:17 +00:00
Ezio Melotti
729eda4a8c
#16304 : merge with 3.3.
2012-11-04 07:00:04 +02:00
Ezio Melotti
7ce22d1940
#16304 : merge with 3.2.
2012-11-04 06:59:51 +02:00
Ezio Melotti
b87f82f8d4
#16304 : clarify match objects docs. Initial patch by Jan Duzinkiewicz.
2012-11-04 06:59:22 +02:00
Antoine Pitrou
5e3943317d
Issue #15837 : add some tests for random.shuffle().
...
Patch by Alessandro Moura.
2012-11-04 02:10:33 +01:00