]> granicus.if.org Git - python/log
python
10 years agoMerge with 3.4
Terry Jan Reedy [Thu, 4 Dec 2014 06:26:35 +0000 (01:26 -0500)]
Merge with 3.4

10 years agoIssue #3068: Document the new Configure Extensions dialog and menu entry.
Terry Jan Reedy [Thu, 4 Dec 2014 06:26:04 +0000 (01:26 -0500)]
Issue #3068: Document the new Configure Extensions dialog and menu entry.

10 years agoMerge with 3.4
Terry Jan Reedy [Thu, 4 Dec 2014 05:55:16 +0000 (00:55 -0500)]
Merge with 3.4

10 years agoIssue #16893: For Idle doc, move index entries, copy no-subprocess section
Terry Jan Reedy [Thu, 4 Dec 2014 05:54:59 +0000 (00:54 -0500)]
Issue #16893: For Idle doc, move index entries, copy no-subprocess section
from idlelib/help.txt, add 'C' comment, and remove obsolete ^Z comment
Original patch by Zach Ware.

10 years agoFix #22987: update the compatibility matrix for a SSLv23 client.
Antoine Pitrou [Wed, 3 Dec 2014 19:03:11 +0000 (20:03 +0100)]
Fix #22987: update the compatibility matrix for a SSLv23 client.

10 years agoFix #22987: update the compatibility matrix for a SSLv23 client.
Antoine Pitrou [Wed, 3 Dec 2014 19:00:56 +0000 (20:00 +0100)]
Fix #22987: update the compatibility matrix for a SSLv23 client.

10 years agoIssue #14099: ZipFile.open() no longer reopen the underlying file. Objects
Serhiy Storchaka [Wed, 3 Dec 2014 07:14:36 +0000 (09:14 +0200)]
Issue #14099: ZipFile.open() no longer reopen the underlying file.  Objects
returned by ZipFile.open() can now operate independently of the ZipFile even
if the ZipFile was created by passing in a file-like object as the first
argument to the constructor.

10 years agoIssue #14099: ZipFile.open() no longer reopen the underlying file. Objects
Serhiy Storchaka [Wed, 3 Dec 2014 07:11:57 +0000 (09:11 +0200)]
Issue #14099: ZipFile.open() no longer reopen the underlying file.  Objects
returned by ZipFile.open() can now operate independently of the ZipFile even
if the ZipFile was created by passing in a file-like object as the first
argument to the constructor.

10 years agoIssue #17401: Output the closefd attribute as boolean.
Serhiy Storchaka [Tue, 2 Dec 2014 21:39:56 +0000 (23:39 +0200)]
Issue #17401: Output the closefd attribute as boolean.

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Tue, 2 Dec 2014 17:01:07 +0000 (18:01 +0100)]
Merge 3.4 (asyncio doc)

10 years agoCloses #22475: asyncio doc, fix Task.get_stack() doc
Victor Stinner [Tue, 2 Dec 2014 16:57:04 +0000 (17:57 +0100)]
Closes #22475: asyncio doc, fix Task.get_stack() doc

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Tue, 2 Dec 2014 16:52:57 +0000 (17:52 +0100)]
Merge 3.4 (asyncio doc)

10 years agoClose #22473: asyncio doc: rephrase Future with run_forever() example
Victor Stinner [Tue, 2 Dec 2014 16:52:45 +0000 (17:52 +0100)]
Close #22473: asyncio doc: rephrase Future with run_forever() example

10 years agoMerge 3.4.
Barry Warsaw [Tue, 2 Dec 2014 16:31:10 +0000 (11:31 -0500)]
Merge 3.4.

10 years agoFix the test to use an os.sep agnostic test. Hopefully this will fix the
Barry Warsaw [Tue, 2 Dec 2014 16:30:43 +0000 (11:30 -0500)]
Fix the test to use an os.sep agnostic test.  Hopefully this will fix the
Windows buildbots.  Found by Jeremy Kloth.

