Benjamin Peterson
8afa7fa510
don't shadow the __qualname__ descriptor with __qualname__ in the class's __dict__ ( closes #16271 )
2012-10-30 23:51:03 -04:00
Brian Curtin
6b879fa402
Merge 3.2
2012-10-29 18:18:43 -05:00
Brian Curtin
e9aeca7c24
Fix #16197 . Update docstrings and documentation to match winreg code.
...
Patch by Zachary Ware.
2012-10-29 18:16:39 -05:00
Petri Lehtinen
4648b4779a
#14897 : Enhance error messages of struct.pack and struct.pack_into
...
Patch by Matti Mäki.
2012-10-29 21:25:01 +02:00
Petri Lehtinen
92c28cace4
#14897 : Enhance error messages of struct.pack and struct.pack_into
...
Patch by Matti Mäki.
2012-10-29 21:24:07 +02:00
Mark Dickinson
fb90c0934c
Issue #14700 : Fix buggy overflow checks for large precision and width in new-style and old-style formatting.
2012-10-28 10:18:03 +00:00
Ezio Melotti
8630c1e346
#8040 : merge with 3.2.
2012-10-27 22:11:33 +03:00
Ezio Melotti
380ce651e9
#8040 : add a version switcher to the documentation. Patch by Yury Selivanov.
2012-10-27 22:09:16 +03:00
R David Murray
c4b8e05092
merge #12890 : don't emit <p> tags in text mode when logdir specified.
...
Patch by Jeff McNeil.
2012-10-27 14:55:25 -04:00
R David Murray
252cd0e4e0
#12890 : don't emit <p> tags in text mode when logdir specified.
...
Patch by Jeff McNeil.
2012-10-27 14:42:47 -04:00
Hynek Schlawack
254af2644a
#16307 : Fix multiprocessing.Pool.map_async not calling its callbacks
...
Patch by Janne Karila.
2012-10-27 12:53:02 +02:00
Senthil Kumaran
cc2f0421c7
Issue #16250 : Fix URLError invocation with proper args
2012-10-27 02:48:21 -07:00
Senthil Kumaran
cad7b31467
Issue #16250 : Fix URLError invocation with proper args.
2012-10-27 02:26:46 -07:00
Mark Dickinson
039e0cdc28
Issue #16305 : Merge fix from 3.2.
2012-10-25 10:47:46 +01:00
Mark Dickinson
76464494bc
Fix math.factorial KeyboardInterrupt segfault. Thanks Amaury for report and diagnosis.
2012-10-25 10:46:28 +01:00
Andrew Svetlov
9819105eed
Update NEWS for issue #16241
2012-10-25 11:36:51 +03:00
Vinay Sajip
f0ef7fea90
Fixed whitespace typo in Misc/NEWS.
2012-10-23 22:49:14 +01:00
Vinay Sajip
e87acc1f38
Issue #16116 : Now uses corrected include and library paths when building C extensions in a venv.
2012-10-23 20:26:14 +01:00
Ezio Melotti
e6e96eea51
#16245 : Fix the value of a few entities in html.entities.html5.
2012-10-23 15:51:27 +02:00
Matthias Klose
aee3c76acf
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:12:35 +02:00
Matthias Klose
c4c4842d86
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:05:35 +02:00
Nadeem Vawda
18b7fcc7a6
Merge #14398 : Fix size truncation and overflow bugs in bz2 module.
2012-10-21 21:16:58 +02:00
Nadeem Vawda
5f8f0d6777
Issue #14398 : Fix size truncation and overflow bugs in bz2 module.
2012-10-21 21:13:27 +02:00
Antoine Pitrou
550841253f
Issue #16220 : wsgiref now always calls close() on an iterable response.
...
Patch by Brent Tubbs.
2012-10-21 14:14:34 +02:00
Antoine Pitrou
ae247a5ff6
Issue #16220 : wsgiref now always calls close() on an iterable response.
...
Patch by Brent Tubbs.
2012-10-21 14:09:05 +02:00
Nick Coghlan
eb8d627bbd
Issue #6074 : Apply an appropriate fix for importlib based imports
2012-10-19 23:32:00 +10:00
Nick Coghlan
34937ce249
Issue #6074 : Forward port Windows read-only source file fix from 2.7
2012-10-19 22:38:14 +10:00
Giampaolo Rodola'
2d51f687e1
Fix issue #16270 : urllib may hang when used for retrieving files via FTP by using a context manager.
2012-10-19 13:40:28 +02:00
Giampaolo Rodola'
b0cc91290c
Fix issue #16270 : urllib may hang when used for retrieving files via FTP by using a context manager.
2012-10-19 13:34:32 +02:00
Georg Brandl
2ee776bcea
Fix merging mistake.
2012-10-19 07:37:44 +02:00
Andrew Svetlov
e60983e4a5
merge heads
2012-10-17 17:29:20 +03:00
Antoine Pitrou
31605ace0d
Issue #15378 : Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2012-10-17 16:13:55 +02:00
Antoine Pitrou
1eff0fc3cd
Issue #15378 : Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2012-10-17 16:12:30 +02:00
Eric Snow
547298c94c
Close #16160 : Subclass support now works for types.SimpleNamespace. Thanks to RDM for noticing.
2012-10-16 22:35:38 -07:00
R David Murray
e54c718572
A couple more whatsnew updates.
2012-10-16 21:52:24 -04:00
Nick Coghlan
f06ea25df2
Tweak the threaded example in concurrent.futures
2012-10-16 22:50:04 +10: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
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
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
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
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
ea69bd3ce1
Issue #16169 : Fix ctypes.WinError()'s confusion between errno and winerror
2012-10-09 13:28:10 +01: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
776cb199bc
Issue #16115 : Improve testing of the executable argument to subprocess.Popen().
2012-10-08 15:56:43 -07:00
Hynek Schlawack
101591e9d5
Merge 3.2
2012-10-08 07:44:54 +02: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