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

10 years agodocument that cadefault does nothing now
Benjamin Peterson [Sun, 23 Nov 2014 17:43:33 +0000 (11:43 -0600)]
document that cadefault does nothing now

10 years agoUpdate importlib.h
Antoine Pitrou [Sun, 23 Nov 2014 15:01:20 +0000 (16:01 +0100)]
Update importlib.h

10 years agoIssue #22894: TestCase.subTest() would cause the test suite to be stopped when in...
Antoine Pitrou [Sun, 23 Nov 2014 14:56:41 +0000 (15:56 +0100)]
Issue #22894: TestCase.subTest() would cause the test suite to be stopped when in failfast mode, even in the absence of failures.

10 years agoIssue #22894: TestCase.subTest() would cause the test suite to be stopped when in...
Antoine Pitrou [Sun, 23 Nov 2014 14:55:11 +0000 (15:55 +0100)]
Issue #22894: TestCase.subTest() would cause the test suite to be stopped when in failfast mode, even in the absence of failures.

10 years agoNull merge
Antoine Pitrou [Sun, 23 Nov 2014 14:50:21 +0000 (15:50 +0100)]
Null merge

10 years agoPEP 479: Use the return-keyword instead of raising StopIteration inside a generators.
Raymond Hettinger [Sun, 23 Nov 2014 06:14:41 +0000 (22:14 -0800)]
PEP 479:  Use the return-keyword instead of raising StopIteration inside a generators.

10 years agoPEP 479: Don't let StopIteration bubble out of calls to next() inside a generator.
Raymond Hettinger [Sun, 23 Nov 2014 05:56:23 +0000 (21:56 -0800)]
PEP 479:  Don't let StopIteration bubble out of calls to next() inside a generator.

10 years agoReally add downloads page link to OS X installer README screens.
Ned Deily [Sat, 22 Nov 2014 22:41:21 +0000 (14:41 -0800)]
Really add downloads page link to OS X installer README screens.

10 years agoAdd downloads page link to OS X installer README screens.
Ned Deily [Sat, 22 Nov 2014 22:26:33 +0000 (14:26 -0800)]
Add downloads page link to OS X installer README screens.

10 years agoIssue #22834: cwd can't not exist on Windows, skip the test
Zachary Ware [Sat, 22 Nov 2014 23:03:46 +0000 (17:03 -0600)]
Issue #22834: cwd can't not exist on Windows, skip the test

10 years agoAdd downloads page link to OS X installer README screens.
Ned Deily [Sat, 22 Nov 2014 22:20:30 +0000 (14:20 -0800)]
Add downloads page link to OS X installer README screens.

10 years agoCloses #22869: Move PyOS_CheckStack back to pythonrun.c
Zachary Ware [Sat, 22 Nov 2014 05:35:12 +0000 (23:35 -0600)]
Closes #22869: Move PyOS_CheckStack back to pythonrun.c

10 years agoIssue #22869: Remove duplicate stack check from pythonrun.c
Steve Dower [Sat, 22 Nov 2014 04:33:12 +0000 (20:33 -0800)]
Issue #22869: Remove duplicate stack check from pythonrun.c

10 years agoIssue #19720: Suppressed context for some exceptions in importlib.
Serhiy Storchaka [Fri, 21 Nov 2014 19:56:57 +0000 (21:56 +0200)]
Issue #19720: Suppressed context for some exceptions in importlib.

10 years agoIssue #17293: socket.gethostbyname() can raise an exception of FreeBSD.
Serhiy Storchaka [Fri, 21 Nov 2014 19:55:39 +0000 (21:55 +0200)]
Issue #17293: socket.gethostbyname() can raise an exception of FreeBSD.

10 years agoIssue #19720: Suppressed context for some exceptions in importlib.
Serhiy Storchaka [Fri, 21 Nov 2014 18:33:57 +0000 (20:33 +0200)]
Issue #19720: Suppressed context for some exceptions in importlib.

10 years agoIssue #22834: Have import suppress FileNotFoundError when the current
Brett Cannon [Fri, 21 Nov 2014 17:19:28 +0000 (12:19 -0500)]
Issue #22834: Have import suppress FileNotFoundError when the current
working directory no longer exists.

Thanks to Martin Panter for the bug report.

10 years agoIssue #22869: Add pylifecycle.c/.h files to pythoncore project.
Steve Dower [Fri, 21 Nov 2014 00:45:36 +0000 (16:45 -0800)]
Issue #22869: Add pylifecycle.c/.h files to pythoncore project.

10 years agoIssue #22796: HTTP cookie parsing is now stricter, in order to protect against potent...
Antoine Pitrou [Fri, 21 Nov 2014 00:20:57 +0000 (01:20 +0100)]
Issue #22796: HTTP cookie parsing is now stricter, in order to protect against potential injection attacks.

10 years ago(Merge 3.4) asyncio: BaseSelectorEventLoop.close() now closes the self-pipe
Victor Stinner [Thu, 20 Nov 2014 23:23:59 +0000 (00:23 +0100)]
(Merge 3.4) asyncio: BaseSelectorEventLoop.close() now closes the self-pipe
before calling the parent close() method. If the event loop is already closed,
the self-pipe is not unregistered from the selector.

