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
a0b7e9c74c
Null merge.
2012-12-27 22:00:12 +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
Serhiy Storchaka
61006a2113
Issue #16504 : Catch SyntaxErrors raised by tokenizer in IDLE.
2012-12-27 21:34:23 +02:00
Serhiy Storchaka
c8bd74ddfd
Issue #16682 : Replace "Python string" to "bytes object" in audioop documentation.
2012-12-27 20:43:36 +02:00
Brian Curtin
0e091b0365
Fix #14420 . Check for PyLong as well as PyInt when converting in Py2Reg.
...
This fixes a ValueError seen in winreg.SetValueEx when passed long
winreg.REG_DWORD values that should be supported by the underlying API.
2012-12-27 12:28:51 -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
4a5a4c2808
#16618 : Add more glob regression tests
...
Mostly about symlinks and str/unicode behavior.
Patch by Serhiy Storchaka.
2012-12-27 10:24:21 +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
Andrew Svetlov
57a1233110
fix test for subprocess ( #16644 )
2012-12-26 23:31:45 +02:00
Jesus Cea
c73f863a8d
Closes #16789 : :meth:`quit` links to constants instead of own module
2012-12-26 16:47:03 +01:00
Jesus Cea
4947049b40
Closes #16789 : :meth:`quit` links to constants instead of own module
2012-12-26 16:46:04 +01:00
Senthil Kumaran
2f01e239cb
Issue #16702 : Skip proxies for localhost in urllib2_localnet tests
2012-12-26 01:45:22 -08:00
Chris Jerdonek
cf4710c323
Add additional links and index entries for "argument" and "parameter".
...
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:50:21 -08:00
Kristján Valur Jónsson
36852b7844
Issue #14574 : Ignore socket errors raised when flushing a connection on close.
2012-12-25 22:46:32 +00:00
Senthil Kumaran
303eb478f2
Issue #16702 : Skip proxies for localhost in urllib2_localnet tests
2012-12-26 01:45:58 -08:00
Chris Jerdonek
b7c2386a3f
Fix Sphinx warning (missing "setting-envvars" reference).
...
This fixes the following warning when building the docs (probably from
the commit for issue #14901 ):
"/Doc/faq/windows.rst:138: WARNING: undefined label: setting-envvars (if the
link has no caption the label must precede a section header)"
2012-12-25 15:26:24 -08:00
Chris Jerdonek
b43099464a
Add additional links and index entries for "argument" and "parameter".
...
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:54:44 -08:00
Kristján Valur Jónsson
b0d1c37d73
Issue #14574 : Ignore socket errors raised when flushing a connection on close.
2012-12-25 22:46:32 +00:00
Andrew Svetlov
c08ded9e4a
rename MathcObject to match object in doctrings for re module ( #16760 )
2012-12-25 18:50:03 +02:00
Andrew Svetlov
0b64c1415e
rename MathcObject to match object in doctrings for re module ( #16760 )
2012-12-25 18:48:54 +02:00
Ezio Melotti
3b65a9eeed
#16760 : use ref:`match-objects` instead of :class:`MatchObject`.
2012-12-25 18:10:49 +02:00
Ezio Melotti
090f7be6df
#16760 : use ref:`match-objects` instead of :class:`MatchObject`.
2012-12-25 18:10:49 +02:00
Ezio Melotti
4268b3a751
#16677 : rename section header and fix markup.
2012-12-25 15:45:15 +02:00
Ezio Melotti
9f929bb7df
#16677 : rename section header and fix markup.
2012-12-25 15:45:15 +02:00
Kristján Valur Jónsson
2380feeff8
issue #879399
...
Fix line buffering of socket._fileobject
2012-12-25 13:04:50 +00:00
Ezio Melotti
513e9b4f61
#16666 : document default values for socket.getaddrinfo in the text to clarify that it doesn't accept keyword args.
2012-12-25 14:45:55 +02:00
Ezio Melotti
94704fc25b
#16765 : remove unused import.
2012-12-25 14:25:47 +02:00
Andrew Svetlov
405faed511
Add test coverage for os.removedirs ( #16775 )
2012-12-25 12:18:09 +02:00
Senthil Kumaran
ed30199e78
Fix issue16713 - tel url parsing with params
2012-12-24 14:00:20 -08:00
Senthil Kumaran
1974baadc6
Fix issue16713 - tel url parsing with params
2012-12-24 13:56:54 -08:00
Andrew Svetlov
332562f447
Keep ref to ECHILD in local scope ( #16650 )
2012-12-24 20:09:27 +02:00
Andrew Svetlov
08bab07291
Keep ref to ECHILD in local scope ( #16650 )
2012-12-24 20:06:35 +02:00
Mark Dickinson
9fade768c8
Issue #13863 : fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat)
2012-12-24 16:33:18 +00:00
Andrew Svetlov
d8590ff209
Issue #16511 : Use default IDLE width and height if config param is not valid.
...
Patch Serhiy Storchaka.
2012-12-24 13:17:59 +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
1c6c90fc73
Issue #16443 : Add docstrings to regular expression match objects.
...
Patch by Anton Kasyanov.
2012-12-23 20:09:01 +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
41e66a26b0
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:04:24 -08:00
Senthil Kumaran
f8a6b005fd
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:00:47 -08:00
Andrew Svetlov
cddcafaf6b
Issue #16045 : add more unit tests for built-in int()
...
Patch by Chris Jerdonek.
2012-12-23 12:44:04 +02:00
Georg Brandl
8e1e8165a3
Add missing label.
2012-12-22 10:44:11 +01:00
Georg Brandl
9a772e5e8f
Fix indentation.
2012-12-22 10:43:06 +01:00
Kristjan Valur Jonsson
3cbdaa3fee
Merge with 3.1 : Don't DECREF the ctypes error_object without the GIL held.
2012-12-21 11:20:53 +00:00
Kristjan Valur Jonsson
ed512a4d09
ctypes: DECREF error_object _after_ re-acquiring GIL
2012-12-21 10:32:57 +00:00
Kristjan Valur Jonsson
9946bd69fa
Don't DECREF the ctypes error_object without the GIL held.
2012-12-21 09:41:25 +00:00
Petri Lehtinen
ab7dd183f3
#8853 : Allow port to be of type long for socket.getaddrinfo()
2012-12-20 21:09:56 +02:00
Benjamin Peterson
92014420d7
add news note ( #16597 )
2012-12-20 12:55:52 -06:00
Benjamin Peterson
a2d6d7121e
call close on the underlying stream even if flush raises ( #16597 )
2012-12-20 12:24:10 -06:00