Commit Graph

49486 Commits

Author SHA1 Message Date
Gregory P. Smith 873cab2890 merge heads. 2011-05-14 15:26:35 -07:00
Nadeem Vawda ccb33bf002 Merge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.
2011-05-15 00:23:40 +02:00
Nadeem Vawda 565d659dcd Merge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.
2011-05-15 00:20:52 +02:00
Nadeem Vawda 0c3d96ae1d Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.
2011-05-15 00:19:50 +02:00
Gregory P. Smith 79aa5bf5ed Fixes Issue #12059: Properly handle missing hash functions even when
the expected builtin modules are not present.

This includes a unittest for __get_builtin_constructor() in the face
of such an error.
2011-05-14 15:15:49 -07:00
Gregory P. Smith 12c9d028ed Fixes Issue #12059: Properly handle missing hash functions even when
the expected builtin modules are not present.

This includes a unittest for __get_builtin_constructor() in the face
of such an error.
2011-05-14 15:15:49 -07:00
Kurt B. Kaiser 3196efe1a5 Merge heads(!) 2011-05-14 17:51:10 -04:00
Kurt B. Kaiser 95e686686f Merge heads (!) 2011-05-14 17:50:02 -04:00
Kurt B. Kaiser d365a7b6cb Merge from 3.2
Issue #6378: Further adjust idle.bat to start associated Python
2011-05-14 17:46:44 -04:00
Kurt B. Kaiser 4b16ff2c44 Merge heads 2011-05-14 17:31:54 -04:00
Kurt B. Kaiser 84aacf8912 Merge heads 2011-05-14 17:30:58 -04:00
Kurt B. Kaiser f369b8152d Merge from 3.1
Issue #6378: Further adjust idle.bat to start associated Python
2011-05-14 17:22:14 -04:00
Kurt B. Kaiser dfbe1592db Issue #6378: Further adjust idle.bat to start associated Python 2011-05-14 17:20:09 -04:00
Nadeem Vawda 905cca011b Merge fix for memory leaks in zlib.compress() and .decompress().
Also, make sure that test_zlib tests decompress() for overly-large inputs.
2011-05-14 23:18:07 +02:00
Nadeem Vawda 154bdf92fc Fix memory leaks in zlib.compress() and .decompress().
Also, make sure that test_zlib tests decompress() for overly-large inputs.
2011-05-14 23:07:36 +02:00
Łukasz Langa 9334758955 Merged rethought pprint example from 3.2. 2011-05-14 22:58:17 +02:00
Łukasz Langa d8eab60c00 Merged rethought pprint usage example from 3.1. 2011-05-14 22:49:10 +02:00
Łukasz Langa 4ad78ab766 pprint usage example rethought. 2011-05-14 22:43:44 +02:00
Nadeem Vawda b12a324aac Null merge (#8650): zlib.compress() and .decompress() are already 64-bit safe. 2011-05-14 22:33:07 +02:00
Nadeem Vawda 855cd7ad29 Null merge (#8650): zlib.compress() and .decompress() are already 64-bit safe. 2011-05-14 22:32:19 +02:00
Nadeem Vawda 1b8a417d9f Issue #8650: Backport 64-bit safety fixes for compress() and decompress(). 2011-05-14 22:26:55 +02:00
Nadeem Vawda 9c405c470b Merge: #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
attribute when called without a max_length argument.
2011-05-14 14:19:56 +02:00
Nadeem Vawda 5eef502de0 Merge: #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
attribute when called without a max_length argument.
2011-05-14 14:15:47 +02:00
Nadeem Vawda 7619e88adb Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
attribute when called without a max_length argument.
2011-05-14 14:05:20 +02:00
Ezio Melotti 63db5b6510 Merge with 3.2 and also remove captured_output from __all__ (see #7960). 2011-05-14 14:57:15 +03:00
Ezio Melotti 07352b084c Update __all__ and docstring. 2011-05-14 14:51:18 +03:00
Ezio Melotti c3afbb9542 Skip test in test_fileinput when zlib is missing. 2011-05-14 10:10:53 +03:00
Ezio Melotti 6b71811469 #11979: merge with 3.2. 2011-05-14 09:24:33 +03:00
Ezio Melotti 132bcf4724 #11979: merge with 3.1. 2011-05-14 09:23:52 +03:00
Ezio Melotti eda199030b #11979: improve wording and markup in sockets howto. Patch by Xavier Morel. 2011-05-14 09:17:52 +03:00
Ezio Melotti 6b8934053a #7960: merge with 3.2. 2011-05-14 08:44:12 +03:00
Ezio Melotti e728d72d8a #7960: merge with 3.1. 2011-05-14 08:43:25 +03:00
Ezio Melotti fc778fd067 #7960: fix docstrings for captured_output and captured_stdout. 2011-05-14 08:22:47 +03:00
Ezio Melotti 32e3fdc2d0 #5723: merge with 3.2. 2011-05-14 06:52:55 +03:00
Ezio Melotti 6b60fb9148 #5723: merge with 3.1. 2011-05-14 06:47:51 +03:00
Ezio Melotti 3c0d8a1cc7 #5723: Improve json tests to be executed with and without accelerations. 2011-05-14 06:38:03 +03:00
Ezio Melotti 4e03e9dc8d Merge with 3.2. 2011-05-14 06:24:18 +03:00
Ezio Melotti 3659f27ad3 Merge with 3.1. 2011-05-14 06:23:20 +03:00
Ezio Melotti fec3ad1036 Change import_fresh_module to work with packages. 2011-05-14 06:02:25 +03:00
Victor Stinner c729c25615 (Merge 3.2) Issue #11996: libpython (gdb), replace "py-bt" command by
"py-bt-full" and add a smarter "py-bt" command printing a classic Python
traceback.
2011-05-13 17:53:22 +02:00
Vinay Sajip 252048c8a1 test_logging: extended time range for rollover test. 2011-05-13 16:41:57 +01:00
Victor Stinner e670c889cc Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add
a smarter "py-bt" command printing a classic Python traceback.
2011-05-13 17:40:15 +02:00
Vinay Sajip a171f9c6a3 test_logging: fixed bug in failure diagnostics. 2011-05-13 14:45:08 +01:00
Vinay Sajip a552ca6fd0 Issue #12068: Fix appears to have worked; added more diagnostics for rare failures. 2011-05-13 12:16:04 +01:00
Raymond Hettinger db3dd8a6cc Further beautification of the example 2011-05-13 01:39:22 -07:00
Raymond Hettinger 23157e5ddc Further beautification of the example 2011-05-13 01:38:31 -07:00
Raymond Hettinger 2584b2f9f3 Neaten up example so it can be cut and pasted. 2011-05-13 01:04:45 -07:00
Raymond Hettinger 9c47d778f7 Neaten up example so it can be cut and pasted. 2011-05-13 01:03:50 -07:00
Vinay Sajip 672c581633 Added diagnostics to test_logging, after reverting last change. 2011-05-13 07:09:40 +01:00
Georg Brandl 93ea851e83 Merge two minor doc changes into default. 2011-05-13 07:01:58 +02:00