Commit Graph

58053 Commits

Author SHA1 Message Date
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
Christian Heimes e9d08cf450 Fix compilation on Windows 2012-11-03 23:08:27 +01:00
Christian Heimes d081fbba58 Fix compilation on Windows 2012-11-03 23:08:18 +01:00
Christian Heimes 6d26ade920 Fix compilation on Windows 2012-11-03 23:07:59 +01:00
Éric Araujo 75e74c65e5 Merge 3.3 2012-11-03 17:40:06 -04:00
Éric Araujo 309b043237 Avoid fd leak in example. Caught by Serhiy. 2012-11-03 17:39:45 -04:00
Éric Araujo f69a1f301e Branch merge 2012-11-03 17:10:01 -04:00
Éric Araujo 95b4ec8ee3 Branch merge 2012-11-03 17:09:37 -04:00
Éric Araujo a113e018fc Branch merge 2012-11-03 17:09:22 -04:00
Éric Araujo 8c997fa8bf Merge 3.3 2012-11-03 17:07:40 -04:00
Éric Araujo 8f423c9359 Add examples for opener argument of open (#13424).
Patch by Guillaume Pratte.
2012-11-03 17:06:52 -04:00
Ezio Melotti 1e58ae44df #16336: merge with 3.3. 2012-11-03 23:05:18 +02:00
Ezio Melotti a0b5c46fa2 #16336: merge with 3.2. 2012-11-03 23:04:41 +02:00
Ezio Melotti 540da76115 #16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka. 2012-11-03 23:03:39 +02:00
Ezio Melotti 51f61b93db Merge typo fixes (and the fix for #8401 that I wrongly merged) with 3.3. 2012-11-03 21:36:22 +02:00
Ezio Melotti 0167edf803 Merge typo fixes with 3.2. 2012-11-03 21:32:55 +02:00
Ezio Melotti 8af179e744 Fix a couple typos in Misc/NEWS. 2012-11-03 21:30:32 +02:00
Ezio Melotti 212843b29f #8401: merge with 3.3. 2012-11-03 21:24:47 +02:00
Ezio Melotti 7376801f61 #8401: merge with 3.2. 2012-11-03 21:22:41 +02:00
Ezio Melotti c64bcbec4b #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error. 2012-11-03 21:19:06 +02:00
Chris Jerdonek 1a5f3ec9a9 Merge from 3.3: link to mapping glossary entry in docs. 2012-11-03 12:07:20 -07:00
Chris Jerdonek 1c8bb9f4d5 Merge from 3.2: link to mapping glossary entry in docs. 2012-11-03 12:06:42 -07:00
Chris Jerdonek 11f3f172e7 Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs. 2012-11-03 12:05:55 -07:00
Ezio Melotti 4bf474a803 #12759: merge with 3.3. 2012-11-03 20:34:16 +02:00
Ezio Melotti 68600aff3a #12759: merge with 3.2. 2012-11-03 20:33:38 +02:00
Ezio Melotti 0941d9fc64 #12759: sre_parse now raises a proper error when the name of the group is missing. Initial patch by Serhiy Storchaka. 2012-11-03 20:33:08 +02:00
Ezio Melotti d2685260c4 #4711: merge with 3.3. 2012-11-03 18:29:31 +02:00
Ezio Melotti befaac03bb #4711: merge with 3.2. 2012-11-03 18:29:16 +02:00
Ezio Melotti dedfa9bfae #4711: break long words in the docs sidebar to avoid overflow. 2012-11-03 18:25:04 +02:00
Ezio Melotti 4e0f36b156 #16152: merge with 3.3. 2012-11-03 17:51:25 +02:00
Ezio Melotti fafa8b7797 #16152: merge with 3.2. 2012-11-03 17:46:51 +02:00
Ezio Melotti 2cc3b4ba9f #16152: fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder. 2012-11-03 17:38:43 +02:00