]> granicus.if.org Git - python/log
python
12 years agoFix a typo.
Eric V. Smith [Sun, 23 Dec 2012 16:15:19 +0000 (11:15 -0500)]
Fix a typo.

12 years agoMerge 3.3.
Stefan Krah [Sun, 23 Dec 2012 14:46:03 +0000 (15:46 +0100)]
Merge 3.3.

12 years agoIssue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc).
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).

12 years agoAdd NEWS and docs for #9856
Andrew Svetlov [Sun, 23 Dec 2012 13:12:19 +0000 (15:12 +0200)]
Add NEWS and docs for #9856

12 years agoIssue #9856: Replace deprecation warinigs to raising TypeError in object.__format__
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.

12 years agonull merge
Andrew Svetlov [Sun, 23 Dec 2012 10:51:59 +0000 (12:51 +0200)]
null merge

12 years agomerge heads
Andrew Svetlov [Sun, 23 Dec 2012 10:51:40 +0000 (12:51 +0200)]
merge heads

12 years agoIssue #16045: add more unit tests for built-in int()
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.

12 years agoIssue #16045: add more unit tests for built-in int()
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.

12 years agomerge with 3.3
Brett Cannon [Sun, 23 Dec 2012 00:38:32 +0000 (19:38 -0500)]
merge with 3.3

12 years agoIssue #16752: Add a missing import to modulefinder.
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.

12 years agoMerge 3.3.
Stefan Krah [Sat, 22 Dec 2012 22:08:42 +0000 (23:08 +0100)]
Merge 3.3.

12 years agoIssue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD.
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.

12 years agoMerge 3.3.
Stefan Krah [Sat, 22 Dec 2012 13:57:16 +0000 (14:57 +0100)]
Merge 3.3.

12 years agoFix Visual Studio build.
Stefan Krah [Sat, 22 Dec 2012 13:46:44 +0000 (14:46 +0100)]
Fix Visual Studio build.

12 years agoMerge 3.3.
Stefan Krah [Sat, 22 Dec 2012 13:24:55 +0000 (14:24 +0100)]
Merge 3.3.

12 years agoIssue #16745: Hide symbols in _decimal.so.
Stefan Krah [Sat, 22 Dec 2012 13:18:35 +0000 (14:18 +0100)]
Issue #16745: Hide symbols in _decimal.so.

12 years agoAdd a missing versionadded.
Georg Brandl [Sat, 22 Dec 2012 09:36:45 +0000 (10:36 +0100)]
Add a missing versionadded.

12 years agoMerge.
Stefan Krah [Fri, 21 Dec 2012 22:27:13 +0000 (23:27 +0100)]
Merge.

12 years agoMerge 3.3.
Stefan Krah [Fri, 21 Dec 2012 22:23:25 +0000 (23:23 +0100)]
Merge 3.3.

12 years agoIssue #16745: Hide a couple of symbols by making them local.
Stefan Krah [Fri, 21 Dec 2012 22:11:05 +0000 (23:11 +0100)]
Issue #16745: Hide a couple of symbols by making them local.

12 years agoSimplify random_seed to use _PyLong_AsByteArray. Closes issue #16496.
Mark Dickinson [Fri, 21 Dec 2012 21:52:49 +0000 (21:52 +0000)]
Simplify random_seed to use _PyLong_AsByteArray.  Closes issue #16496.

12 years agoMerge with 3.3 : Don't DECREF the ctypes error_object without the GIL held.
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.

12 years agoMerge with 3.2 : 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.

12 years agoMerge with 3.1 : 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.

12 years agoDon'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.

