]>
granicus.if.org Git - python/log
Serhiy Storchaka [Tue, 1 Jan 2013 22:03:58 +0000 (00:03 +0200)]
Issue #16541: tk_setPalette() now works with keyword arguments.
Added a test for tk_setPalette().
Serhiy Storchaka [Tue, 1 Jan 2013 20:25:59 +0000 (22:25 +0200)]
Issue #16819: IDLE method completion now correctly works for bytes literals.
Ned Deily [Tue, 1 Jan 2013 20:07:15 +0000 (12:07 -0800)]
Update copyright dates in Mac plists.
Richard Oudkerk [Tue, 1 Jan 2013 17:29:44 +0000 (17:29 +0000)]
Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
Giampaolo Rodola' [Mon, 31 Dec 2012 16:23:09 +0000 (17:23 +0100)]
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
Łukasz Langa [Mon, 31 Dec 2012 02:40:36 +0000 (03:40 +0100)]
added Wolfgang Scherer to acknowledgements
Łukasz Langa [Mon, 31 Dec 2012 02:38:39 +0000 (03:38 +0100)]
Fixes `parser.clean()` reported in issue #16820.
Łukasz Langa [Mon, 31 Dec 2012 01:18:20 +0000 (02:18 +0100)]
Fixes issue #15803: incorrect `ConfigParser.items()` docstring
Serhiy Storchaka [Sun, 30 Dec 2012 18:16:30 +0000 (20:16 +0200)]
Issue #16645: Fix hardlink extracting test for tarfile.
Andrew Svetlov [Sat, 29 Dec 2012 21:07:50 +0000 (23:07 +0200)]
Fix docstring in curses (#16782)
Serhiy Storchaka [Sat, 29 Dec 2012 20:30:56 +0000 (22:30 +0200)]
Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file.
Antoine Pitrou [Fri, 28 Dec 2012 18:07:43 +0000 (19:07 +0100)]
Forward port new test for SSLSocket.connect_ex()
Antoine Pitrou [Fri, 28 Dec 2012 18:03:43 +0000 (19:03 +0100)]
Backport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_ex().
Serhiy Storchaka [Fri, 28 Dec 2012 08:16:47 +0000 (10:16 +0200)]
Merge heads
Raymond Hettinger [Fri, 28 Dec 2012 08:03:30 +0000 (00:03 -0800)]
Make the from_iterable() recipe more usable.
The code isn't exactly equivalent because a classmethod would
only make sense inside a chain class, and it would need "cls"
as a first argument, and it would need to return an instance
of "chain" rather than a generator.
The updated example drops the @classmethod decorator so that
it can be used standalone: list(from_iterable(['abc', 'def']))
This should be communicate what from_iterable does.
Serhiy Storchaka [Fri, 28 Dec 2012 07:42:11 +0000 (09:42 +0200)]
Issue #16761: Raise TypeError when int() called with base argument only.
Serhiy Storchaka [Fri, 28 Dec 2012 07:31:59 +0000 (09:31 +0200)]
Issue #16761: Raise TypeError when int() or long() called with base argument only.
Chris Jerdonek [Fri, 28 Dec 2012 02:16:32 +0000 (18:16 -0800)]
Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.
Chris Jerdonek [Fri, 28 Dec 2012 02:14:01 +0000 (18:14 -0800)]
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
Ezio Melotti [Thu, 27 Dec 2012 23:59:24 +0000 (01:59 +0200)]
#16796: fix typo. Patch by Michael Schurter.
Ezio Melotti [Thu, 27 Dec 2012 23:59:24 +0000 (01:59 +0200)]
#16796: fix typo. Patch by Michael Schurter.
Serhiy Storchaka [Thu, 27 Dec 2012 22:44:20 +0000 (00:44 +0200)]
Issue #16792: Use assertIs() to test identity.
Serhiy Storchaka [Thu, 27 Dec 2012 22:32:19 +0000 (00:32 +0200)]
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Serhiy Storchaka [Thu, 27 Dec 2012 21:57:00 +0000 (23:57 +0200)]
Issue #16792: Mark small ints test as CPython-only.
Serhiy Storchaka [Thu, 27 Dec 2012 21:07:00 +0000 (23:07 +0200)]
Issue #16792: Mark small ints test as CPython-only.
Chris Jerdonek [Thu, 27 Dec 2012 20:53:29 +0000 (12:53 -0800)]
Issue #16790: add some of the recent issue #16045 int tests to test_long.
This patch also provides a simple way to share tests going forward
between test_int and test_long.
Brian Curtin [Thu, 27 Dec 2012 20:37:06 +0000 (14:37 -0600)]
Fix #16759. Convert DWORD registry values using unsigned long.
When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.
Brian Curtin [Thu, 27 Dec 2012 20:12:43 +0000 (14:12 -0600)]
Merge
Brian Curtin [Thu, 27 Dec 2012 20:04:42 +0000 (14:04 -0600)]
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.
Serhiy Storchaka [Thu, 27 Dec 2012 20:00:12 +0000 (22:00 +0200)]
Null merge.
Serhiy Storchaka [Thu, 27 Dec 2012 19:38:04 +0000 (21:38 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
Serhiy Storchaka [Thu, 27 Dec 2012 19:34:23 +0000 (21:34 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Serhiy Storchaka [Thu, 27 Dec 2012 18:43:36 +0000 (20:43 +0200)]
Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.
Brian Curtin [Thu, 27 Dec 2012 18:28:51 +0000 (12:28 -0600)]
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.
Brian Curtin [Thu, 27 Dec 2012 16:12:45 +0000 (10:12 -0600)]
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.
Hynek Schlawack [Thu, 27 Dec 2012 09:24:21 +0000 (10:24 +0100)]
#16618: Add more glob regression tests
Mostly about symlinks and str/unicode behavior.
Patch by Serhiy Storchaka.
Hynek Schlawack [Thu, 27 Dec 2012 09:10:11 +0000 (10:10 +0100)]
#16618: Make glob.glob match consistently across strings and bytes
Fixes handling of leading dots.
Patch by Serhiy Storchaka.
Andrew Svetlov [Wed, 26 Dec 2012 21:31:45 +0000 (23:31 +0200)]
fix test for subprocess (#16644)
Jesus Cea [Wed, 26 Dec 2012 15:47:03 +0000 (16:47 +0100)]
Closes #16789: :meth:`quit` links to constants instead of own module
Jesus Cea [Wed, 26 Dec 2012 15:46:04 +0000 (16:46 +0100)]
Closes #16789: :meth:`quit` links to constants instead of own module
Senthil Kumaran [Wed, 26 Dec 2012 09:45:22 +0000 (01:45 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests
Chris Jerdonek [Tue, 25 Dec 2012 22:50:21 +0000 (14:50 -0800)]
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).
Kristján Valur Jónsson [Tue, 25 Dec 2012 22:46:32 +0000 (22:46 +0000)]
Issue #14574: Ignore socket errors raised when flushing a connection on close.
Senthil Kumaran [Wed, 26 Dec 2012 09:45:58 +0000 (01:45 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests
Chris Jerdonek [Tue, 25 Dec 2012 23:26:24 +0000 (15:26 -0800)]
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)"
Chris Jerdonek [Tue, 25 Dec 2012 22:54:44 +0000 (14:54 -0800)]
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).
Kristján Valur Jónsson [Tue, 25 Dec 2012 22:46:32 +0000 (22:46 +0000)]
Issue #14574: Ignore socket errors raised when flushing a connection on close.
Andrew Svetlov [Tue, 25 Dec 2012 16:50:03 +0000 (18:50 +0200)]
rename MathcObject to match object in doctrings for re module (#16760)
Andrew Svetlov [Tue, 25 Dec 2012 16:48:54 +0000 (18:48 +0200)]
rename MathcObject to match object in doctrings for re module (#16760)
Ezio Melotti [Tue, 25 Dec 2012 16:10:49 +0000 (18:10 +0200)]
#16760: use ref:`match-objects` instead of :class:`MatchObject`.
Ezio Melotti [Tue, 25 Dec 2012 16:10:49 +0000 (18:10 +0200)]
#16760: use ref:`match-objects` instead of :class:`MatchObject`.
Ezio Melotti [Tue, 25 Dec 2012 13:45:15 +0000 (15:45 +0200)]
#16677: rename section header and fix markup.
Ezio Melotti [Tue, 25 Dec 2012 13:45:15 +0000 (15:45 +0200)]
#16677: rename section header and fix markup.
Kristján Valur Jónsson [Tue, 25 Dec 2012 13:04:50 +0000 (13:04 +0000)]
issue #879399
Fix line buffering of socket._fileobject
Ezio Melotti [Tue, 25 Dec 2012 12:45:55 +0000 (14:45 +0200)]
#16666: document default values for socket.getaddrinfo in the text to clarify that it doesn't accept keyword args.
Ezio Melotti [Tue, 25 Dec 2012 12:25:47 +0000 (14:25 +0200)]
#16765: remove unused import.
Andrew Svetlov [Tue, 25 Dec 2012 10:18:09 +0000 (12:18 +0200)]
Add test coverage for os.removedirs (#16775)
Senthil Kumaran [Mon, 24 Dec 2012 22:00:20 +0000 (14:00 -0800)]
Fix issue16713 - tel url parsing with params
Senthil Kumaran [Mon, 24 Dec 2012 21:56:54 +0000 (13:56 -0800)]
Fix issue16713 - tel url parsing with params
Andrew Svetlov [Mon, 24 Dec 2012 18:09:27 +0000 (20:09 +0200)]
Keep ref to ECHILD in local scope (#16650)
Andrew Svetlov [Mon, 24 Dec 2012 18:06:35 +0000 (20:06 +0200)]
Keep ref to ECHILD in local scope (#16650)
Mark Dickinson [Mon, 24 Dec 2012 16:33:18 +0000 (16:33 +0000)]
Issue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat)
Andrew Svetlov [Mon, 24 Dec 2012 11:17:59 +0000 (13:17 +0200)]
Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
Andrew Svetlov [Mon, 24 Dec 2012 11:15:43 +0000 (13:15 +0200)]
Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
Andrew Svetlov [Sun, 23 Dec 2012 18:09:01 +0000 (20:09 +0200)]
Issue #16443: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
Andrew Svetlov [Sun, 23 Dec 2012 17:55:21 +0000 (19:55 +0200)]
merge heads
Andrew Svetlov [Sun, 23 Dec 2012 17:23:07 +0000 (19:23 +0200)]
Issue #16443: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
Senthil Kumaran [Sun, 23 Dec 2012 17:04:24 +0000 (09:04 -0800)]
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
Senthil Kumaran [Sun, 23 Dec 2012 17:00:47 +0000 (09:00 -0800)]
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
Andrew Svetlov [Sun, 23 Dec 2012 10:44:04 +0000 (12:44 +0200)]
Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
Georg Brandl [Sat, 22 Dec 2012 09:44:11 +0000 (10:44 +0100)]
Add missing label.
Georg Brandl [Sat, 22 Dec 2012 09:43:06 +0000 (10:43 +0100)]
Fix indentation.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 11:20:53 +0000 (11:20 +0000)]
Merge with 3.1 : Don't DECREF the ctypes error_object without the GIL held.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 10:32:57 +0000 (10:32 +0000)]
ctypes: DECREF error_object _after_ re-acquiring GIL
Kristjan Valur Jonsson [Fri, 21 Dec 2012 09:41:25 +0000 (09:41 +0000)]
Don't DECREF the ctypes error_object without the GIL held.
Petri Lehtinen [Thu, 20 Dec 2012 19:06:14 +0000 (21:06 +0200)]
#8853: Allow port to be of type long for socket.getaddrinfo()
Benjamin Peterson [Thu, 20 Dec 2012 18:55:52 +0000 (12:55 -0600)]
add news note (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 18:24:10 +0000 (12:24 -0600)]
call close on the underlying stream even if flush raises (#16597)
Andrew Svetlov [Wed, 19 Dec 2012 20:49:25 +0000 (22:49 +0200)]
replace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:49:01 +0000 (22:49 +0200)]
replace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:47:05 +0000 (22:47 +0200)]
revert comment wording (#16714)
Andrew Svetlov [Tue, 18 Dec 2012 19:27:37 +0000 (21:27 +0200)]
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
Andrew Svetlov [Tue, 18 Dec 2012 19:14:22 +0000 (21:14 +0200)]
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
Andrew Svetlov [Tue, 18 Dec 2012 13:48:10 +0000 (15:48 +0200)]
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
Giampaolo Rodola' [Mon, 17 Dec 2012 19:46:16 +0000 (20:46 +0100)]
Issue 16646 (ftplib): deliberately use intermediate variable after catching exception
Andrew Svetlov [Mon, 17 Dec 2012 17:07:57 +0000 (19:07 +0200)]
merge heads
Andrew Svetlov [Mon, 17 Dec 2012 17:06:43 +0000 (19:06 +0200)]
Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
Andrew Svetlov [Mon, 17 Dec 2012 16:54:53 +0000 (18:54 +0200)]
Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
Giampaolo Rodola' [Mon, 17 Dec 2012 13:30:48 +0000 (14:30 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka)
Giampaolo Rodola' [Mon, 17 Dec 2012 13:20:27 +0000 (14:20 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka)
Andrew Svetlov [Mon, 17 Dec 2012 12:01:16 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:03 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 11:42:04 +0000 (13:42 +0200)]
Fix typo
Brian Curtin [Mon, 17 Dec 2012 06:17:49 +0000 (00:17 -0600)]
Fix #14901. Update some sections of Windows FAQ.
Patch by Ashish Nitin Patil.
Brian Curtin [Mon, 17 Dec 2012 05:58:09 +0000 (23:58 -0600)]
Fix #14901. Update the Windows FAQ.
Patch by Ashish Nitin Patil.
Antoine Pitrou [Sun, 16 Dec 2012 15:09:11 +0000 (16:09 +0100)]
Fix ResourceWarnings in test_pty
Antoine Pitrou [Sun, 16 Dec 2012 15:03:01 +0000 (16:03 +0100)]
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.
Antoine Pitrou [Sun, 16 Dec 2012 12:55:47 +0000 (13:55 +0100)]
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.
Antoine Pitrou [Sun, 16 Dec 2012 12:49:37 +0000 (13:49 +0100)]
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.
Hynek Schlawack [Sun, 16 Dec 2012 11:39:11 +0000 (12:39 +0100)]
#16664: Add regression tests for glob's behaviour concerning "."-entries
Patch by Sebastian Kreft.