10 years agoasyncio: BaseSelectorEventLoop.close() now closes the self-pipe before calling
Victor Stinner [Thu, 20 Nov 2014 23:23:27 +0000 (00:23 +0100)]
asyncio: BaseSelectorEventLoop.close() now closes the self-pipe before calling
the parent close() method. If the event loop is already closed, the self-pipe
is not unregistered from the selector.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 20 Nov 2014 14:04:31 +0000 (15:04 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: Coroutine objects are now rejected with a TypeError by the following
Victor Stinner [Thu, 20 Nov 2014 14:03:52 +0000 (15:03 +0100)]
asyncio: Coroutine objects are now rejected with a TypeError by the following
functions:

* add_signal_handler()
* call_at()
* call_later()
* call_soon()
* call_soon_threadsafe()
* run_in_executor()

Fix also the error message of add_signal_handler() (fix the name of the
function).

10 years agoMerge with 3.4 (asyncio)
Victor Stinner [Thu, 20 Nov 2014 13:19:49 +0000 (14:19 +0100)]
Merge with 3.4 (asyncio)

10 years agoasyncio, test_events: Ignore the "SSL handshake failed" log in debug mode
Victor Stinner [Thu, 20 Nov 2014 13:19:23 +0000 (14:19 +0100)]
asyncio, test_events: Ignore the "SSL handshake failed" log in debug mode

10 years agoasyncio: Fix formatting of the "Future exception was never retrieved" in
Victor Stinner [Thu, 20 Nov 2014 13:16:31 +0000 (14:16 +0100)]
asyncio: Fix formatting of the "Future exception was never retrieved" in
release mode

10 years agoIssue #22869: Split pythonrun into two modules
Nick Coghlan [Thu, 20 Nov 2014 11:39:37 +0000 (21:39 +1000)]
Issue #22869: Split pythonrun into two modules

- interpreter startup and shutdown code moved to a new
  pylifecycle.c module
- Py_OptimizeFlag moved into the new module with the other
  global flags

10 years agoIssue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.
Serhiy Storchaka [Wed, 19 Nov 2014 11:21:40 +0000 (13:21 +0200)]
Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.
Patch by David Watson.

10 years agoIssue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.
Serhiy Storchaka [Wed, 19 Nov 2014 11:21:13 +0000 (13:21 +0200)]
Issue #20736: testSendmsgDontWait in test_socket no longer skipped on Linux.
Patch by David Watson.

10 years agoIssue #20604: Added missed invalid mode in error message of socket.makefile().
Serhiy Storchaka [Wed, 19 Nov 2014 10:34:07 +0000 (12:34 +0200)]
Issue #20604: Added missed invalid mode in error message of socket.makefile().
Based on patch by Franck Michea.

10 years agoIssue #20604: Added missed invalid mode in error message of socket.makefile().
Serhiy Storchaka [Wed, 19 Nov 2014 10:33:40 +0000 (12:33 +0200)]
Issue #20604: Added missed invalid mode in error message of socket.makefile().
Based on patch by Franck Michea.

10 years agoClose #22370: Windows detection in pathlib is now more robust.
Antoine Pitrou [Tue, 18 Nov 2014 23:33:08 +0000 (00:33 +0100)]
Close #22370: Windows detection in pathlib is now more robust.

10 years agoClose #22370: Windows detection in pathlib is now more robust.
Antoine Pitrou [Tue, 18 Nov 2014 23:32:08 +0000 (00:32 +0100)]
Close #22370: Windows detection in pathlib is now more robust.

10 years agoNull merge
Serhiy Storchaka [Tue, 18 Nov 2014 22:13:24 +0000 (00:13 +0200)]
Null merge

10 years agoIssue #22453: Warn against the use of leaking macro PyObject_REPR().
Serhiy Storchaka [Tue, 18 Nov 2014 22:08:38 +0000 (00:08 +0200)]
Issue #22453: Warn against the use of leaking macro PyObject_REPR().

10 years agoIssue #22453: Removed non-documented macro PyObject_REPR().
Serhiy Storchaka [Tue, 18 Nov 2014 21:34:33 +0000 (23:34 +0200)]
Issue #22453: Removed non-documented macro PyObject_REPR().

10 years agoIssue #20948: Inline makefmt() in unicode_fromformat_arg()
Victor Stinner [Tue, 18 Nov 2014 20:40:51 +0000 (21:40 +0100)]
Issue #20948: Inline makefmt() in unicode_fromformat_arg()

10 years agoIssue #18637: Fixed an error in _PyNode_SizeOf declaration.
Serhiy Storchaka [Tue, 18 Nov 2014 15:30:50 +0000 (17:30 +0200)]
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.

10 years agoIssue #18637: Fixed an error in _PyNode_SizeOf declaration.
Serhiy Storchaka [Tue, 18 Nov 2014 15:30:15 +0000 (17:30 +0200)]
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.

10 years agoIssue #20662: Argspec now is escaped in html output of pydoc.
Serhiy Storchaka [Mon, 17 Nov 2014 21:48:35 +0000 (23:48 +0200)]
Issue #20662: Argspec now is escaped in html output of pydoc.

10 years agoIssue #20662: Argspec now is escaped in html output of pydoc.
Serhiy Storchaka [Mon, 17 Nov 2014 21:48:02 +0000 (23:48 +0200)]
Issue #20662: Argspec now is escaped in html output of pydoc.