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
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
Antoine Pitrou
b5c793a0b3
Issue #14063 : fix test_importlib failure under OS X case-insensitive filesystems
...
(regression)
2012-02-20 22:06:59 +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
Georg Brandl
c425a94899
Fix use of deprecated assert_ method.
2012-02-20 21:37:22 +01:00
Georg Brandl
242631da86
Fix "sys.path modified" warning in test_strlit, by not replacing sys.path itself, only its contents.
2012-02-20 21:36:28 +01:00
Georg Brandl
a86b262d1e
Fix bad inheritance in test_subprocess that led to a number of tests being executed twice.
2012-02-20 21:34:57 +01:00
Georg Brandl
8848255d8a
Run tests with -R on "make test" and the buildbots.
2012-02-20 21:34:31 +01:00
Georg Brandl
09a7c72cad
Merge from 3.1: Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Benjamin Peterson
a3ed11bd34
don't rely on the order of module clearing
2012-02-20 15:20:37 -05:00
Benjamin Peterson
6ddac006be
put docstrings on functions
2012-02-20 15:06:35 -05:00
Georg Brandl
2daf6ae249
Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 19:54:16 +01:00
Vinay Sajip
3443fe60c7
Merged upstream changes.
2012-02-20 18:51:00 +00:00
Vinay Sajip
5743691b87
Merged upstream changes.
2012-02-20 18:50:33 +00:00
Antoine Pitrou
dff46faa95
Fix use of assertRaises following c760bd844222 (spotted by Alex Gaynor).
2012-02-20 19:46:26 +01:00
Antoine Pitrou
c229e6e8ff
Issue #14040 : Remove rarely used file name suffixes for C extensions (under POSIX mainly).
...
This will improve import performance a bit (especially under importlib).
2012-02-20 19:41:11 +01:00
Vinay Sajip
aa8a62dcc0
Merged documentation update from 3.2.
2012-02-20 18:36:12 +00:00
Vinay Sajip
fee358b0df
logging: clarified documentation for Handler.handleError.
2012-02-20 18:35:26 +00:00
Antoine Pitrou
ea6b4d5f70
Issue #13641 : Decoding functions in the base64 module now accept ASCII-only unicode strings.
...
Patch by Catalin Iacob.
2012-02-20 19:30:23 +01:00
Benjamin Peterson
0588eac218
merge heads
2012-02-20 09:02:57 -05:00
Benjamin Peterson
43844351c3
write versionadded
2012-02-20 08:48:25 -05:00
Antoine Pitrou
b67075beb5
_relax_case -> _make_relax_case
2012-02-20 13:52:47 +01:00
Benjamin Peterson
006c5a2235
check for NULL to fix segfault
2012-02-19 20:36:12 -05:00
Benjamin Peterson
23d7f12ffb
use new generic __dict__ descriptor implementations
2012-02-19 20:02:57 -05:00
Benjamin Peterson
8eb1269c34
add generic implementation of a __dict__ descriptor for C types
2012-02-19 19:59:10 -05:00
Antoine Pitrou
4a57846efe
Merge
2012-02-20 01:52:17 +01:00
Éric Araujo
a7e594b9a5
Merge 3.2
2012-02-20 01:53:09 +01:00
Antoine Pitrou
c541f8ef40
Issue #14043 : Speed up importlib's _FileFinder by at least 8x, and add a new importlib.invalidate_caches() function.
...
importlib is now often faster than imp.find_module() at finding modules.
2012-02-20 01:48:16 +01:00
Éric Araujo
c3ef037ee1
Add missing “::” markup.
...
Also wrap two looong lines.
2012-02-20 01:44:55 +01:00