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

10 years agoIssue #22824: Simplify reprlib output format for empty arrays
Raymond Hettinger [Sat, 15 Nov 2014 18:58:58 +0000 (10:58 -0800)]
Issue #22824:  Simplify reprlib output format for empty arrays

10 years agoIssue #22823: Use set literals instead of creating a set from a tuple.
Serhiy Storchaka [Sat, 15 Nov 2014 11:30:42 +0000 (13:30 +0200)]
Issue #22823: Use set literals instead of creating a set from a tuple.

10 years agoIssue #22193: Fixed integer overflow error in sys.getsizeof().
Serhiy Storchaka [Sat, 15 Nov 2014 11:22:27 +0000 (13:22 +0200)]
Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.

10 years agoIssue #22193: Fixed integer overflow error in sys.getsizeof().
Serhiy Storchaka [Sat, 15 Nov 2014 11:21:37 +0000 (13:21 +0200)]
Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.

10 years agoIssue #22877: PEP 477 - keep 2.7 and 3.x installers in sync.
Ned Deily [Sat, 15 Nov 2014 02:55:05 +0000 (18:55 -0800)]
Issue #22877: PEP 477 - keep 2.7 and 3.x installers in sync.

10 years agoUpdate OS X installer documentation files for 3.5.0
Ned Deily [Sat, 15 Nov 2014 02:41:56 +0000 (18:41 -0800)]
Update OS X installer documentation files for 3.5.0

10 years agoIssue #22877: PEP 477 - keep 2.7 and 3.x installers in sync.
Ned Deily [Sat, 15 Nov 2014 02:56:28 +0000 (18:56 -0800)]
Issue #22877: PEP 477 - keep 2.7 and 3.x installers in sync.

10 years agoIssue #22847: Improve method cache efficiency.
Antoine Pitrou [Fri, 14 Nov 2014 23:56:27 +0000 (00:56 +0100)]
Issue #22847: Improve method cache efficiency.

10 years ago- Issue #22841: Reject coroutines in asyncio add_signal_handler().
Guido van Rossum [Fri, 14 Nov 2014 19:48:37 +0000 (11:48 -0800)]
- Issue #22841: Reject coroutines in asyncio add_signal_handler().
  Patch by Ludovic.Gasc.

10 years ago- Issue #22841: Reject coroutines in asyncio add_signal_handler().
Guido van Rossum [Fri, 14 Nov 2014 19:45:47 +0000 (11:45 -0800)]
- Issue #22841: Reject coroutines in asyncio add_signal_handler().
  Patch by Ludovic.Gasc.

10 years agoadd space
Benjamin Peterson [Wed, 12 Nov 2014 15:23:44 +0000 (10:23 -0500)]
add space

10 years agomerge 3.4 (#22849)
Benjamin Peterson [Wed, 12 Nov 2014 15:23:35 +0000 (10:23 -0500)]
merge 3.4 (#22849)

10 years agofix possible double free in TextIOWrapper.__init__ (closes #22849)
Benjamin Peterson [Wed, 12 Nov 2014 15:19:46 +0000 (10:19 -0500)]
fix possible double free in TextIOWrapper.__init__ (closes #22849)

10 years agoClose #19494: add urrlib.request.HTTPBasicPriorAuthHandler
Nick Coghlan [Wed, 12 Nov 2014 13:33:50 +0000 (23:33 +1000)]
Close #19494: add urrlib.request.HTTPBasicPriorAuthHandler

This auth handler adds the Authorization header to the first
HTTP request rather than waiting for a HTTP 401 Unauthorized
response from the server as the default HTTPBasicAuthHandler
does.

This allows working with websites like https://api.github.com which do
not follow the strict interpretation of RFC, but more the dicta in the
end of section 2 of RFC 2617:

    > A client MAY preemptively send the corresponding Authorization
    > header with requests for resources in that space without receipt
    > of another challenge from the server.  Similarly, when a client
    > sends a request to a proxy, it may reuse a userid and password in
    > the Proxy-Authorization header field without receiving another
    > challenge from the proxy server. See section 4 for security
    > considerations associated with Basic authentication.

Patch by Matej Cepl.

10 years agoMinor code clean up and improvements in the re module.
Serhiy Storchaka [Tue, 11 Nov 2014 19:13:28 +0000 (21:13 +0200)]
Minor code clean up and improvements in the re module.

10 years agoMerge - Upgrade setuptools to 7.0
Donald Stufft [Tue, 11 Nov 2014 16:06:49 +0000 (11:06 -0500)]
Merge - Upgrade setuptools to 7.0

10 years agoUpgrade setuptools to 7.0
Donald Stufft [Tue, 11 Nov 2014 16:01:09 +0000 (11:01 -0500)]
Upgrade setuptools to 7.0

10 years agoIssue #22845: Improved formatting of dis documentation.
Serhiy Storchaka [Tue, 11 Nov 2014 08:02:46 +0000 (10:02 +0200)]
Issue #22845: Improved formatting of dis documentation.

10 years agoIssue #22845: Improved formatting of dis documentation.
Serhiy Storchaka [Tue, 11 Nov 2014 08:02:11 +0000 (10:02 +0200)]
Issue #22845: Improved formatting of dis documentation.

10 years agoMerge heads
Serhiy Storchaka [Tue, 11 Nov 2014 07:45:55 +0000 (09:45 +0200)]
Merge heads

10 years agoIssue #22839: Fix Snapshot.statistics() link.
Berker Peksag [Mon, 10 Nov 2014 21:15:56 +0000 (23:15 +0200)]
Issue #22839: Fix Snapshot.statistics() link.

10 years agoIssue #22839: Fix Snapshot.statistics() link.
Berker Peksag [Mon, 10 Nov 2014 21:15:32 +0000 (23:15 +0200)]
Issue #22839: Fix Snapshot.statistics() link.

10 years agoFixed error position for the backslash at the end of regex pattern.
Serhiy Storchaka [Mon, 10 Nov 2014 16:28:53 +0000 (18:28 +0200)]
Fixed error position for the backslash at the end of regex pattern.

10 years agoFixed AttributeError when the regular expression starts from illegal escape.
Serhiy Storchaka [Mon, 10 Nov 2014 12:38:16 +0000 (14:38 +0200)]
Fixed AttributeError when the regular expression starts from illegal escape.

10 years agoFixed IDLE tests after changing re error messages (issue #22578).
Serhiy Storchaka [Mon, 10 Nov 2014 12:18:03 +0000 (14:18 +0200)]
Fixed IDLE tests after changing re error messages (issue #22578).

10 years agoIssue #22578: Added attributes to the re.error class.
Serhiy Storchaka [Mon, 10 Nov 2014 11:49:00 +0000 (13:49 +0200)]
Issue #22578: Added attributes to the re.error class.

10 years agoGot rid of the array module dependency in the re module.
Serhiy Storchaka [Mon, 10 Nov 2014 11:25:14 +0000 (13:25 +0200)]
Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.