]> granicus.if.org Git - python/log
python
12 years agoFix #11939. Set st_dev attribute on Windows to simplify os.path.samefile.
Brian Curtin [Wed, 26 Dec 2012 13:03:03 +0000 (07:03 -0600)]
Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile.

By setting the st_dev attribute, we can then remove some Windows-specific
code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py
so all platforms share the same implementation.

12 years agoIssue #16702: Skip proxies for localhost in urllib2_localnet tests
Senthil Kumaran [Wed, 26 Dec 2012 09:47:09 +0000 (01:47 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests

12 years agoIssue #16702: Skip proxies for localhost in urllib2_localnet tests
Senthil Kumaran [Wed, 26 Dec 2012 09:46:39 +0000 (01:46 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests

12 years agoIssue #16702: Skip proxies for localhost in urllib2_localnet tests
Senthil Kumaran [Wed, 26 Dec 2012 09:45:58 +0000 (01:45 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests

12 years agoTest for issue16772 and redoes the previous fix to accept __index__-aware
Gregory P. Smith [Wed, 26 Dec 2012 06:38:32 +0000 (22:38 -0800)]
Test for issue16772 and redoes the previous fix to accept __index__-aware
objects as the base by using PyNumber_AsSsize_t similar to round().

12 years agoNull merge.
Chris Jerdonek [Tue, 25 Dec 2012 23:28:45 +0000 (15:28 -0800)]
Null merge.

12 years agoNull merge.
Chris Jerdonek [Tue, 25 Dec 2012 23:27:56 +0000 (15:27 -0800)]
Null merge.

12 years agoFix Sphinx warning (missing "setting-envvars" reference).
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)"

12 years agoMerge from 3.3: add links and index entries for "argument" and "parameter."
Chris Jerdonek [Tue, 25 Dec 2012 22:59:46 +0000 (14:59 -0800)]
Merge from 3.3: add 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).

12 years agoMerge from 3.2: add links and index entries for "argument" and "parameter."
Chris Jerdonek [Tue, 25 Dec 2012 22:57:54 +0000 (14:57 -0800)]
Merge from 3.2: add 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).

12 years agoAdd additional links and index entries for "argument" and "parameter".
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).

12 years agoFixes issue #16772: int() constructor second argument (base) must be an int.
Gregory P. Smith [Tue, 25 Dec 2012 21:05:31 +0000 (13:05 -0800)]
Fixes issue #16772: int() constructor second argument (base) must be an int.
Consistent with the behavior in Python 2.

12 years agorename MathcObject to match object in doctrings for re module (#16760)
Andrew Svetlov [Tue, 25 Dec 2012 16:49:24 +0000 (18:49 +0200)]
rename MathcObject to match object in doctrings for re module (#16760)

12 years agorename MathcObject to match object in doctrings for re module (#16760)
Andrew Svetlov [Tue, 25 Dec 2012 16:49:08 +0000 (18:49 +0200)]
rename MathcObject to match object in doctrings for re module (#16760)

12 years agorename 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)

12 years ago#16760: merge with 3.3.
Ezio Melotti [Tue, 25 Dec 2012 16:16:31 +0000 (18:16 +0200)]
#16760: merge with 3.3.

12 years ago#16760: merge with 3.2.
Ezio Melotti [Tue, 25 Dec 2012 16:15:28 +0000 (18:15 +0200)]
#16760: merge with 3.2.

12 years ago#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`.

12 years agoReplace IOError with OSError (#16715)
Andrew Svetlov [Tue, 25 Dec 2012 14:47:37 +0000 (16:47 +0200)]
Replace IOError with OSError (#16715)

12 years ago#16677: merge with 3.3.
Ezio Melotti [Tue, 25 Dec 2012 13:47:41 +0000 (15:47 +0200)]
#16677: merge with 3.3.

12 years ago#16677: merge with 3.2.
Ezio Melotti [Tue, 25 Dec 2012 13:46:58 +0000 (15:46 +0200)]
#16677: merge with 3.2.

12 years ago#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.

12 years agoIssue #15422: get rid of PyCFunction_New macro
Andrew Svetlov [Tue, 25 Dec 2012 11:32:35 +0000 (13:32 +0200)]
Issue #15422: get rid of PyCFunction_New macro

12 years agoAdd test coverage for os.removedirs (#16775)
Andrew Svetlov [Tue, 25 Dec 2012 10:21:49 +0000 (12:21 +0200)]
Add test coverage for os.removedirs (#16775)

12 years agoAdd test coverage for os.removedirs (#16775)
Andrew Svetlov [Tue, 25 Dec 2012 10:20:39 +0000 (12:20 +0200)]
Add test coverage for os.removedirs (#16775)

12 years agoAdd test coverage for os.removedirs (#16775)
Andrew Svetlov [Tue, 25 Dec 2012 10:18:09 +0000 (12:18 +0200)]
Add test coverage for os.removedirs (#16775)

12 years agoFix issue16713 - tel url parsing with params
Senthil Kumaran [Mon, 24 Dec 2012 22:01:48 +0000 (14:01 -0800)]
Fix issue16713 - tel url parsing with params

12 years agoFix issue16713 - tel url parsing with params
Senthil Kumaran [Mon, 24 Dec 2012 22:01:13 +0000 (14:01 -0800)]
Fix issue16713 - tel url parsing with params

12 years agoFix issue16713 - tel url parsing with params
Senthil Kumaran [Mon, 24 Dec 2012 22:00:20 +0000 (14:00 -0800)]
Fix issue16713 - tel url parsing with params

12 years agofix typo (#16720)
Andrew Svetlov [Mon, 24 Dec 2012 19:47:24 +0000 (21:47 +0200)]
fix typo (#16720)

12 years agoKeep ref to ECHILD in local scope (#16650)
Andrew Svetlov [Mon, 24 Dec 2012 18:08:53 +0000 (20:08 +0200)]
Keep ref to ECHILD in local scope (#16650)

12 years agoKeep ref to ECHILD in local scope (#16650)
Andrew Svetlov [Mon, 24 Dec 2012 18:06:52 +0000 (20:06 +0200)]
Keep ref to ECHILD in local scope (#16650)

12 years agoKeep 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)

12 years agomerge heads
Andrew Svetlov [Mon, 24 Dec 2012 18:00:05 +0000 (20:00 +0200)]
merge heads

12 years agoUse OESeeror instead of os.error (#16720)
Andrew Svetlov [Mon, 24 Dec 2012 17:58:48 +0000 (19:58 +0200)]
Use OESeeror instead of os.error (#16720)

Patch by Serhiy Storchaka.

12 years agomerge heads
Benjamin Peterson [Mon, 24 Dec 2012 17:54:13 +0000 (11:54 -0600)]
merge heads

12 years agoimprove tracing performance when f_trace is NULL (closes #16672)
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.

12 years agoFix #14470. Remove mentions of w9xpopen on old versions of Visual Studio.
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.

12 years agoIssue #16511: Use default IDLE width and height if config param is not valid.
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.

12 years agoIssue #16511: Use default IDLE width and height if config param is not valid.
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.

12 years agoIssue #16511: Use default IDLE width and height if config param is not valid.
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.

12 years agoMerge from 3.3: link to "yield from" examples in yield documentation.
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.

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

12 years agoAdd NEWS item for fixing #14470.
Brian Curtin [Sun, 23 Dec 2012 22:54:41 +0000 (16:54 -0600)]
Add NEWS item for fixing #14470.

12 years agoFix #14470. Remove w9xpopen per PEP 11.
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.

12 years agoIssue #16443: Add docstrings to regular expression match objects.
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.

12 years agoIssue #16443: Add docstrings to regular expression match objects.
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.

12 years agomerge heads
Andrew Svetlov [Sun, 23 Dec 2012 17:55:21 +0000 (19:55 +0200)]
merge heads

12 years agoIssue #16443: Add docstrings to regular expression match objects.
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.

12 years agonull merge.
Senthil Kumaran [Sun, 23 Dec 2012 17:13:33 +0000 (09:13 -0800)]
null merge.

12 years agomerge from 3.2
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

12 years agoFix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return...
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

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.