10 years agoIssue #20335: bytes constructor now raises TypeError when encoding or errors
Serhiy Storchaka [Tue, 2 Dec 2014 07:26:14 +0000 (09:26 +0200)]
Issue #20335: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument.  Based on patch by Renaud Blanch.

10 years agoIssue #20335: bytes constructor now raises TypeError when encoding or errors
Serhiy Storchaka [Tue, 2 Dec 2014 07:24:06 +0000 (09:24 +0200)]
Issue #20335: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument.  Based on patch by Renaud Blanch.

10 years agoMoved Misc/NEWS entry to right section.
Serhiy Storchaka [Tue, 2 Dec 2014 07:13:10 +0000 (09:13 +0200)]
Moved Misc/NEWS entry to right section.

10 years agoFix uninitialized variable after #22676.
Antoine Pitrou [Mon, 1 Dec 2014 23:20:03 +0000 (00:20 +0100)]
Fix uninitialized variable after #22676.

10 years agoTrunk merge.
Barry Warsaw [Mon, 1 Dec 2014 23:17:29 +0000 (18:17 -0500)]
Trunk merge.

10 years agoMerge 3.4.
Barry Warsaw [Mon, 1 Dec 2014 23:16:12 +0000 (18:16 -0500)]
Merge 3.4.

10 years agoMake this change a little more robust for up-merging.
Barry Warsaw [Mon, 1 Dec 2014 23:15:26 +0000 (18:15 -0500)]
Make this change a little more robust for up-merging.

10 years ago- Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
Barry Warsaw [Mon, 1 Dec 2014 22:52:43 +0000 (17:52 -0500)]
- Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
  asked to compile a source file containing multiple dots in the source file
  name.

10 years ago- Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
Barry Warsaw [Mon, 1 Dec 2014 22:23:55 +0000 (17:23 -0500)]
- Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
  asked to compile a source file containing multiple dots in the source file
  name.

10 years agoRemove spurious header in middle of Library section.
Terry Jan Reedy [Mon, 1 Dec 2014 22:16:43 +0000 (17:16 -0500)]
Remove spurious header in middle of Library section.
I suspect this was leftover from a merge conflict resolution.

10 years ago- Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
Barry Warsaw [Mon, 1 Dec 2014 22:10:10 +0000 (17:10 -0500)]
- Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
  asked to compile a source file containing multiple dots in the source file
  name.

10 years agoMerge with 3.4
Terry Jan Reedy [Mon, 1 Dec 2014 22:08:53 +0000 (17:08 -0500)]
Merge with 3.4

10 years agoAdd NEWS items for Idle patches and a turtledemo patch.
Terry Jan Reedy [Mon, 1 Dec 2014 21:59:09 +0000 (16:59 -0500)]
Add NEWS items for Idle patches and a turtledemo patch.

10 years agoIssue #22975: Close block at right place.
Serhiy Storchaka [Mon, 1 Dec 2014 16:56:54 +0000 (18:56 +0200)]
Issue #22975: Close block at right place.

10 years agoIssue #22975: Close block at right place.
Serhiy Storchaka [Mon, 1 Dec 2014 16:56:28 +0000 (18:56 +0200)]
Issue #22975: Close block at right place.

10 years agoRemoved duplicated words in in comments and docs.
Serhiy Storchaka [Mon, 1 Dec 2014 16:30:14 +0000 (18:30 +0200)]
Removed duplicated words in in comments and docs.

10 years agoRemoved duplicated words in in comments and docs.
Serhiy Storchaka [Mon, 1 Dec 2014 16:28:43 +0000 (18:28 +0200)]
Removed duplicated words in in comments and docs.

10 years agoIssue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Serhiy Storchaka [Mon, 1 Dec 2014 11:10:12 +0000 (13:10 +0200)]
Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Original patch by Martin Panter.

10 years agoIssue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Serhiy Storchaka [Mon, 1 Dec 2014 11:07:45 +0000 (13:07 +0200)]
Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Original patch by Martin Panter.