12 years agomerge 3.3 (closes #16687)
Benjamin Peterson [Fri, 21 Dec 2012 02:25:00 +0000 (20:25 -0600)]
merge 3.3 (closes #16687)

12 years agolink to GIL as a term
Benjamin Peterson [Fri, 21 Dec 2012 02:24:37 +0000 (20:24 -0600)]
link to GIL as a term

Patch from Jeff Knupp.

12 years agofix typo (#16687)
Benjamin Peterson [Fri, 21 Dec 2012 02:22:47 +0000 (20:22 -0600)]
fix typo (#16687)

Patch from Jeff Knupp.

12 years agomerge 3.3 (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 18:55:15 +0000 (12:55 -0600)]
merge 3.3 (#16597)

12 years agoimprove message (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 18:54:59 +0000 (12:54 -0600)]
improve message (#16597)

12 years agomerge 3.3 (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 17:55:16 +0000 (11:55 -0600)]
merge 3.3 (#16597)

12 years agocall close on the underlying stream even if flush raises (closes #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.

12 years agomerge 3.3 (#16722)
Benjamin Peterson [Wed, 19 Dec 2012 21:28:46 +0000 (15:28 -0600)]
merge 3.3 (#16722)

12 years agotry to call __bytes__ before __index__ (closes #16722)
Benjamin Peterson [Wed, 19 Dec 2012 21:27:41 +0000 (15:27 -0600)]
try to call __bytes__ before __index__ (closes #16722)

12 years agomerge heads
Benjamin Peterson [Wed, 19 Dec 2012 21:17:43 +0000 (15:17 -0600)]
merge heads

12 years agoupdate importlib.h
Benjamin Peterson [Wed, 19 Dec 2012 21:16:51 +0000 (15:16 -0600)]
update importlib.h

12 years agoreplace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:55:40 +0000 (22:55 +0200)]
replace threw with raised (#16714)

12 years agoreplace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:54:47 +0000 (22:54 +0200)]
replace threw with raised (#16714)

12 years agoreplace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:49:25 +0000 (22:49 +0200)]
replace threw with raised (#16714)

12 years agoSmall cleanup in test_ftplib
Antoine Pitrou [Wed, 19 Dec 2012 19:44:37 +0000 (20:44 +0100)]
Small cleanup in test_ftplib

12 years agoSmall cleanup in test_ftplib
Antoine Pitrou [Wed, 19 Dec 2012 19:44:02 +0000 (20:44 +0100)]
Small cleanup in test_ftplib

12 years agoIssue #16719: Get rid of WindowsError. Use OSError instead
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.

12 years agoAdd versionchanged tag to faq (useless btw because changed text is commented out)
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)

12 years agoSilence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876...
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.

12 years agoSilence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876...
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.

12 years agoCall importlib.invalidate_caches() after creating module files in test_threaded_import.
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.

12 years agoCall 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.

12 years agoTry to make test_threaded_import faster and safer (issue #15599).
Antoine Pitrou [Tue, 18 Dec 2012 22:04:10 +0000 (23:04 +0100)]
Try to make test_threaded_import faster and safer (issue #15599).

12 years agoTry 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).

12 years agoAdd sanity assertions in some import lock code (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).

12 years agoAdd 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).

12 years agoMention OSError instead of IOError in the docs.
Andrew Svetlov [Tue, 18 Dec 2012 21:16:44 +0000 (23:16 +0200)]
Mention OSError instead of IOError in the docs.

12 years agoIssue #16717: get rid of socket.error, replace with OSError
Andrew Svetlov [Tue, 18 Dec 2012 21:10:48 +0000 (23:10 +0200)]
Issue #16717: get rid of socket.error, replace with OSError

12 years agoIssue #16706: get rid of os.error
Andrew Svetlov [Tue, 18 Dec 2012 20:02:39 +0000 (22:02 +0200)]
Issue #16706: get rid of os.error

12 years agoIssue #16714: use 'raise' exceptions, don't 'throw'.
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.

12 years agoIssue #16714: use 'raise' exceptions, don't 'throw'.
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.

12 years agoIssue #16714: use 'raise' exceptions, don't 'throw'.
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.

12 years agoRelax test when WITH_PYMALLOC is false or undefined.
Antoine Pitrou [Tue, 18 Dec 2012 18:50:58 +0000 (19:50 +0100)]
Relax test when WITH_PYMALLOC is false or undefined.

12 years agoIssue #16711: Fix required method names for collections.Iterator
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

12 years agoIssue #16711: Fix required method names for collections.Iterator
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

12 years agoIssue #16711: Fix required method names for collections.Iterator
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

12 years agoFollowing issue #13390, fix compilation --without-pymalloc, and make sys.getallocated...
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.

12 years agoGet rig of EnvironmentError (#16705)
Andrew Svetlov [Mon, 17 Dec 2012 21:35:18 +0000 (23:35 +0200)]
Get rig of EnvironmentError (#16705)

12 years agoReplace mmap.error with OSError, #16705
Andrew Svetlov [Mon, 17 Dec 2012 20:55:31 +0000 (22:55 +0200)]
Replace mmap.error with OSError, #16705

12 years agoIssue #16704: Get rid of select.error in stdlib. Use OSError instead.
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.

12 years agoIssue 16646 (ftplib): deliberately use intermediate variable after catching exception
Giampaolo Rodola' [Mon, 17 Dec 2012 19:46:45 +0000 (20:46 +0100)]
Issue 16646 (ftplib): deliberately use intermediate variable after catching exception

12 years agoIssue 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

12 years agoIssue 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

12 years agoReplace os.error with OSError in tkinter and IDLE
Andrew Svetlov [Mon, 17 Dec 2012 17:51:15 +0000 (19:51 +0200)]
Replace os.error with OSError in tkinter and IDLE

12 years agoCleanup: remove not needed mocks.
Andrew Svetlov [Mon, 17 Dec 2012 17:27:10 +0000 (19:27 +0200)]
Cleanup: remove not needed mocks.

12 years agoIssue #16647: save socket error details in LMTP.connect()
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.

12 years agoIssue #16647: save socket error details in LMTP.connect()
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.

12 years agoIssue #16647: save socket error details in LMTP.connect()
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.

12 years agoRemove obsolete code: now IOError and WindowsError are aliases for OSError
Andrew Svetlov [Mon, 17 Dec 2012 14:15:35 +0000 (16:15 +0200)]
Remove obsolete code: now IOError and WindowsError are aliases for OSError

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
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)

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
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)

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
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)

12 years agoUpdate example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:45 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self

12 years agoUpdate 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

12 years agoUpdate 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

12 years agoFix typo
Andrew Svetlov [Mon, 17 Dec 2012 11:42:57 +0000 (13:42 +0200)]
Fix typo

12 years agoFix typo
Andrew Svetlov [Mon, 17 Dec 2012 11:42:40 +0000 (13:42 +0200)]
Fix typo

12 years agoFix typo
Andrew Svetlov [Mon, 17 Dec 2012 11:42:04 +0000 (13:42 +0200)]
Fix typo

12 years agoAdd Ashish Nitin Patil for work on Issue #14901
Brian Curtin [Mon, 17 Dec 2012 06:08:28 +0000 (00:08 -0600)]
Add Ashish Nitin Patil for work on Issue #14901

12 years agoMerge 3.3
Brian Curtin [Mon, 17 Dec 2012 06:06:02 +0000 (00:06 -0600)]
Merge 3.3

12 years agoMerge 3.2
Brian Curtin [Mon, 17 Dec 2012 06:04:30 +0000 (00:04 -0600)]
Merge 3.2

12 years agoFix #14901. Update the Windows FAQ.
Brian Curtin [Mon, 17 Dec 2012 05:58:09 +0000 (23:58 -0600)]
Fix #14901. Update the Windows FAQ.

Patch by Ashish Nitin Patil.

12 years agoMerge 3.3.
Stefan Krah [Sun, 16 Dec 2012 20:11:35 +0000 (21:11 +0100)]
Merge 3.3.

12 years agoIssue #15783: Support None default values in the Context() constructor.
Stefan Krah [Sun, 16 Dec 2012 20:10:35 +0000 (21:10 +0100)]
Issue #15783: Support None default values in the Context() constructor.

12 years agoSilence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) ...
Antoine Pitrou [Sun, 16 Dec 2012 15:40:22 +0000 (16:40 +0100)]
Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.

12 years agoSilence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) ...
Antoine Pitrou [Sun, 16 Dec 2012 15:40:04 +0000 (16:40 +0100)]
Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.

12 years agoNull merge
Antoine Pitrou [Sun, 16 Dec 2012 15:11:51 +0000 (16:11 +0100)]
Null merge

12 years agoNull merge
Antoine Pitrou [Sun, 16 Dec 2012 15:11:31 +0000 (16:11 +0100)]
Null merge

12 years agoFix ResourceWarnings in test_pty
Antoine Pitrou [Sun, 16 Dec 2012 15:09:11 +0000 (16:09 +0100)]
Fix ResourceWarnings in test_pty

12 years agoIssue #16696: fix comparison between bytes and string. Also, improve glob tests.
Antoine Pitrou [Sun, 16 Dec 2012 15:03:57 +0000 (16:03 +0100)]
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.

12 years agoIssue #16696: fix comparison between bytes and string. Also, improve glob tests.
Antoine Pitrou [Sun, 16 Dec 2012 15:03:42 +0000 (16:03 +0100)]
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.

12 years agoIssue #16696: fix comparison between bytes and string. Also, improve glob tests.
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.

12 years agoIssue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern conta...
Antoine Pitrou [Sun, 16 Dec 2012 12:54:14 +0000 (13:54 +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.

12 years agoIssue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern conta...
Antoine Pitrou [Sun, 16 Dec 2012 12:50:19 +0000 (13:50 +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.