Commit graph

8062 commits

Author SHA1 Message Date
R David Murray
4d289a2a4d Merge: A couple more whatsnew updates. 2012-10-16 21:54:12 -04:00
R David Murray
e54c718572 A couple more whatsnew updates. 2012-10-16 21:52:24 -04:00
Antoine Pitrou
cfc22b4a9b Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects. 2012-10-16 21:07:23 +02:00
Nick Coghlan
c7c03ba5be Merge concurrent.futures example changes from 3.3 2012-10-16 22:51:11 +10:00
Nick Coghlan
f06ea25df2 Tweak the threaded example in concurrent.futures 2012-10-16 22:50:04 +10:00
Trent Nelson
b16269e375 Merge issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by: Richard Oudkerk (sbt).
2012-10-16 08:17:11 -04:00
Trent Nelson
c101bf32c4 Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by Richard Oudkerk (sbt).
2012-10-16 08:13:12 -04:00
Trent Nelson
744faddae8 Merge issue #15833: don't raise an exception if importlib can't write
byte-compiled files.

This fixes a regression introduced by 3.3.

Patch by Charles-François Natali.
2012-10-16 08:03:21 -04:00
Trent Nelson
d783c8ed00 Issue #15833: don't raise an exception if importlib can't write byte-compiled
files.

This fixes a regression introduced by 3.3.  Patch by Charles-François Natali.
2012-10-16 07:47:34 -04:00
Brian Curtin
e33f20c4e9 Merge 3.2 2012-10-11 16:12:47 -05:00
Brian Curtin
859947da97 Merge 3.2 2012-10-11 16:11:37 -05:00
Brian Curtin
0b960f5a58 Fix #16176. Properly identify Windows 8 via platform.platform()
Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
2012-10-11 16:07:52 -05:00
Senthil Kumaran
52d2720499 Issue #16088: BaseHTTPRequestHandler's send_error method includes a
Content-Length header.  Patch by Antoine Pitrou.
2012-10-10 23:16:21 -07:00
Brett Cannon
9407d50208 Merge fix for issue #15111. 2012-10-10 19:18:37 -04:00
Brett Cannon
a6ce4fd426 Closes issue #15111: Calling __import__ with a module specified in
fromlist which causes its own ImportError (e.g. the module tries to
import a non-existent module) should have that exception propagate.
2012-10-10 19:03:46 -04:00
Gregory P. Smith
70e0007f55 Fixes Issue #16114: The subprocess module no longer provides a
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
2012-10-10 03:53:16 -07:00
Gregory P. Smith
a10ddb8a55 Fixes Issue #16114: The subprocess module no longer provides a
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
2012-10-10 03:44:47 -07:00
Gregory P. Smith
5591b02a4c Fixes Issue #16114: The subprocess module no longer provides a
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.

It now keeps track of if the child got as far as preexec and reports it if
not back to the parent via a special "noexec" error message value in
the error pipe so that the cwd can be blamed for a failed chdir
instead of the exec of the executable being blamed instead.

The executable is also always reported accurately when exec fails.

Unittests enhanced to cover these cases.
2012-10-10 03:34:47 -07:00
Richard Oudkerk
934f563353 Issue #16169: Merge 2012-10-09 13:54:02 +01:00
Richard Oudkerk
ea69bd3ce1 Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror 2012-10-09 13:28:10 +01:00
Chris Jerdonek
85aa0118db Issue #16115: Merge subprocess.Popen() documentation improvements from 3.3. 2012-10-08 23:14:46 -07:00
Chris Jerdonek
ad01498fa9 Issue #16115: Merge subprocess.Popen() documentation improvements from 3.2. 2012-10-08 23:12:21 -07:00
Chris Jerdonek
470ee39883 Issue #16115: Improve subprocess.Popen() documentation around args, shell, and executable arguments. 2012-10-08 23:06:57 -07:00
Chris Jerdonek
68a11fc337 Issue #16115: Merge test improvements from 3.3. 2012-10-08 16:01:00 -07:00
Chris Jerdonek
776cb199bc Issue #16115: Improve testing of the executable argument to subprocess.Popen(). 2012-10-08 15:56:43 -07:00
Hynek Schlawack
c3c6fe5b1a Merge 3.3 2012-10-08 07:46:11 +02:00
Hynek Schlawack
101591e9d5 Merge 3.2 2012-10-08 07:44:54 +02:00
Chris Jerdonek
4a7df9aba9 Issue #14783: Merge changes from 3.3. 2012-10-07 15:02:16 -07:00
Chris Jerdonek
042fa653ab Issue #14783: Merge changes from 3.2. 2012-10-07 14:56:27 -07:00
Chris Jerdonek
83fe2e1c22 Issue #14783: Improve int() docstring and also str(), range(), and slice().
This commit rewrites the docstring for int() to incorporate the documentation
changes made in issue #16036.  It also switches the docstrings for int(),
str(), range(), and slice() to use multi-line signatures.
2012-10-07 14:48:36 -07:00
Hynek Schlawack
0230b6af78 #13498: Clarify docs of os.makedirs()'s exist_ok argument.
Done with great native-speaker help from R. David Murray.
2012-10-07 18:04:38 +02:00
Andrew Svetlov
1558d79b82 Issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
2012-10-07 18:59:27 +03:00
Andrew Svetlov
a514ea32b2 Merge issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
2012-10-07 18:59:11 +03:00
Andrew Svetlov
2ef4584e6d Issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
2012-10-07 18:58:42 +03:00
Hynek Schlawack
4865376c44 Closes #1492704: Make shutil.copyfile() raise a distinct SameFileError
Patch by Atsuo Ishimoto.
2012-10-07 12:49:58 +02:00
R David Murray
96e936712f Merge: More whatsnew updates, move some doc NEWS items into the doc section. 2012-10-06 23:21:01 -04:00
R David Murray
f4c2757d78 More whatsnew updates, move some doc NEWS items into the doc section. 2012-10-06 23:19:17 -04:00
R David Murray
7ecc5ba7be Merge: More whatsnew updates. Also move a C-API NEWS item out of library section. 2012-10-06 22:10:42 -04:00
R David Murray
fd740967ba More whatsnew updates. Also move a C-API NEWS item out of library section. 2012-10-06 22:08:08 -04:00
R David Murray
435ee1fcd2 More whatsnew updates. 2012-10-06 18:20:08 -04:00
R David Murray
1e218c98df More whatsnew updates. 2012-10-06 18:18:55 -04:00
R David Murray
3dc23d4bf2 Merge: whatsnew updates for smtplib and collections.Counter. 2012-10-06 16:30:46 -04:00
R David Murray
a21e51570d whatsnew updates for smtplib and collections.Counter. 2012-10-06 16:29:14 -04:00
R David Murray
d9c6ab48a0 merge #10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
2012-10-06 14:38:17 -04:00
R David Murray
ef4d286770 #10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
2012-10-06 14:35:35 -04:00
Andrew Svetlov
ef08fb1f04 Issue #13896: Make shelf instances work with 'with' as context managers.
Original patch by Filip Gruszczyński.
2012-10-06 13:52:19 +03:00
Andrew Svetlov
dc22587df2 Update NEWS for adding missed changes. 2012-10-06 13:44:12 +03:00
Christian Heimes
2519fd36c3 add note to Misc/NEWS 2012-10-06 02:27:57 +02:00
Jesus Cea
f1af705720 #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +02:00
Jesus Cea
b48925a406 #16135: Removal of OS/2 support (I) 2012-10-05 01:04:27 +02:00