Commit Graph

49379 Commits

Author SHA1 Message Date
Kurt B. Kaiser 30536d1b77 Merge from 3.2
Issue #11896: Save on Close failed despite selecting "Yes" in dialog.
2011-05-12 15:36:42 -04: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
Vinay Sajip 06c768a35a TimedTRotatingFileHandler test now improved to minimise chances of failure on very slow machines. 2011-05-12 16:18:29 +01:00
Łukasz Langa 3dba024d20 Cleaned up a backward merge after fixes issue #12044. 2011-05-12 16:46:30 +02: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
Gregory P. Smith 6b65745430 - Issue #12044: Fixed subprocess.Popen when used as a context manager to
wait for the process to end when exiting the context to avoid unintentionally
  leaving zombie processes around.
2011-05-11 21:42:08 -07:00
Antoine Pitrou 4e19e11958 Fix compile error under Windows 2011-05-12 02:07:00 +02:00
Antoine Pitrou 3486a98dcd Issue #9971: Write an optimized implementation of BufferedReader.readinto().
Patch by John O'Connor.
2011-05-12 01:57:53 +02:00
Ezio Melotti e9c7d6c3d9 Fix markup and working in the doc. 2011-05-12 01:10:57 +03:00
Victor Stinner 410dd7d357 Issue #12058: Minor edits to comments in faulthandler
Patch written by Éric Araujo.
2011-05-11 20:56:08 +02:00
Kurt B. Kaiser 9dd41fa970 Merge from 3.2 2011-05-11 14:18:13 -04: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 caece0a6a0 Document default fmtspec. Fix inaccurate note. Document exceptions. 2011-05-11 10:48:02 -07: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 bd85f5e7db [Merge Branch] 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:37:50 +08: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
Senthil Kumaran 61b5efc2b9 Fix closed 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:27:26 +08:00
Senthil Kumaran 4de00a2e87 Fix closes Issue #11799: urllib.request Authentication Handlers will raise a
ValueError when presented with an unsupported Authentication Scheme.
2011-05-11 21:17:57 +08:00
Senthil Kumaran cc99528d87 issue12039 - update the documentation of send_response method in http.server.rst. 2011-05-11 16:04:28 +08:00
Senthil Kumaran 6ea17a88af Issue #12039 - Update the http.server.rst with the requirement to call `end_headers` after calling `send_header`. 2011-05-11 11:45:48 +08:00
Victor Stinner e9c84b658a Merge 3.2 (empty merge, patch already applied to 3.3) 2011-05-11 00:59:08 +02: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 7742103a93 Merge 3.2 (empty, patch already applied to 3.3) 2011-05-11 00:37:36 +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 a1aba09436 Merge 3.2 (empty, patch already applied to 3.3) 2011-05-11 00:31:16 +02:00
Ezio Melotti f8d6fd605d #12051: merge with 3.2. 2011-05-11 01:23:41 +03: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
Victor Stinner 1947477072 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
Victor Stinner cd9dd37974 Issue #11888: skip some log2 tests on Mac OS X Tiger
System log2() is not accurate for exact power of 2.
2011-05-10 23:40:17 +02:00
Antoine Pitrou 74b4885cc9 Issue #12054: use support.find_unused_port() instead of reinventing the wheel 2011-05-10 23:37:42 +02:00
Antoine Pitrou ccc87b53db Issue #12054: use support.find_unused_port() instead of reinventing the wheel 2011-05-10 23:37:11 +02:00
Benjamin Peterson 316e02be83 run autoreconf 2011-05-10 15:01:56 -05:00
Mark Dickinson 48251e7765 Issue #11888: remove duplicate check for log2 in configure.in. 2011-05-10 20:56:00 +01:00
Antoine Pitrou 3cade9942e 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:19:13 +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
Victor Stinner 388196ed72 Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError,
instead of a RuntimeError: OSError has an errno attribute.
2011-05-10 17:13:00 +02:00
Łukasz Langa 3c6e4dd11f Merged trivial doc fix from 3.2. 2011-05-10 15:26:22 +02:00
Łukasz Langa cda41d3bf7 Actually print out the description of what changed. 2011-05-10 15:25:41 +02:00
Vinay Sajip 463ac515ee Issue #12039: Add end_headers() call to avoid BadStatusLine. 2011-05-10 09:10:08 +01:00
Raymond Hettinger 809d116fa9 merge 2011-05-10 00:36:35 -07:00
Raymond Hettinger 6a523489fa merge 2011-05-10 00:35:48 -07:00
Raymond Hettinger bb1cf8d9bc Issue 12047: Expand the style guide. 2011-05-10 00:35:03 -07:00