Brian Curtin
9640ead585
another merge
2012-12-27 14:14:42 -06:00
Brian Curtin
e6bfa2911a
Merge 3.2
2012-12-27 14:06:06 -06:00
Brian Curtin
172e42295f
Fix #16759 . Convert DWORD registry values using PyLong_FromUnsignedLong.
...
When converting REG_DWORD registry values into Python ints, the conversion
needs to be made from an *unsigned* long to match the DWORD type.
2012-12-27 14:04:42 -06:00
Serhiy Storchaka
64df4a1c45
Issue #16504 : Catch SyntaxErrors raised by tokenizer in IDLE.
...
Patch by Roger Serwy.
2012-12-27 21:53:06 +02:00
Serhiy Storchaka
07e0e06f8a
Issue #16504 : Catch SyntaxErrors raised by tokenizer in IDLE.
...
Patch by Roger Serwy.
2012-12-27 21:38:04 +02:00
Brian Curtin
62cf69ec7c
Merge 3.2
2012-12-27 10:14:30 -06:00
Brian Curtin
12706f2082
Fix #14420 . Use PyLong_AsUnsignedLong to support the full range of DWORD.
...
This fixes an OverflowError seen in winreg.SetValueEx when passed
winreg.REG_DWORD values that should be supported by the underlying API.
2012-12-27 10:12:45 -06:00
Hynek Schlawack
6f52027168
#16618 : Make glob.glob match consistently across strings and bytes
...
Fixes handling of leading dots.
Patch by Serhiy Storchaka.
2012-12-27 10:15:53 +01:00
Hynek Schlawack
e26568f812
#16618 : Make glob.glob match consistently across strings and bytes
...
Fixes handling of leading dots.
Patch by Serhiy Storchaka.
2012-12-27 10:10:11 +01:00
Senthil Kumaran
00679a7ee0
Issue #16702 : Skip proxies for localhost in urllib2_localnet tests
2012-12-26 01:46:39 -08:00
Senthil Kumaran
303eb478f2
Issue #16702 : Skip proxies for localhost in urllib2_localnet tests
2012-12-26 01:45:58 -08:00
Senthil Kumaran
bd6667aae3
Fix issue16713 - tel url parsing with params
2012-12-24 14:01:13 -08:00
Senthil Kumaran
ed30199e78
Fix issue16713 - tel url parsing with params
2012-12-24 14:00:20 -08:00
Andrew Svetlov
7174f0883c
Issue #16511 : Use default IDLE width and height if config param is not valid.
...
Patch Serhiy Storchaka.
2012-12-24 13:16:47 +02:00
Andrew Svetlov
8a495a48a5
Issue #16511 : Use default IDLE width and height if config param is not valid.
...
Patch Serhiy Storchaka.
2012-12-24 13:15:43 +02:00
Andrew Svetlov
70dcef4789
Issue #16443 : Add docstrings to regular expression match objects.
...
Patch by Anton Kasyanov.
2012-12-23 19:59:27 +02:00
Andrew Svetlov
159bb53765
merge heads
2012-12-23 19:55:21 +02:00
Andrew Svetlov
56ad5ed5ad
Issue #16443 : Add docstrings to regular expression match objects.
...
Patch by Anton Kasyanov.
2012-12-23 19:23:07 +02:00
Senthil Kumaran
0a6b9eca68
merge from 3.2
...
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:12:13 -08:00
Senthil Kumaran
41e66a26b0
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:04:24 -08:00
Brett Cannon
73b969ec70
Issue #16752 : Add a missing import to modulefinder.
...
Also fix Misc/ACKS to put part of it back in alphabetical order and
remove some duplicate names.
Patch by Berker Peksag.
2012-12-22 19:34:21 -05:00
Benjamin Peterson
3d3daf0b7f
improve message ( #16597 )
2012-12-20 12:54:59 -06:00
Benjamin Peterson
68623614f0
call close on the underlying stream even if flush raises ( closes #16597 )
...
Patch by Serhiy Storchaka.
2012-12-20 11:53:11 -06:00
Benjamin Peterson
5ff3f73d94
try to call __bytes__ before __index__ ( closes #16722 )
2012-12-19 15:27:41 -06:00
Giampaolo Rodola'
896cb15d0c
Fix issue #16646 : ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka)
2012-12-17 14:22:19 +01:00
Giampaolo Rodola'
fc3278802c
Fix issue #16646 : ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka)
2012-12-17 14:20:27 +01:00
Brian Curtin
08133c2e8e
Merge 3.2
2012-12-17 00:04:30 -06:00
Brian Curtin
655b0c462f
Fix #14901 . Update the Windows FAQ.
...
Patch by Ashish Nitin Patil.
2012-12-16 23:58:09 -06:00
Antoine Pitrou
3c331bb729
Issue #16626 : Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
...
Patch by Serhiy Storchaka.
2012-12-16 13:50:19 +01:00
Antoine Pitrou
3d068b2ecf
Issue #16626 : Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
...
Patch by Serhiy Storchaka.
2012-12-16 13:49:37 +01:00
Hynek Schlawack
9ca5893338
#16664 : Add regression tests for glob's behaviour concerning "."-entries
...
Patch by Sebastian Kreft.
2012-12-16 12:44:07 +01:00
Hynek Schlawack
dec59ec5ff
#16664 : Add regression tests for glob's behaviour concerning "."-entries
...
Patch by Sebastian Kreft.
2012-12-16 12:39:11 +01:00
Stefan Krah
040e311826
Issue #15783 : Except for the number methods, the C version of decimal now
...
supports all None default values present in decimal.py. These values were
largely undocumented.
2012-12-15 22:33:33 +01:00
Antoine Pitrou
d20e7745ee
Issue #16298 : In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
...
Patch by Eran Rundstein.
2012-12-15 19:22:30 +01:00
Antoine Pitrou
084daa2f74
Issue #16298 : In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
...
Patch by Eran Rundstein.
2012-12-15 19:11:54 +01:00
Ross Lagerwall
a0b315f5f7
Issue #16661 : Fix the os.getgrouplist() test by not assuming that it
...
gives the same output as "id -G".
2012-12-13 15:20:26 +00:00
Christian Heimes
954ac03a44
Cross compiling needs host and build settings. configure no longer
...
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
2012-12-12 13:10:21 +01:00
Christian Heimes
f19529cfd6
Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
...
defined in cross compiling mode, too.
2012-12-12 12:41:00 +01:00
Hynek Schlawack
b550110f64
#15872 : Fix 3.3 regression introduced by the new fd-based shutil.rmtree
...
It caused rmtree to not ignore certain errors when ignore_errors was set.
Patch by Alessandro Moura and Serhiy Storchaka.
2012-12-10 09:11:25 +01:00
Hynek Schlawack
d16eacba48
#15872 : Add tests for a 3.3 regression in the new fd-based shutil.rmtree
...
It cause shutil.rmtree not ignore all errors. Also add a test ensuring that
rmtree fails when being called on a symlink. Patch by Serhiy Storchaka.
2012-12-10 09:00:09 +01:00
Antoine Pitrou
373528f6b1
Issue #16248 : Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
...
Patch by Zachary Ware.
2012-12-09 14:46:46 +01:00
Antoine Pitrou
7ec3a32360
Issue #16248 : Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
...
Patch by Zachary Ware.
2012-12-09 14:46:18 +01:00
Éric Araujo
3f7c0e4036
Merge fixes for #13614 , #13512 and #7719 from 3.2
2012-12-08 22:53:43 -05:00
Éric Araujo
24457c9ad3
Branch merge
2012-12-08 22:47:03 -05:00
Éric Araujo
8b503c0a4e
Fix setup.py register failure with invalid rst in description ( #13614 ).
...
Original patch by Julien Courteau and Pierre Paul Lefebvre.
2012-12-08 22:41:11 -05:00
Antoine Pitrou
f93ed3fa67
Issue #16602 : When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
...
Thanks to Eugene Toder for diagnosing and reporting the issue.
2012-12-08 21:17:03 +01:00
Antoine Pitrou
62a0d6ea40
Issue #16602 : When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
...
Thanks to Eugene Toder for diagnosing and reporting the issue.
2012-12-08 21:15:26 +01:00
Éric Araujo
d61926e6be
Create ~/.pypirc securely ( #13512 ).
...
There was a window between the write and the chmod where the user’s
password would be exposed, depending on default permissions. Philip
Jenvey’s patch fixes it.
2012-12-08 14:51:47 -05:00
Éric Araujo
3e4a3dcb23
Ignore .nfs* files in distutils ( #7719 ).
...
These files are created by some NFS clients a file is edited and removed
concurrently (see added link in doc for more info). If such a file is
removed between distutils calls listdir and copy, it will get confused.
Other special files are ignored in sdist (namely VCS directories), but
this has to be filtered out earlier.
2012-12-08 14:21:51 -05:00
Nick Coghlan
cea27be888
Close issue #16267 : better docs for @abstractmethod composition
2012-12-08 22:56:02 +10:00