]>
granicus.if.org Git - python/log
Andrew Svetlov [Mon, 24 Dec 2012 18:00:05 +0000 (20:00 +0200)]
merge heads
Andrew Svetlov [Mon, 24 Dec 2012 17:58:48 +0000 (19:58 +0200)]
Use OESeeror instead of os.error (#16720)
Patch by Serhiy Storchaka.
Benjamin Peterson [Mon, 24 Dec 2012 17:54:13 +0000 (11:54 -0600)]
merge heads
Benjamin Peterson [Mon, 24 Dec 2012 17:53:30 +0000 (11:53 -0600)]
improve tracing performance when f_trace is NULL (closes #16672)
Patch by Xavier de Gaye.
Brian Curtin [Mon, 24 Dec 2012 16:44:31 +0000 (10:44 -0600)]
Fix #14470. Remove mentions of w9xpopen on old versions of Visual Studio.
Andrew Svetlov [Mon, 24 Dec 2012 11:17:11 +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:16:47 +0000 (13:16 +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.
Chris Jerdonek [Sun, 23 Dec 2012 23:35:23 +0000 (15:35 -0800)]
Merge from 3.3: link to "yield from" examples in yield documentation.
Chris Jerdonek [Sun, 23 Dec 2012 23:31:57 +0000 (15:31 -0800)]
Link to "yield from" examples in yield documentation.
This commit also simplifies the more advanced "yield from" example and removes
unused function parameters.
Brian Curtin [Sun, 23 Dec 2012 22:54:41 +0000 (16:54 -0600)]
Add NEWS item for fixing #14470.
Brian Curtin [Sun, 23 Dec 2012 22:53:21 +0000 (16:53 -0600)]
Fix #14470. Remove w9xpopen per PEP 11.
As stated in PEP 11, 3.4 removes code on Windows platforms where
COMSPEC points to command.com. The w9xpopen project in Visual Studio
was added to support that case, and there was a special case in subprocess
to cover that situation. This change removes the w9xpopen project from
the Visual Studio solution and removes any references to the w9xpopen
executable.
Andrew Svetlov [Sun, 23 Dec 2012 18:00:58 +0000 (20:00 +0200)]
Issue #16443: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
Andrew Svetlov [Sun, 23 Dec 2012 17:59:27 +0000 (19:59 +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:13:33 +0000 (09:13 -0800)]
null merge.
Senthil Kumaran [Sun, 23 Dec 2012 17:12:13 +0000 (09:12 -0800)]
merge from 3.2
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
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
Eric V. Smith [Sun, 23 Dec 2012 16:15:19 +0000 (11:15 -0500)]
Fix a typo.
Stefan Krah [Sun, 23 Dec 2012 14:46:03 +0000 (15:46 +0100)]
Merge 3.3.
Stefan Krah [Sun, 23 Dec 2012 14:42:21 +0000 (15:42 +0100)]
Issue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc).
Andrew Svetlov [Sun, 23 Dec 2012 13:12:19 +0000 (15:12 +0200)]
Add NEWS and docs for #9856
Andrew Svetlov [Sun, 23 Dec 2012 12:27:17 +0000 (14:27 +0200)]
Issue #9856: Replace deprecation warinigs to raising TypeError in object.__format__
Patch by Florent Xicluna.
Andrew Svetlov [Sun, 23 Dec 2012 10:51:59 +0000 (12:51 +0200)]
null merge
Andrew Svetlov [Sun, 23 Dec 2012 10:51:40 +0000 (12:51 +0200)]
merge heads
Andrew Svetlov [Sun, 23 Dec 2012 10:50:02 +0000 (12:50 +0200)]
Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
Andrew Svetlov [Sun, 23 Dec 2012 10:49:33 +0000 (12:49 +0200)]
Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
Brett Cannon [Sun, 23 Dec 2012 00:38:32 +0000 (19:38 -0500)]
merge with 3.3
Brett Cannon [Sun, 23 Dec 2012 00:34:21 +0000 (19:34 -0500)]
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.
Stefan Krah [Sat, 22 Dec 2012 22:08:42 +0000 (23:08 +0100)]
Merge 3.3.
Stefan Krah [Sat, 22 Dec 2012 22:05:51 +0000 (23:05 +0100)]
Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD.
Stefan Krah [Sat, 22 Dec 2012 13:57:16 +0000 (14:57 +0100)]
Merge 3.3.
Stefan Krah [Sat, 22 Dec 2012 13:46:44 +0000 (14:46 +0100)]
Fix Visual Studio build.
Stefan Krah [Sat, 22 Dec 2012 13:24:55 +0000 (14:24 +0100)]
Merge 3.3.
Stefan Krah [Sat, 22 Dec 2012 13:18:35 +0000 (14:18 +0100)]
Issue #16745: Hide symbols in _decimal.so.
Georg Brandl [Sat, 22 Dec 2012 09:36:45 +0000 (10:36 +0100)]
Add a missing versionadded.
Stefan Krah [Fri, 21 Dec 2012 22:27:13 +0000 (23:27 +0100)]
Merge.
Stefan Krah [Fri, 21 Dec 2012 22:23:25 +0000 (23:23 +0100)]
Merge 3.3.
Stefan Krah [Fri, 21 Dec 2012 22:11:05 +0000 (23:11 +0100)]
Issue #16745: Hide a couple of symbols by making them local.
Mark Dickinson [Fri, 21 Dec 2012 21:52:49 +0000 (21:52 +0000)]
Simplify random_seed to use _PyLong_AsByteArray. Closes issue #16496.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 11:23:23 +0000 (11:23 +0000)]
Merge with 3.3 : Don't DECREF the ctypes error_object without the GIL held.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 11:22:29 +0000 (11:22 +0000)]
Merge with 3.2 : Don't DECREF the ctypes error_object without the GIL held.
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 09:41:25 +0000 (09:41 +0000)]
Don't DECREF the ctypes error_object without the GIL held.
Benjamin Peterson [Fri, 21 Dec 2012 02:25:00 +0000 (20:25 -0600)]
merge 3.3 (closes #16687)
Benjamin Peterson [Fri, 21 Dec 2012 02:24:37 +0000 (20:24 -0600)]
link to GIL as a term
Patch from Jeff Knupp.
Benjamin Peterson [Fri, 21 Dec 2012 02:22:47 +0000 (20:22 -0600)]
fix typo (#16687)
Patch from Jeff Knupp.
Benjamin Peterson [Thu, 20 Dec 2012 18:55:15 +0000 (12:55 -0600)]
merge 3.3 (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 18:54:59 +0000 (12:54 -0600)]
improve message (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 17:55:16 +0000 (11:55 -0600)]
merge 3.3 (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 17:53:11 +0000 (11:53 -0600)]
call close on the underlying stream even if flush raises (closes #16597)
Patch by Serhiy Storchaka.
Benjamin Peterson [Wed, 19 Dec 2012 21:28:46 +0000 (15:28 -0600)]
merge 3.3 (#16722)
Benjamin Peterson [Wed, 19 Dec 2012 21:27:41 +0000 (15:27 -0600)]
try to call __bytes__ before __index__ (closes #16722)
Benjamin Peterson [Wed, 19 Dec 2012 21:17:43 +0000 (15:17 -0600)]
merge heads
Benjamin Peterson [Wed, 19 Dec 2012 21:16:51 +0000 (15:16 -0600)]
update importlib.h
Andrew Svetlov [Wed, 19 Dec 2012 20:55:40 +0000 (22:55 +0200)]
replace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:54:47 +0000 (22:54 +0200)]
replace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:49:25 +0000 (22:49 +0200)]
replace threw with raised (#16714)
Antoine Pitrou [Wed, 19 Dec 2012 19:44:37 +0000 (20:44 +0100)]
Small cleanup in test_ftplib
Antoine Pitrou [Wed, 19 Dec 2012 19:44:02 +0000 (20:44 +0100)]
Small cleanup in test_ftplib
Andrew Svetlov [Wed, 19 Dec 2012 12:33:35 +0000 (14:33 +0200)]
Issue #16719: Get rid of WindowsError. Use OSError instead
Patch by Serhiy Storchaka.
Andrew Svetlov [Wed, 19 Dec 2012 11:45:30 +0000 (13:45 +0200)]
Add versionchanged tag to faq (useless btw because changed text is commented out)
Antoine Pitrou [Tue, 18 Dec 2012 22:44:59 +0000 (23:44 +0100)]
Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.
Antoine Pitrou [Tue, 18 Dec 2012 22:44:36 +0000 (23:44 +0100)]
Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.
Antoine Pitrou [Tue, 18 Dec 2012 22:28:24 +0000 (23:28 +0100)]
Call importlib.invalidate_caches() after creating module files in test_threaded_import.
Antoine Pitrou [Tue, 18 Dec 2012 22:28:04 +0000 (23:28 +0100)]
Call importlib.invalidate_caches() after creating module files in test_threaded_import.
Antoine Pitrou [Tue, 18 Dec 2012 22:04:10 +0000 (23:04 +0100)]
Try to make test_threaded_import faster and safer (issue #15599).
Antoine Pitrou [Tue, 18 Dec 2012 22:03:42 +0000 (23:03 +0100)]
Try to make test_threaded_import faster and safer (issue #15599).
Antoine Pitrou [Tue, 18 Dec 2012 21:18:58 +0000 (22:18 +0100)]
Add sanity assertions in some import lock code (issue #15599).
Antoine Pitrou [Tue, 18 Dec 2012 21:18:17 +0000 (22:18 +0100)]
Add sanity assertions in some import lock code (issue #15599).
Andrew Svetlov [Tue, 18 Dec 2012 21:16:44 +0000 (23:16 +0200)]
Mention OSError instead of IOError in the docs.
Andrew Svetlov [Tue, 18 Dec 2012 21:10:48 +0000 (23:10 +0200)]
Issue #16717: get rid of socket.error, replace with OSError
Andrew Svetlov [Tue, 18 Dec 2012 20:02:39 +0000 (22:02 +0200)]
Issue #16706: get rid of os.error
Andrew Svetlov [Tue, 18 Dec 2012 19:27:16 +0000 (21:27 +0200)]
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
Andrew Svetlov [Tue, 18 Dec 2012 19:26:36 +0000 (21:26 +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.
Antoine Pitrou [Tue, 18 Dec 2012 18:50:58 +0000 (19:50 +0100)]
Relax test when WITH_PYMALLOC is false or undefined.
Andrew Svetlov [Tue, 18 Dec 2012 13:53:39 +0000 (15:53 +0200)]
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
Andrew Svetlov [Tue, 18 Dec 2012 13:53:15 +0000 (15:53 +0200)]
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
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
Antoine Pitrou [Mon, 17 Dec 2012 22:05:59 +0000 (23:05 +0100)]
Following issue #13390, fix compilation --without-pymalloc, and make sys.getallocatedblocks() return 0 in that situation.
Andrew Svetlov [Mon, 17 Dec 2012 21:35:18 +0000 (23:35 +0200)]
Get rig of EnvironmentError (#16705)
Andrew Svetlov [Mon, 17 Dec 2012 20:55:31 +0000 (22:55 +0200)]
Replace mmap.error with OSError, #16705
Andrew Svetlov [Mon, 17 Dec 2012 20:23:46 +0000 (22:23 +0200)]
Issue #16704: Get rid of select.error in stdlib. Use OSError instead.
Giampaolo Rodola' [Mon, 17 Dec 2012 19:46:45 +0000 (20:46 +0100)]
Issue 16646 (ftplib): deliberately use intermediate variable after catching exception
Giampaolo Rodola' [Mon, 17 Dec 2012 19:46:29 +0000 (20:46 +0100)]
Issue 16646 (ftplib): deliberately use intermediate variable after catching exception
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:51:15 +0000 (19:51 +0200)]
Replace os.error with OSError in tkinter and IDLE
Andrew Svetlov [Mon, 17 Dec 2012 17:27:10 +0000 (19:27 +0200)]
Cleanup: remove not needed mocks.
Andrew Svetlov [Mon, 17 Dec 2012 16:57:16 +0000 (18:57 +0200)]
Issue #16647: save socket error details in LMTP.connect()
Initial patch by Serhiy Storchaka.
Andrew Svetlov [Mon, 17 Dec 2012 16:55:10 +0000 (18:55 +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.
Andrew Svetlov [Mon, 17 Dec 2012 14:15:35 +0000 (16:15 +0200)]
Remove obsolete code: now IOError and WindowsError are aliases for OSError
Giampaolo Rodola' [Mon, 17 Dec 2012 13:23:41 +0000 (14:23 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka)
Giampaolo Rodola' [Mon, 17 Dec 2012 13:22:19 +0000 (14:22 +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:45 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:29 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:16 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self