]> granicus.if.org Git - python/log
python
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.

10 years agoCloses #22685, asyncio: Set the transport of stdout and stderr StreamReader
Victor Stinner [Tue, 25 Nov 2014 16:20:33 +0000 (17:20 +0100)]
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.

10 years agoIssue #19676: Added the "namereplace" error handler.
Serhiy Storchaka [Tue, 25 Nov 2014 11:57:17 +0000 (13:57 +0200)]
Issue #19676: Added the "namereplace" error handler.

10 years agoIssue #20351: Add examples for csv.DictReader and csv.DictWriter.
Berker Peksag [Mon, 24 Nov 2014 21:47:06 +0000 (23:47 +0200)]
Issue #20351: Add examples for csv.DictReader and csv.DictWriter.

Patch by Charles-Axel Dein.

10 years agoIssue #20351: Add examples for csv.DictReader and csv.DictWriter.
Berker Peksag [Mon, 24 Nov 2014 21:46:30 +0000 (23:46 +0200)]
Issue #20351: Add examples for csv.DictReader and csv.DictWriter.

Patch by Charles-Axel Dein.

10 years agoIssue #22934: Update the comment to mention Programs/_freeze_importlib.c.
Berker Peksag [Mon, 24 Nov 2014 21:26:08 +0000 (23:26 +0200)]
Issue #22934: Update the comment to mention Programs/_freeze_importlib.c.

10 years agoupdate versionchanged
Benjamin Peterson [Mon, 24 Nov 2014 02:38:37 +0000 (20:38 -0600)]
update versionchanged

10 years agomerge 3.4 (#22788)
Benjamin Peterson [Mon, 24 Nov 2014 02:38:13 +0000 (20:38 -0600)]
merge 3.4 (#22788)

10 years agoadd context parameter to HTTPHandler (closes #22788)
Benjamin Peterson [Mon, 24 Nov 2014 02:36:44 +0000 (20:36 -0600)]
add context parameter to HTTPHandler (closes #22788)

10 years agomerge 3.4
Benjamin Peterson [Mon, 24 Nov 2014 02:17:06 +0000 (20:17 -0600)]
merge 3.4

10 years agoadd NEWS note for #22921
Benjamin Peterson [Mon, 24 Nov 2014 02:15:31 +0000 (20:15 -0600)]
add NEWS note for #22921

10 years agomerge 3.4 (null)
Benjamin Peterson [Mon, 24 Nov 2014 02:10:25 +0000 (20:10 -0600)]
merge 3.4 (null)

10 years agocorrect versionchanged version
Benjamin Peterson [Mon, 24 Nov 2014 02:09:31 +0000 (20:09 -0600)]
correct versionchanged version

10 years agomerge 3.4 (#22921)
Benjamin Peterson [Sun, 23 Nov 2014 23:06:39 +0000 (17:06 -0600)]
merge 3.4 (#22921)

10 years agodon't require OpenSSL SNI to pass hostname to ssl functions (#22921)
Benjamin Peterson [Sun, 23 Nov 2014 23:04:34 +0000 (17:04 -0600)]
don't require OpenSSL SNI to pass hostname to ssl functions (#22921)

Patch by Donald Stufft.

10 years agomerge 3.4
Benjamin Peterson [Sun, 23 Nov 2014 17:43:43 +0000 (11:43 -0600)]
merge 3.4