Gregory P. Smith
873cab2890
merge heads.
2011-05-14 15:26:35 -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
95e686686f
Merge heads (!)
2011-05-14 17:50:02 -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
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
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
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
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
07352b084c
Update __all__ and docstring.
2011-05-14 14:51:18 +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
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
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
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
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
Raymond Hettinger
23157e5ddc
Further beautification of the example
2011-05-13 01:38:31 -07:00
Raymond Hettinger
9c47d778f7
Neaten up example so it can be cut and pasted.
2011-05-13 01:03:50 -07:00
Georg Brandl
5166375045
Use singular they. Thanks to Mark Summerfield.
2011-05-13 06:55:28 +02:00
Georg Brandl
325477e20e
Fix unbound local error in RE tokenizer example. Thanks to Herman L. Jackson.
2011-05-13 06:54:23 +02:00
Georg Brandl
cc5ea6860f
Merge in changes from 3.2.1b1 release repo.
2011-05-13 06:50:56 +02:00
Antoine Pitrou
00dd182b8e
Issue #12062 : Fix a flushing bug when doing a certain type of I/O sequence
...
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
2011-05-13 00:16:28 +02:00
Antoine Pitrou
7c40489180
Issue #12062 : Fix a flushing bug when doing a certain type of I/O sequence
...
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
2011-05-13 00:13:33 +02:00
Kurt B. Kaiser
b00d0c4944
Merge from 3.1
2011-05-12 15:30:18 -04:00
Kurt B. Kaiser
0a42982316
Issue #11896 : Save on Close failed despite selecting "Yes" in dialog.
...
_tkinter.c is returning <class '_tkinter.Tcl_Obj'> sometimes. Don't use
tkinter.messagebox.Message - use the helper functions which convert to str.
2011-05-12 15:25:24 -04:00
Gregory P. Smith
0ef3e399b8
normalize whitespace.
2011-05-11 22:20:11 -07:00
Gregory P. Smith
c9557af441
merge - 7a3f3ad83676 Fixes Issue #12044 .
2011-05-11 22:18:23 -07:00
Kurt B. Kaiser
79a11e71c6
Merge heads
2011-05-11 14:02:13 -04:00
Kurt B. Kaiser
6551baa5a5
Correct version in IDLE NEWS.txt
2011-05-11 13:54:44 -04:00
Kurt B. Kaiser
bc3e13818b
Merge from 3.1
2011-05-11 13:48:54 -04:00
Raymond Hettinger
30439b23c0
Document default fmtspec. Fix inaccurate note. Document exceptions.
2011-05-11 10:47:27 -07:00
Kurt B. Kaiser
e147806da9
Issue #1028 : Tk returns invalid Unicode null in %A: UnicodeDecodeError.
...
With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to
exit. Converted to valid Unicode null in PythonCmd().
2011-05-11 12:24:17 -04:00
Senthil Kumaran
57e6eac905
Issue #11968 - the start_response header values in wsgiref shoudl be str not
...
bytes. The PEP-0333 says that and test_wsgiref follows the same. Updated docs
accordingly.
2011-05-11 22:34:59 +08:00
Victor Stinner
dd2e94d80c
Merge 3.1 (empty merge, a similar patch was already applied)
2011-05-11 00:58:26 +02:00
Victor Stinner
ba9c6645f7
Issue #10419 : Fix build_scripts command of distutils to handle correctly
...
non-ASCII scripts. Open and write the script in binary mode, but ensure that
the shebang is decodable from UTF-8 and from the encoding of the script.
2011-05-11 00:57:29 +02:00
Victor Stinner
530712625b
Issue #11169 : compileall module uses repr() to format filenames and paths to
...
escape surrogate characters and show spaces.
2011-05-11 00:36:28 +02:00
Victor Stinner
1eb4f28c6d
Close #10419 , issue #6011 : build_scripts command of distutils handles correctly
...
non-ASCII path (path to the Python executable). Open and write the script in
binary mode, but ensure that the shebang is decodable from UTF-8 and from the
encoding of the script.
2011-05-11 00:14:28 +02:00
Ezio Melotti
f188bc5d46
#12051 : merge with 3.1.
2011-05-11 01:10:27 +03:00
Ezio Melotti
136726537f
#12051 : Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations.
2011-05-11 01:02:56 +03:00
Antoine Pitrou
ccc87b53db
Issue #12054 : use support.find_unused_port() instead of reinventing the wheel
2011-05-10 23:37:11 +02:00
Antoine Pitrou
1be815aac4
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:16:29 +02:00
Łukasz Langa
cda41d3bf7
Actually print out the description of what changed.
2011-05-10 15:25:41 +02:00