]>
granicus.if.org Git - python/log
Nick Coghlan [Fri, 19 Oct 2012 12:58:06 +0000 (22:58 +1000)]
Dummy merge from 3.2, as that approach to resolving #6074 is not applicable to importlib
Nick Coghlan [Fri, 19 Oct 2012 12:38:14 +0000 (22:38 +1000)]
Issue #6074: Forward port Windows read-only source file fix from 2.7
Giampaolo Rodola' [Fri, 19 Oct 2012 11:40:28 +0000 (13:40 +0200)]
Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager.
Giampaolo Rodola' [Fri, 19 Oct 2012 11:34:32 +0000 (13:34 +0200)]
Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager.
Georg Brandl [Fri, 19 Oct 2012 05:37:44 +0000 (07:37 +0200)]
Fix merging mistake.
Ned Deily [Fri, 19 Oct 2012 01:16:44 +0000 (18:16 -0700)]
Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
Mark Dickinson [Thu, 18 Oct 2012 18:53:28 +0000 (19:53 +0100)]
Issue #16277: merge fix from 3.2
Mark Dickinson [Thu, 18 Oct 2012 18:21:43 +0000 (19:21 +0100)]
Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= sizeof(long).
Chris Jerdonek [Thu, 18 Oct 2012 03:21:05 +0000 (20:21 -0700)]
Merge from 3.2: clarify universal-newline wording in tutorial (issue #16266).
Chris Jerdonek [Thu, 18 Oct 2012 03:17:41 +0000 (20:17 -0700)]
Clarify universal-newline wording in tutorial (issue #16266).
Trent Nelson [Wed, 17 Oct 2012 22:08:16 +0000 (18:08 -0400)]
Merge heads.
Trent Nelson [Wed, 17 Oct 2012 22:03:24 +0000 (18:03 -0400)]
Issue #15298: refactor previous fix from
66959d419369 .
Andrew Svetlov [Wed, 17 Oct 2012 14:29:20 +0000 (17:29 +0300)]
merge heads
Andrew Svetlov [Wed, 17 Oct 2012 14:21:36 +0000 (17:21 +0300)]
null merge
Andrew Svetlov [Wed, 17 Oct 2012 14:20:46 +0000 (17:20 +0300)]
null merge
Andrew Svetlov [Wed, 17 Oct 2012 14:16:19 +0000 (17:16 +0300)]
Merge issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
Andrew Svetlov [Wed, 17 Oct 2012 14:15:43 +0000 (17:15 +0300)]
Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
Antoine Pitrou [Wed, 17 Oct 2012 14:13:55 +0000 (16:13 +0200)]
Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
Antoine Pitrou [Wed, 17 Oct 2012 14:12:30 +0000 (16:12 +0200)]
Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
Andrew Svetlov [Wed, 17 Oct 2012 13:46:00 +0000 (16:46 +0300)]
Merge issue #16265: Fix collapsing of code sample in tutorial.
Thanks to Yongzhi Pan from docs@
Andrew Svetlov [Wed, 17 Oct 2012 13:41:28 +0000 (16:41 +0300)]
Issue #16265: Fix collapsing of code sample in tutorial.
Thanks to Yongzhi Pan from docs@
Trent Nelson [Wed, 17 Oct 2012 10:15:40 +0000 (06:15 -0400)]
Issue #16257: make test_create_connection() handle ENETUNREACH.
Trent Nelson [Wed, 17 Oct 2012 10:15:15 +0000 (06:15 -0400)]
Issue #16257: make test_create_connection() handle ENETUNREACH.
Trent Nelson [Wed, 17 Oct 2012 08:47:31 +0000 (04:47 -0400)]
Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
Trent Nelson [Wed, 17 Oct 2012 08:45:30 +0000 (04:45 -0400)]
Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
Trent Nelson [Wed, 17 Oct 2012 08:23:50 +0000 (04:23 -0400)]
Issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.
Reported by: Ned Deily.
Eric Snow [Wed, 17 Oct 2012 05:35:38 +0000 (22:35 -0700)]
Close #16160: Subclass support now works for types.SimpleNamespace. Thanks to RDM for noticing.
R David Murray [Wed, 17 Oct 2012 01:52:24 +0000 (21:52 -0400)]
A couple more whatsnew updates.
Antoine Pitrou [Tue, 16 Oct 2012 21:05:01 +0000 (23:05 +0200)]
Merge for issue #15744: add tests for the writelines() method of file objects.
Antoine Pitrou [Tue, 16 Oct 2012 21:02:27 +0000 (23:02 +0200)]
Also add tests for TextIOWrapper.writelines() (issue #15744).
Antoine Pitrou [Tue, 16 Oct 2012 20:57:11 +0000 (22:57 +0200)]
Add tests for the writelines() method of file objects.
Original patch by Felipe Cruz.
Ezio Melotti [Tue, 16 Oct 2012 18:50:33 +0000 (21:50 +0300)]
Fix typo.
Trent Nelson [Tue, 16 Oct 2012 15:07:31 +0000 (11:07 -0400)]
Merge issue #15819: tweak logic in previous commit.
Trent Nelson [Tue, 16 Oct 2012 15:04:04 +0000 (11:04 -0400)]
Issue #15819: tweak logic in previous commit (
617591e7d708 ).
Nick Coghlan [Tue, 16 Oct 2012 13:14:03 +0000 (23:14 +1000)]
A dict comprehension is much prettier (thanks Antoine)
Trent Nelson [Tue, 16 Oct 2012 12:56:41 +0000 (08:56 -0400)]
Merge heads.
Trent Nelson [Tue, 16 Oct 2012 12:51:24 +0000 (08:51 -0400)]
Merge issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
Nick Coghlan [Tue, 16 Oct 2012 12:50:04 +0000 (22:50 +1000)]
Tweak the threaded example in concurrent.futures
Trent Nelson [Tue, 16 Oct 2012 12:41:32 +0000 (08:41 -0400)]
Issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
Trent Nelson [Tue, 16 Oct 2012 12:13:12 +0000 (08:13 -0400)]
Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.
Patch by Richard Oudkerk (sbt).
Trent Nelson [Tue, 16 Oct 2012 11:48:34 +0000 (07:48 -0400)]
Merge heads.
Trent Nelson [Tue, 16 Oct 2012 11:47:34 +0000 (07:47 -0400)]
Issue #15833: don't raise an exception if importlib can't write byte-compiled
files.
This fixes a regression introduced by 3.3. Patch by Charles-François Natali.
Andrew Svetlov [Tue, 16 Oct 2012 10:52:25 +0000 (13:52 +0300)]
Issue #15936: Reformat text for os.random to follow Larry Hastings suggestion
Andrew Svetlov [Tue, 16 Oct 2012 10:15:06 +0000 (13:15 +0300)]
Issue #15936: Add link from os.urandom to random.SystemRandom
Vinay Sajip [Tue, 16 Oct 2012 09:32:13 +0000 (10:32 +0100)]
Issue #16244: Merged change from 3.2.
Vinay Sajip [Tue, 16 Oct 2012 09:28:31 +0000 (10:28 +0100)]
Issue #16244: Remove file mode overrides.
Chris Jerdonek [Tue, 16 Oct 2012 02:46:34 +0000 (19:46 -0700)]
Issue #16225: Merge from 3.2: Add additional note to tutorial about looping.
Chris Jerdonek [Tue, 16 Oct 2012 02:44:47 +0000 (19:44 -0700)]
Issue #16225: Add additional note to tutorial about changing sequence while looping.
Chris Jerdonek [Sat, 13 Oct 2012 10:25:18 +0000 (03:25 -0700)]
Issue #16206: Merge dict documentation improvements from 3.2.
Improve the documentation of the dict constructor. This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.
Chris Jerdonek [Sat, 13 Oct 2012 10:22:33 +0000 (03:22 -0700)]
Issue #16206: Improve the documentation of the dict constructor.
This change includes replacing the single-line signature documentation
with a more complete multiple-line signature.
Chris Jerdonek [Sat, 13 Oct 2012 03:28:26 +0000 (20:28 -0700)]
Undo changes accidentally reverted in
de8787029fe4 .
Benjamin Peterson [Fri, 12 Oct 2012 16:05:01 +0000 (12:05 -0400)]
merge heads
Benjamin Peterson [Fri, 12 Oct 2012 16:04:32 +0000 (12:04 -0400)]
merge 3.2
Benjamin Peterson [Fri, 12 Oct 2012 15:44:19 +0000 (11:44 -0400)]
skip if __doc__ is gone
Benjamin Peterson [Fri, 12 Oct 2012 15:44:10 +0000 (11:44 -0400)]
fix to work if __doc__ is removed
Ezio Melotti [Fri, 12 Oct 2012 10:45:38 +0000 (13:45 +0300)]
Merge __next__ method link fixes with 3.2.
Ezio Melotti [Fri, 12 Oct 2012 10:42:08 +0000 (13:42 +0300)]
Fix links to the __next__ method.
Ezio Melotti [Fri, 12 Oct 2012 10:25:54 +0000 (13:25 +0300)]
Merge doctest fixes in functional howto with 3.2.
Ezio Melotti [Fri, 12 Oct 2012 10:24:19 +0000 (13:24 +0300)]
Make doctests pass in the functional howto.
Ezio Melotti [Fri, 12 Oct 2012 10:23:32 +0000 (13:23 +0300)]
Merge functional howto improvements with 3.2.
Ezio Melotti [Fri, 12 Oct 2012 09:42:51 +0000 (12:42 +0300)]
Improve markup in functional.rst, and fix a couple of errors.
Ezio Melotti [Fri, 12 Oct 2012 07:59:14 +0000 (10:59 +0300)]
Fix and add more links.
Chris Jerdonek [Fri, 12 Oct 2012 01:57:48 +0000 (18:57 -0700)]
Add and adjust some string-related links in the docs.
Chris Jerdonek [Fri, 12 Oct 2012 01:49:02 +0000 (18:49 -0700)]
Merge from 3.2: Fix link to str.format() in docs.
Chris Jerdonek [Fri, 12 Oct 2012 01:47:54 +0000 (18:47 -0700)]
Fix link to str.format() in docs.
Chris Jerdonek [Thu, 11 Oct 2012 23:01:00 +0000 (16:01 -0700)]
Issue #16199: Merge 2to3 typo fix from 3.2.
Chris Jerdonek [Thu, 11 Oct 2012 22:59:32 +0000 (15:59 -0700)]
Issue #16199: Fix typo in 2to3 docs. Thanks to Mark Lawrence for the report.
Brian Curtin [Thu, 11 Oct 2012 21:11:37 +0000 (16:11 -0500)]
Merge 3.2
Brian Curtin [Thu, 11 Oct 2012 21:07:52 +0000 (16:07 -0500)]
Fix #16176. Properly identify Windows 8 via platform.platform()
Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
Chris Jerdonek [Thu, 11 Oct 2012 05:53:35 +0000 (22:53 -0700)]
Merge from 3.2: Fix placement of shell=True warning in subprocess.Popen() docs.
Chris Jerdonek [Thu, 11 Oct 2012 05:52:22 +0000 (22:52 -0700)]
Fix placement of shell=True warning in subprocess.Popen() docs.
Chris Jerdonek [Thu, 11 Oct 2012 00:47:55 +0000 (17:47 -0700)]
Issue #16115: Merge subprocess.Popen() documentation improvements from 3.2.
Chris Jerdonek [Thu, 11 Oct 2012 00:46:18 +0000 (17:46 -0700)]
Issue #16115: Make further improvements to subprocess.Popen() documentation.
Brett Cannon [Wed, 10 Oct 2012 23:03:46 +0000 (19:03 -0400)]
Closes issue #15111: Calling __import__ with a module specified in
fromlist which causes its own ImportError (e.g. the module tries to
import a non-existent module) should have that exception propagate.
Chris Jerdonek [Wed, 10 Oct 2012 15:34:38 +0000 (08:34 -0700)]
Issue #12947: Remove doctest directives from the doctest examples in the "Option Flag" section.
The doctest examples that illustrate the use of doctest option flags
independent of doctest directives should not display doctest directives.
Georg Brandl [Wed, 10 Oct 2012 14:56:15 +0000 (16:56 +0200)]
Missed one instance of code-block:: text highlighting to revert.
Georg Brandl [Wed, 10 Oct 2012 14:49:11 +0000 (16:49 +0200)]
merge 3.2
Georg Brandl [Wed, 10 Oct 2012 14:49:02 +0000 (16:49 +0200)]
merge 3.2 heads
Georg Brandl [Wed, 10 Oct 2012 14:45:11 +0000 (16:45 +0200)]
Issue #12947: revert earlier workaround and use a monkey-patch to enable showing doctest directives only in the doctest docs.
Georg Brandl [Wed, 10 Oct 2012 14:45:11 +0000 (16:45 +0200)]
Issue #12947: revert earlier workaround and use a monkey-patch to enable showing doctest directives only in the doctest docs.
Chris Jerdonek [Wed, 10 Oct 2012 13:52:08 +0000 (06:52 -0700)]
Issue #12947: Divide doctest "Option Flags and Directives" section into two.
This changeset also applies the rendering workaround to the last remaining
example in the file that has a doctest directive that should be displayed.
Gregory P. Smith [Wed, 10 Oct 2012 10:44:47 +0000 (03:44 -0700)]
Fixes Issue #16114: The subprocess module no longer provides a
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
Gregory P. Smith [Wed, 10 Oct 2012 10:34:47 +0000 (03:34 -0700)]
Fixes Issue #16114: The subprocess module no longer provides a
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
It now keeps track of if the child got as far as preexec and reports it if
not back to the parent via a special "noexec" error message value in
the error pipe so that the cwd can be blamed for a failed chdir
instead of the exec of the executable being blamed instead.
The executable is also always reported accurately when exec fails.
Unittests enhanced to cover these cases.
Chris Jerdonek [Tue, 9 Oct 2012 20:17:49 +0000 (13:17 -0700)]
Issue #16170: Remove Linux skip from test_subprocess's test_executable test.
Benjamin Peterson [Tue, 9 Oct 2012 15:16:26 +0000 (11:16 -0400)]
merge heads
Benjamin Peterson [Tue, 9 Oct 2012 15:16:03 +0000 (11:16 -0400)]
compare singletons by identity not equality (closes #16712)
Patch from Serhiy Storchaka.
Benjamin Peterson [Tue, 9 Oct 2012 15:14:59 +0000 (11:14 -0400)]
compare with equality not identity (issue #16172)
Patch from Serhiy Storchaka.
Eli Bendersky [Tue, 9 Oct 2012 14:18:16 +0000 (07:18 -0700)]
Issue #16082: clarify the documentation of tostring[list] saying that it may generate a bytestring, depending on the given encoding.
Eli Bendersky [Tue, 9 Oct 2012 13:46:33 +0000 (06:46 -0700)]
Issue #12322: clarify xpath reference for cases where the path reaches ancestors of the start element. Also add missing markup for a None. Thanks to patrick vrijlandt and Mike Hoy for the report and initial patches.
Richard Oudkerk [Tue, 9 Oct 2012 12:28:10 +0000 (13:28 +0100)]
Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror
Andrew Svetlov [Tue, 9 Oct 2012 10:44:48 +0000 (13:44 +0300)]
Merge issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
Andrew Svetlov [Tue, 9 Oct 2012 10:44:16 +0000 (13:44 +0300)]
Issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
Senthil Kumaran [Tue, 9 Oct 2012 07:38:17 +0000 (00:38 -0700)]
Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
Senthil Kumaran [Tue, 9 Oct 2012 07:37:09 +0000 (00:37 -0700)]
Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
Vinay Sajip [Tue, 9 Oct 2012 07:22:01 +0000 (08:22 +0100)]
Issue #16168: Merged SysLogHandler update from 3.2.
Vinay Sajip [Tue, 9 Oct 2012 07:19:25 +0000 (08:19 +0100)]
Issue #16168: Use specified socket type for domain sockets in SysLogHandler.
Chris Jerdonek [Tue, 9 Oct 2012 06:12:21 +0000 (23:12 -0700)]
Issue #16115: Merge subprocess.Popen() documentation improvements from 3.2.
Chris Jerdonek [Tue, 9 Oct 2012 06:06:57 +0000 (23:06 -0700)]
Issue #16115: Improve subprocess.Popen() documentation around args, shell, and executable arguments.
Chris Jerdonek [Tue, 9 Oct 2012 00:53:46 +0000 (17:53 -0700)]
Issue #16115: Skip a newly added subprocess.Popen() test on Linux.
Chris Jerdonek [Mon, 8 Oct 2012 22:56:43 +0000 (15:56 -0700)]
Issue #16115: Improve testing of the executable argument to subprocess.Popen().