10 years agoFixed issue number in Misc/NEWS for issue #22407.
Serhiy Storchaka [Mon, 1 Dec 2014 10:47:16 +0000 (12:47 +0200)]
Fixed issue number in Misc/NEWS for issue #22407.

10 years agoIssue #21032: Deprecated the use of re.LOCALE flag with str patterns or
Serhiy Storchaka [Mon, 1 Dec 2014 09:50:07 +0000 (11:50 +0200)]
Issue #21032: Deprecated the use of re.LOCALE flag with str patterns or
re.ASCII. It was newer worked.

10 years agoRemoved unused function linecol() (added in issue #22578 by mistake).
Serhiy Storchaka [Mon, 1 Dec 2014 09:25:21 +0000 (11:25 +0200)]
Removed unused function linecol() (added in issue #22578 by mistake).

10 years agoIssue #22838: All test_re tests now work with unittest test discovery.
Serhiy Storchaka [Mon, 1 Dec 2014 09:08:27 +0000 (11:08 +0200)]
Issue #22838: All test_re tests now work with unittest test discovery.

10 years agoIssue #22838: All test_re tests now work with unittest test discovery.
Serhiy Storchaka [Mon, 1 Dec 2014 09:06:45 +0000 (11:06 +0200)]
Issue #22838: All test_re tests now work with unittest test discovery.

10 years agoIssue #22924: Scripts gprof2html.py and highlight.py now use html.escape()
Serhiy Storchaka [Mon, 1 Dec 2014 08:51:37 +0000 (10:51 +0200)]
Issue #22924: Scripts gprof2html.py and highlight.py now use html.escape()
instead of deperecated cgi.escape().  Original patch by Raymond Hettinger.

10 years agoIssue #22924: Scripts gprof2html.py and highlight.py now use html.escape()
Serhiy Storchaka [Mon, 1 Dec 2014 08:50:33 +0000 (10:50 +0200)]
Issue #22924: Scripts gprof2html.py and highlight.py now use html.escape()
instead of deperecated cgi.escape().  Original patch by Raymond Hettinger.

10 years agoIssue #22902: The "ip" command is now used on Linux to determine MAC address
Serhiy Storchaka [Sun, 30 Nov 2014 18:39:04 +0000 (20:39 +0200)]
Issue #22902: The "ip" command is now used on Linux to determine MAC address
in uuid.getnode().  Pach by Bruno Cauet.

10 years agomerge 3.4 (#9179)
Benjamin Peterson [Sun, 30 Nov 2014 16:51:16 +0000 (11:51 -0500)]
merge 3.4 (#9179)

10 years agobackout 9fcf4008b626 (#9179) for further consideration
Benjamin Peterson [Sun, 30 Nov 2014 16:49:00 +0000 (11:49 -0500)]
backout 9fcf4008b626 (#9179) for further consideration

10 years agomerge 3.4
Benjamin Peterson [Sun, 30 Nov 2014 04:38:23 +0000 (23:38 -0500)]
merge 3.4

10 years agocontext is keyword-only
Benjamin Peterson [Sun, 30 Nov 2014 04:38:17 +0000 (23:38 -0500)]
context is keyword-only

10 years agomerge 3.4 (#22960)
Benjamin Peterson [Sun, 30 Nov 2014 04:34:30 +0000 (23:34 -0500)]
merge 3.4 (#22960)

10 years agoadd context parameter to xmlrpclib.ServerProxy (#22960)
Benjamin Peterson [Sun, 30 Nov 2014 04:32:57 +0000 (23:32 -0500)]
add context parameter to xmlrpclib.ServerProxy (#22960)

Patch by Alex Gaynor.

10 years agoClose issue #22895: fix test failure introduced by the fix for issue #22462.
Antoine Pitrou [Sat, 29 Nov 2014 14:56:38 +0000 (15:56 +0100)]
Close issue #22895: fix test failure introduced by the fix for issue #22462.

10 years agoClose issue #22895: fix test failure introduced by the fix for issue #22462.
Antoine Pitrou [Sat, 29 Nov 2014 14:56:07 +0000 (15:56 +0100)]
Close issue #22895: fix test failure introduced by the fix for issue #22462.

10 years agoIssue #16113: Also remove test_case_sha3_224_huge
Ned Deily [Fri, 28 Nov 2014 23:22:15 +0000 (15:22 -0800)]
Issue #16113: Also remove test_case_sha3_224_huge

10 years agoIssue #16113: Also remove test_case_sha3_224_huge
Ned Deily [Fri, 28 Nov 2014 23:21:12 +0000 (15:21 -0800)]
Issue #16113: Also remove test_case_sha3_224_huge

10 years agoMinor code cleanup.
Raymond Hettinger [Fri, 28 Nov 2014 22:52:14 +0000 (14:52 -0800)]
Minor code cleanup.

10 years agoIssue #22685, asyncio: resume_reading() must also be called in test_pause_reading()
Victor Stinner [Fri, 28 Nov 2014 21:42:06 +0000 (22:42 +0100)]
Issue #22685, asyncio: resume_reading() must also be called in test_pause_reading()

10 years agoIssue #22685, asyncio: mock also resume_reading in test_pause_reading()
Victor Stinner [Fri, 28 Nov 2014 21:37:16 +0000 (22:37 +0100)]
Issue #22685, asyncio: mock also resume_reading in test_pause_reading()

10 years agoIssue #22389: Add contextlib.redirect_stderr().
Berker Peksag [Fri, 28 Nov 2014 21:28:06 +0000 (23:28 +0200)]
Issue #22389: Add contextlib.redirect_stderr().

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Fri, 28 Nov 2014 17:02:16 +0000 (18:02 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #22685: Debug test_pause_reading() on FreeBSD
Victor Stinner [Fri, 28 Nov 2014 17:02:03 +0000 (18:02 +0100)]
Issue #22685: Debug test_pause_reading() on FreeBSD

10 years ago(Merge 3.4) Closes #22348: Rephrase asyncio.StreamWriter.drain() documentation
Victor Stinner [Fri, 28 Nov 2014 16:46:05 +0000 (17:46 +0100)]
(Merge 3.4) Closes #22348: Rephrase asyncio.StreamWriter.drain() documentation
Patch written by Martin Richard.

10 years agoCloses #22348: Rephrase asyncio.StreamWriter.drain() documentation
Victor Stinner [Fri, 28 Nov 2014 16:45:41 +0000 (17:45 +0100)]
Closes #22348: Rephrase asyncio.StreamWriter.drain() documentation
Patch written by Martin Richard.

10 years ago(Merge 3.4) asyncio doc: reformat event loop policy doc
Victor Stinner [Fri, 28 Nov 2014 12:58:53 +0000 (13:58 +0100)]
(Merge 3.4) asyncio doc: reformat event loop policy doc

10 years agoasyncio doc: reformat event loop policy doc
Victor Stinner [Fri, 28 Nov 2014 12:58:28 +0000 (13:58 +0100)]
asyncio doc: reformat event loop policy doc

10 years agoIssue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The
Victor Stinner [Fri, 28 Nov 2014 12:28:25 +0000 (13:28 +0100)]
Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The
availability of the function is checked during the compilation.

Patch written by Bernard Spil.

10 years ago(Merge 3.4) asyncio doc: explain how to pass keywords to callbacks
Victor Stinner [Fri, 28 Nov 2014 12:16:03 +0000 (13:16 +0100)]
(Merge 3.4) asyncio doc: explain how to pass keywords to callbacks
(functools.partial)

10 years agoasyncio doc: explain how to pass keywords to callbacks (functools.partial)
Victor Stinner [Fri, 28 Nov 2014 12:15:41 +0000 (13:15 +0100)]
asyncio doc: explain how to pass keywords to callbacks (functools.partial)

10 years agomerge 3.4 (#16561)
Benjamin Peterson [Fri, 28 Nov 2014 02:41:36 +0000 (20:41 -0600)]
merge 3.4 (#16561)

10 years agogive a nice message when installer is launched w/o admin rights (closes #16561)
Benjamin Peterson [Fri, 28 Nov 2014 02:39:02 +0000 (20:39 -0600)]
give a nice message when installer is launched w/o admin rights (closes #16561)

10 years agoIssue #21280: Fixed a bug in shutil.make_archive() when create an archive of
Serhiy Storchaka [Thu, 27 Nov 2014 22:49:50 +0000 (00:49 +0200)]
Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of
current directory in current directory.

10 years agoIssue #21280: Fixed a bug in shutil.make_archive() when create an archive of
Serhiy Storchaka [Thu, 27 Nov 2014 22:48:46 +0000 (00:48 +0200)]
Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of
current directory in current directory.

10 years agoIssue #22314: pydoc now works when the LINES environment variable is set.
Serhiy Storchaka [Thu, 27 Nov 2014 22:11:07 +0000 (00:11 +0200)]
Issue #22314: pydoc now works when the LINES environment variable is set.

10 years agoIssue #22314: pydoc now works when the LINES environment variable is set.
Serhiy Storchaka [Thu, 27 Nov 2014 22:09:29 +0000 (00:09 +0200)]
Issue #22314: pydoc now works when the LINES environment variable is set.

10 years agoIssue #22915: SAX parser now supports files opened with file descriptor or
Serhiy Storchaka [Thu, 27 Nov 2014 20:14:30 +0000 (22:14 +0200)]
Issue #22915: SAX parser now supports files opened with file descriptor or
bytes path.

10 years agoIssue #22915: SAX parser now supports files opened with file descriptor or
Serhiy Storchaka [Thu, 27 Nov 2014 20:13:16 +0000 (22:13 +0200)]
Issue #22915: SAX parser now supports files opened with file descriptor or
bytes path.

10 years agoIssue #21514: The documentation of the json module now refers to new JSON RFC
Serhiy Storchaka [Thu, 27 Nov 2014 17:45:31 +0000 (19:45 +0200)]
Issue #21514: The documentation of the json module now refers to new JSON RFC
7159 instead of obsoleted RFC 4627.

10 years agoIssue #21514: The documentation of the json module now refers to new JSON RFC
Serhiy Storchaka [Thu, 27 Nov 2014 17:41:47 +0000 (19:41 +0200)]
Issue #21514: The documentation of the json module now refers to new JSON RFC
7159 instead of obsoleted RFC 4627.

10 years agoIssue #22609: Revert changes in UserDict. They conflicted with existing tests.
Serhiy Storchaka [Thu, 27 Nov 2014 15:46:15 +0000 (17:46 +0200)]
Issue #22609: Revert changes in UserDict. They conflicted with existing tests.

10 years agoIssue #22609: Revert changes in UserDict. They conflicted with existing tests.
Serhiy Storchaka [Thu, 27 Nov 2014 15:45:44 +0000 (17:45 +0200)]
Issue #22609: Revert changes in UserDict. They conflicted with existing tests.

10 years agoIssue #22609: Constructors and update methods of mapping classes in the
Serhiy Storchaka [Thu, 27 Nov 2014 14:35:26 +0000 (16:35 +0200)]
Issue #22609: Constructors and update methods of mapping classes in the
collections module now accept the self keyword argument.

10 years agoIssue #22609: Constructors and update methods of mapping classes in the
Serhiy Storchaka [Thu, 27 Nov 2014 14:25:51 +0000 (16:25 +0200)]
Issue #22609: Constructors and update methods of mapping classes in the
collections module now accept the self keyword argument.

10 years agoMerge with 3.4
Zachary Ware [Thu, 27 Nov 2014 05:56:10 +0000 (23:56 -0600)]
Merge with 3.4

10 years agopydoc: Add a note about setting PAGER to affect console output pagination.
Zachary Ware [Thu, 27 Nov 2014 05:44:25 +0000 (23:44 -0600)]
pydoc: Add a note about setting PAGER to affect console output pagination.

Suggested by James Lowden on docs@.

10 years agoIssue22780: reword NotImplemented docs to emphasise should
Ethan Furman [Thu, 27 Nov 2014 05:17:53 +0000 (21:17 -0800)]
Issue22780: reword NotImplemented docs to emphasise should

10 years ago(3.4) Issue22780: reword NotImplemented docs to emphasise should
Ethan Furman [Thu, 27 Nov 2014 05:15:35 +0000 (21:15 -0800)]
(3.4) Issue22780: reword NotImplemented docs to emphasise should

10 years agomerge 3.4 (#22954)
Benjamin Peterson [Thu, 27 Nov 2014 05:03:34 +0000 (23:03 -0600)]
merge 3.4 (#22954)

10 years agoremove tautological condition (closes #22954)
Benjamin Peterson [Thu, 27 Nov 2014 05:03:11 +0000 (23:03 -0600)]
remove tautological condition (closes #22954)

10 years agoMerge with 3.4
Zachary Ware [Thu, 27 Nov 2014 04:58:25 +0000 (22:58 -0600)]
Merge with 3.4

10 years agopydoc: Remove mention of '-g' command line option, document its removal.
Zachary Ware [Thu, 27 Nov 2014 04:57:35 +0000 (22:57 -0600)]
pydoc: Remove mention of '-g' command line option, document its removal.

10 years agoIssue 22940: fixes to editline support
Ned Deily [Wed, 26 Nov 2014 21:02:33 +0000 (13:02 -0800)]
Issue 22940: fixes to editline support

10 years agocorrect assertion
Benjamin Peterson [Wed, 26 Nov 2014 20:39:54 +0000 (14:39 -0600)]
correct assertion

10 years agomerge 3.4
Benjamin Peterson [Wed, 26 Nov 2014 20:36:08 +0000 (14:36 -0600)]
merge 3.4

10 years agouse skipUnless
Benjamin Peterson [Wed, 26 Nov 2014 20:35:56 +0000 (14:35 -0600)]
use skipUnless

10 years agoonly support append_history if readline has it
Benjamin Peterson [Wed, 26 Nov 2014 20:35:12 +0000 (14:35 -0600)]
only support append_history if readline has it

10 years agofix variable name
Benjamin Peterson [Wed, 26 Nov 2014 20:20:51 +0000 (14:20 -0600)]
fix variable name

10 years agoadd readline.append_history_file (closes #22940)
Benjamin Peterson [Wed, 26 Nov 2014 19:58:16 +0000 (13:58 -0600)]
add readline.append_history_file (closes #22940)

patch by "bru"

10 years agoIssue #19676: Fixed integer overflow issue in "namereplace" error handler.
Serhiy Storchaka [Wed, 26 Nov 2014 10:11:40 +0000 (12:11 +0200)]
Issue #19676: Fixed integer overflow issue in "namereplace" error handler.

10 years agomerge 3.4
Benjamin Peterson [Wed, 26 Nov 2014 00:05:40 +0000 (18:05 -0600)]
merge 3.4

10 years agohandle errors without a reason attribute
Benjamin Peterson [Tue, 25 Nov 2014 21:43:58 +0000 (15:43 -0600)]
handle errors without a reason attribute

10 years agodon't fail tests when www.python.org can't be validated by the system
Benjamin Peterson [Tue, 25 Nov 2014 21:16:55 +0000 (15:16 -0600)]
don't fail tests when www.python.org can't be validated by the system

10 years agoIssue #19676: Tweak documentation a bit.
Berker Peksag [Tue, 25 Nov 2014 16:59:20 +0000 (18:59 +0200)]
Issue #19676: Tweak documentation a bit.

* Updated version info to 3.5
* Fixed a markup error
* Added a versionadded directive to namereplace_errors documentation

10 years ago(Merge 3.4) Closes #22685, asyncio: Set the transport of stdout and stderr
Victor Stinner [Tue, 25 Nov 2014 16:21:43 +0000 (17:21 +0100)]
(Merge 3.4) Closes #22685, asyncio: Set the transport of stdout and stderr
StreamReader objects in the SubprocessStreamProtocol. It allows to pause the
transport to not buffer too much stdout or stderr data.