]> granicus.if.org Git - python/log
python
8 years agoc_encoding can never be NULL, which allows some code simplification
Benjamin Peterson [Fri, 26 Feb 2016 06:34:45 +0000 (22:34 -0800)]
c_encoding can never be NULL, which allows some code simplification

8 years agoDummy merge with 3.5
Martin Panter [Fri, 26 Feb 2016 00:42:33 +0000 (00:42 +0000)]
Dummy merge with 3.5

8 years agoIssue #26390: Merge pbkdf2_hmac() doc from 3.5
Martin Panter [Fri, 26 Feb 2016 00:41:38 +0000 (00:41 +0000)]
Issue #26390: Merge pbkdf2_hmac() doc from 3.5

8 years agomerge with 3.5
Georg Brandl [Thu, 25 Feb 2016 19:18:00 +0000 (20:18 +0100)]
merge with 3.5

8 years agoCloses #26435: fix syntax in directives. Thanks to Jakub Stasiak.
Georg Brandl [Thu, 25 Feb 2016 19:17:45 +0000 (20:17 +0100)]
Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.

8 years agomerge with 3.5
Georg Brandl [Thu, 25 Feb 2016 19:14:21 +0000 (20:14 +0100)]
merge with 3.5

8 years agoFix rstlint to also look for indented comments that should be directives.
Georg Brandl [Thu, 25 Feb 2016 19:14:10 +0000 (20:14 +0100)]
Fix rstlint to also look for indented comments that should be directives.

8 years agoIssue #26402: Merge XML-RPC client fix from 3.5
Martin Panter [Thu, 25 Feb 2016 12:13:50 +0000 (12:13 +0000)]
Issue #26402: Merge XML-RPC client fix from 3.5

8 years agoIssue #26402: Fix XML-RPC client retrying after server disconnection
Martin Panter [Thu, 25 Feb 2016 11:53:40 +0000 (11:53 +0000)]
Issue #26402: Fix XML-RPC client retrying after server disconnection

This is a regression introduced in 3.5 by revision eba80326ba53. Fix by Jelte
Fennema, test case by me.

8 years agoIssue #25801: Fixed resource warnings in test_zipfile64.
Serhiy Storchaka [Thu, 25 Feb 2016 11:16:02 +0000 (13:16 +0200)]
Issue #25801: Fixed resource warnings in test_zipfile64.
Patch by SilentGhost.

8 years agoIssue #25801: Fixed resource warnings in test_zipfile64.
Serhiy Storchaka [Thu, 25 Feb 2016 10:55:19 +0000 (12:55 +0200)]
Issue #25801: Fixed resource warnings in test_zipfile64.
Patch by SilentGhost.

8 years agoFix out-of-date comment
Raymond Hettinger [Thu, 25 Feb 2016 08:25:45 +0000 (00:25 -0800)]
Fix out-of-date comment

8 years agoIssue #25136: merge from 3.5
Ned Deily [Wed, 24 Feb 2016 14:35:21 +0000 (01:35 +1100)]
Issue #25136: merge from 3.5

8 years agoIssue #25136: Add reference to 'xcode-select --install' to Mac README.
Ned Deily [Wed, 24 Feb 2016 14:34:34 +0000 (01:34 +1100)]
Issue #25136: Add reference to 'xcode-select --install' to Mac README.

8 years agoChange OS X installer builds targeted for 10.10 and above to build
Ned Deily [Wed, 24 Feb 2016 14:03:06 +0000 (01:03 +1100)]
Change OS X installer builds targeted for 10.10 and above to build
and link with a private copy of OpenSSL, like installers targeted
for 10.5 already do, since Apple has deprecated use of the system
OpenSSL and removed its header files from the Xcode 7 SDK.  Note
that this configuration is not currently used to build any
python.org-supplied installers and that the private copy of
OpenSSL requires its own root certificates.

8 years agoChange OS X installer builds targeted for 10.10 and above to build
Ned Deily [Wed, 24 Feb 2016 14:01:48 +0000 (01:01 +1100)]
Change OS X installer builds targeted for 10.10 and above to build
and link with a private copy of OpenSSL, like installers targeted
for 10.5 already do, since Apple has deprecated use of the system
OpenSSL and removed its header files from the Xcode 7 SDK.  Note
that this configuration is not currently used to build any
python.org-supplied installers and that the private copy of
OpenSSL requires its own root certificates.

8 years agoIssue #25136: merge from 3.5
Ned Deily [Wed, 24 Feb 2016 13:59:16 +0000 (00:59 +1100)]
Issue #25136: merge from 3.5

8 years agoIssue #25136: Support Apple Xcode 7's new textual SDK stub libraries.
Ned Deily [Wed, 24 Feb 2016 13:56:38 +0000 (00:56 +1100)]
Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.

As of Xcode 7, SDKs for Apple platforms now include textual-format stub
libraries whose file names have a .tbd extension rather than the
standard OS X .dylib extension.  The Apple compiler tool chain handles
these stub libraries transparently and the installed system shared libraries
are still .dylibs.  However, the new stub libraries cause problems for
third-party programs that support building with Apple SDKs and make
build-time decisions based on the presence or paths of system-supplied
shared libraries in the SDK.  In particular, building Python itself with
an SDK fails to find system-supplied libraries during setup.py's build of
standard library extension modules.  The solution is to have
find_library_file() in Distutils search for .tbd files, along with
the existing types (.a, .so, and .dylib).  Patch by Tim Smith.

8 years agoIssue #26302: merge from 3.5
Jason R. Coombs [Wed, 24 Feb 2016 13:50:59 +0000 (08:50 -0500)]
Issue #26302: merge from 3.5

8 years agoNull merge
Serhiy Storchaka [Wed, 24 Feb 2016 11:04:33 +0000 (13:04 +0200)]
Null merge

8 years agoFixed a bug in os.walk() with bytes path on Windows caused by merging fixes
Serhiy Storchaka [Wed, 24 Feb 2016 11:03:54 +0000 (13:03 +0200)]
Fixed a bug in os.walk() with bytes path on Windows caused by merging fixes
for issues #25995 and #25911.

8 years agoIssue #25913: Leading <~ is optional now in base64.a85decode() with adobe=True.
Serhiy Storchaka [Wed, 24 Feb 2016 10:08:11 +0000 (12:08 +0200)]
Issue #25913: Leading <~ is optional now in base64.a85decode() with adobe=True.
Patch by Swati Jaiswal.

8 years agoIssue #25913: Leading <~ is optional now in base64.a85decode() with adobe=True.
Serhiy Storchaka [Wed, 24 Feb 2016 10:05:50 +0000 (12:05 +0200)]
Issue #25913: Leading <~ is optional now in base64.a85decode() with adobe=True.
Patch by Swati Jaiswal.

8 years agoIssue #5824: Merge socketserver tests from 3.5
Martin Panter [Wed, 24 Feb 2016 06:14:15 +0000 (06:14 +0000)]
Issue #5824: Merge socketserver tests from 3.5

8 years agoIssue #5824: Fix DatagramRequestHandler tests by binding the client socket
Martin Panter [Wed, 24 Feb 2016 05:12:59 +0000 (05:12 +0000)]
Issue #5824: Fix DatagramRequestHandler tests by binding the client socket

8 years agoIssue #22088: Merge base64 docs from 3.5
Martin Panter [Wed, 24 Feb 2016 01:08:43 +0000 (01:08 +0000)]
Issue #22088: Merge base64 docs from 3.5

8 years agoIssue #22088: Clarify base-64 alphabets and which characters are discarded
Martin Panter [Tue, 23 Feb 2016 22:30:50 +0000 (22:30 +0000)]
Issue #22088: Clarify base-64 alphabets and which characters are discarded

* There are only two base-64 alphabets defined by the RFCs, not three
* Due to the internal translation, plus (+) and slash (/) are never discarded
* standard_ and urlsafe_b64decode() discard characters as well

Also update the doc strings to clarify data types, based on revision
92760d2edc9e, correct the exception raised by b16decode(), and correct the
parameter name for the base-85 functions.

8 years agoIssue #26406: merge from 3.5
Ned Deily [Tue, 23 Feb 2016 11:10:06 +0000 (22:10 +1100)]
Issue #26406: merge from 3.5

8 years agoIssue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls on
Ned Deily [Tue, 23 Feb 2016 11:05:29 +0000 (22:05 +1100)]
Issue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls on
current versions of OpenBSD and NetBSD.  Patch by A. Jesse Jiryu Davis.

8 years agomerge with 3.5
Georg Brandl [Mon, 22 Feb 2016 13:53:03 +0000 (14:53 +0100)]
merge with 3.5

8 years agoUpdate example; str(float) changed so there is difference now.
Georg Brandl [Mon, 22 Feb 2016 13:52:55 +0000 (14:52 +0100)]
Update example; str(float) changed so there is difference now.

8 years agoIssue #26268: Merge with 3.5
Zachary Ware [Mon, 22 Feb 2016 10:16:33 +0000 (04:16 -0600)]
Issue #26268: Merge with 3.5

8 years agoIssue #26261: Merge NamedTemporaryFile docs from 3.5
Martin Panter [Mon, 22 Feb 2016 10:10:55 +0000 (10:10 +0000)]
Issue #26261: Merge NamedTemporaryFile docs from 3.5

8 years agoIssue #26261: Clarify NamedTemporaryFile name attribute vs file.name
Martin Panter [Mon, 22 Feb 2016 10:10:00 +0000 (10:10 +0000)]
Issue #26261: Clarify NamedTemporaryFile name attribute vs file.name

8 years agoIssue #26268: Update Windows builds to use OpenSSL 1.0.2f
Zachary Ware [Mon, 22 Feb 2016 10:08:51 +0000 (04:08 -0600)]
Issue #26268: Update Windows builds to use OpenSSL 1.0.2f

8 years agoIssue #26268: Update the prepare_ssl.py script
Zachary Ware [Mon, 22 Feb 2016 10:02:30 +0000 (04:02 -0600)]
Issue #26268: Update the prepare_ssl.py script

It can now handle OpenSSL versions 1.0.2e and greater, which don't
include include files in include/.

Note that sources prepared by this script no longer support the old
project files for 2.7; you now have to have Perl available to use
the old build_ssl.py script with sources from svn.python.org.

8 years agoIssue #26390: Fix and test pbkdf2_hmac() parameter names
Martin Panter [Mon, 22 Feb 2016 09:21:49 +0000 (09:21 +0000)]
Issue #26390: Fix and test pbkdf2_hmac() parameter names

Based on patch by Daan Bakker.

8 years agoMerge XML-RPC client documentation from 3.5
Martin Panter [Mon, 22 Feb 2016 09:05:19 +0000 (09:05 +0000)]
Merge XML-RPC client documentation from 3.5

8 years agoFix errors in XML-RPC client example code
Martin Panter [Mon, 22 Feb 2016 09:04:22 +0000 (09:04 +0000)]
Fix errors in XML-RPC client example code

* http.client.HTTP (does not exist in Python 3) → HTTPConnection
* Server (deprecated) → ServerProxy
* Transport.send_request() grew a new “debug” parameter in Python 3 (revision
  a528f7f8f97a)

8 years agoIssue #26401: Fix compile() documentation
Berker Peksag [Sun, 21 Feb 2016 20:00:29 +0000 (22:00 +0200)]
Issue #26401: Fix compile() documentation

After 25032ec29315, compile() will raise a ValueError
if source contains null bytes.

Patch by SilentGhost.

8 years agoIssue #26401: Fix compile() documentation
Berker Peksag [Sun, 21 Feb 2016 20:00:12 +0000 (22:00 +0200)]
Issue #26401: Fix compile() documentation

After 25032ec29315, compile() will raise a ValueError
if source contains null bytes.

Patch by SilentGhost.

8 years agoFix some typos in the NEWS file
Brett Cannon [Sun, 21 Feb 2016 17:21:35 +0000 (09:21 -0800)]
Fix some typos in the NEWS file

8 years agoFix some typos in the NEWS file
Brett Cannon [Sun, 21 Feb 2016 17:20:51 +0000 (09:20 -0800)]
Fix some typos in the NEWS file

8 years agoIssue #23430: Stop socketserver from catching SystemExit etc from handlers
Martin Panter [Sun, 21 Feb 2016 08:49:56 +0000 (08:49 +0000)]
Issue #23430: Stop socketserver from catching SystemExit etc from handlers

Also make handle_error() consistently output to stderr, and fix the
documentation.

8 years agoFix a name in an example
Brett Cannon [Sun, 21 Feb 2016 02:47:09 +0000 (18:47 -0800)]
Fix a name in an example

8 years agoIssue #26397: Update an importlib example to use util.module_from_spec() instead...
Brett Cannon [Sun, 21 Feb 2016 02:45:56 +0000 (18:45 -0800)]
Issue #26397: Update an importlib example to use util.module_from_spec() instead of create_module()

8 years agoMerge w/ 3.5
Brett Cannon [Sun, 21 Feb 2016 02:40:18 +0000 (18:40 -0800)]
Merge w/ 3.5

8 years agoList what classes from importlib.machinery don't work with importlib.util.LazyLoader
Brett Cannon [Sun, 21 Feb 2016 02:40:02 +0000 (18:40 -0800)]
List what classes from importlib.machinery don't work with importlib.util.LazyLoader

8 years agoMerge for issue #26186
Brett Cannon [Sun, 21 Feb 2016 02:37:04 +0000 (18:37 -0800)]
Merge for issue #26186

8 years agoIssue #26186: Remove an invalid type check in
Brett Cannon [Sun, 21 Feb 2016 02:35:41 +0000 (18:35 -0800)]
Issue #26186: Remove an invalid type check in
importlib.util.LazyLoader.

The class was checking its argument as to whether its implementation
of create_module() came directly from importlib.abc.Loader. The
problem is that the classes coming from imoprtlib.machinery do not
directly inherit from the ABC as they come from _frozen_importlib.
Because the documentation has always said that create_module() was
ignored, the check has simply been removed.

8 years agoMerge for issue #26367
Brett Cannon [Sat, 20 Feb 2016 20:59:36 +0000 (12:59 -0800)]
Merge for issue #26367

8 years agoIssue #26367: Have importlib.__init__() raise RuntimeError when
Brett Cannon [Sat, 20 Feb 2016 20:52:06 +0000 (12:52 -0800)]
Issue #26367: Have importlib.__init__() raise RuntimeError when
'level' is specified but no __package__.

This brings the function inline with builtins.__import__(). Thanks to
Manuel Jacob for the patch.

8 years agoMerged cookbook update from 3.5.
Vinay Sajip [Sat, 20 Feb 2016 19:03:29 +0000 (19:03 +0000)]
Merged cookbook update from 3.5.

8 years agoAdded simple threading example to logging cookbook.
Vinay Sajip [Sat, 20 Feb 2016 19:02:46 +0000 (19:02 +0000)]
Added simple threading example to logging cookbook.

8 years agoIssue #22468: Merge gettarinfo() doc from 3.5
Martin Panter [Fri, 19 Feb 2016 23:46:59 +0000 (23:46 +0000)]
Issue #22468: Merge gettarinfo() doc from 3.5

8 years agoIssues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usage
Martin Panter [Fri, 19 Feb 2016 23:34:56 +0000 (23:34 +0000)]
Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usage

* The Windows-specific binary notice was probably a Python 2 thing
* Make it more obvious gettarinfo() is based on stat(), and that non-ordinary
  files may need special care
* The file name must be text; suggest dummy arcname as a workaround
* Indicate TarInfo may be used directly, not just via gettarinfo()

8 years agomerge with 3.5
Georg Brandl [Fri, 19 Feb 2016 07:57:50 +0000 (08:57 +0100)]
merge with 3.5

8 years agoCloses #20169: fix inner links random doc.
Georg Brandl [Fri, 19 Feb 2016 07:57:38 +0000 (08:57 +0100)]
Closes #20169: fix inner links random doc.

8 years agoIssue #15608: Merge socketserver doc from 3.5
Martin Panter [Fri, 19 Feb 2016 03:35:00 +0000 (03:35 +0000)]
Issue #15608: Merge socketserver doc from 3.5

8 years agoIssue #15608: Improve socketserver module documentation
Martin Panter [Fri, 19 Feb 2016 03:27:46 +0000 (03:27 +0000)]
Issue #15608: Improve socketserver module documentation

* Add headings for each concrete and mix-in class and list methods and
  attributes under them
* Fix class and method cross references
* Changed RequestHandler to BaseRequestHandler and added class heading
* Pull out Stream/DatagramRequestHandler definitions
* Reordered the request handler setup(), handle(), finish() methods
* Document constructor parameters for the server classes
* Remove version 2.6 not relevant for Python 3 documentation

8 years agoIssue #26309: Merge socketserver fix from 3.5
Martin Panter [Fri, 19 Feb 2016 02:38:34 +0000 (02:38 +0000)]
Issue #26309: Merge socketserver fix from 3.5

8 years agoIssue #26309: Rewrite test in main thread and avoid race condition
Martin Panter [Fri, 19 Feb 2016 02:16:42 +0000 (02:16 +0000)]
Issue #26309: Rewrite test in main thread and avoid race condition

8 years agoIssue #16915: Clarify that mode parameter of socket.makefile() does not accept
Berker Peksag [Thu, 18 Feb 2016 15:34:32 +0000 (17:34 +0200)]
Issue #16915: Clarify that mode parameter of socket.makefile() does not accept
the same values as open().

8 years agoIssue #16915: Clarify that mode parameter of socket.makefile() does not accept
Berker Peksag [Thu, 18 Feb 2016 15:34:00 +0000 (17:34 +0200)]
Issue #16915: Clarify that mode parameter of socket.makefile() does not accept
the same values as open().

8 years agoIssue #26309: Merge socketserver fix from 3.5
Martin Panter [Thu, 18 Feb 2016 11:01:32 +0000 (11:01 +0000)]
Issue #26309: Merge socketserver fix from 3.5

8 years agoIssue #26309: Shut down socketserver request if verify_request() is false
Martin Panter [Thu, 18 Feb 2016 10:43:55 +0000 (10:43 +0000)]
Issue #26309: Shut down socketserver request if verify_request() is false

Patch by Aviv Palivoda.

8 years agomerge 3.5 (#26378)
Benjamin Peterson [Thu, 18 Feb 2016 07:43:08 +0000 (23:43 -0800)]
merge 3.5 (#26378)

8 years agofix typo (closes #26378)
Benjamin Peterson [Thu, 18 Feb 2016 07:42:46 +0000 (23:42 -0800)]
fix typo (closes #26378)

8 years agomerge 3.5 (closes #25939)
Benjamin Peterson [Thu, 18 Feb 2016 06:18:35 +0000 (22:18 -0800)]
merge 3.5 (closes #25939)

8 years agomerge 3.4 (closes #25939)
Benjamin Peterson [Thu, 18 Feb 2016 06:18:20 +0000 (22:18 -0800)]
merge 3.4 (closes #25939)

8 years agoopen the cert store readonly
Benjamin Peterson [Thu, 18 Feb 2016 06:13:19 +0000 (22:13 -0800)]
open the cert store readonly

Patch from Chi Hsuan Yen.

8 years agoIssue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.
Ned Deily [Tue, 16 Feb 2016 02:27:45 +0000 (13:27 +1100)]
Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.

8 years agoIssue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.
Ned Deily [Tue, 16 Feb 2016 02:27:04 +0000 (13:27 +1100)]
Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.

8 years agoMinor clarification in tutorial.
Georg Brandl [Mon, 15 Feb 2016 16:50:33 +0000 (17:50 +0100)]
Minor clarification in tutorial.

8 years agoIssue #25924: merge with 3.5
Ned Deily [Mon, 15 Feb 2016 05:57:04 +0000 (16:57 +1100)]
Issue #25924: merge with 3.5

8 years agoIssue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X
Ned Deily [Mon, 15 Feb 2016 05:54:08 +0000 (16:54 +1100)]
Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X
versions 10.5 or higher.  Original patch by A. Jesse Jiryu Davis.

8 years agoIssue #26268: merge from 3.5
Ned Deily [Mon, 15 Feb 2016 05:47:03 +0000 (16:47 +1100)]
Issue #26268: merge from 3.5

8 years agoIssue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f.
Ned Deily [Mon, 15 Feb 2016 05:44:38 +0000 (16:44 +1100)]
Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f.

8 years agoThe return type of a rich comparison is an int
Raymond Hettinger [Sun, 14 Feb 2016 09:41:35 +0000 (01:41 -0800)]
The return type of a rich comparison is an int

8 years agoIssue #26316: Merge Arg Clinic fix from 3.5
Martin Panter [Sun, 14 Feb 2016 03:25:48 +0000 (03:25 +0000)]
Issue #26316: Merge Arg Clinic fix from 3.5

8 years agoIssue #26316: Fix variable name typo in Argument Clinic
Martin Panter [Sun, 14 Feb 2016 03:23:13 +0000 (03:23 +0000)]
Issue #26316: Fix variable name typo in Argument Clinic

8 years agoMerge 3.5 (issue #25887)
Yury Selivanov [Sat, 13 Feb 2016 23:00:31 +0000 (18:00 -0500)]
Merge 3.5 (issue #25887)

8 years agoIssue #25887: Raise a RuntimeError when a coroutine is awaited more than once.
Yury Selivanov [Sat, 13 Feb 2016 22:59:05 +0000 (17:59 -0500)]
Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.

8 years agoFixes #26348: Merged fix from 3.5.
Vinay Sajip [Sat, 13 Feb 2016 16:27:25 +0000 (16:27 +0000)]
Fixes #26348: Merged fix from 3.5.

8 years agoFixes #26348: Corrected typos in activate.fish script.
Vinay Sajip [Sat, 13 Feb 2016 16:26:35 +0000 (16:26 +0000)]
Fixes #26348: Corrected typos in activate.fish script.

8 years agoIssue #25179: Documentation for formatted string literals aka f-strings
Martin Panter [Sat, 13 Feb 2016 00:41:37 +0000 (00:41 +0000)]
Issue #25179: Documentation for formatted string literals aka f-strings

Some of the inspiration and wording is taken from the text of PEP 498 by Eric
V. Smith, and the existing str.format() documentation.

8 years agoIssues #26289 and #26315: Optimize floor/modulo div for single-digit longs
Yury Selivanov [Thu, 11 Feb 2016 15:26:27 +0000 (10:26 -0500)]
Issues #26289 and #26315: Optimize floor/modulo div for single-digit longs

Microbenchmarks show 2-2.5x improvement.  Built-in 'divmod' function
is now also ~10% faster.

-m timeit -s "x=22331" "x//2;x//-3;x//4;x//5;x//-6;x//7;x//8;x//-99;x//100;"
with patch: 0.321          without patch: 0.633

-m timeit -s "x=22331" "x%2;x%3;x%-4;x%5;x%6;x%-7;x%8;x%99;x%-100;"
with patch: 0.224          without patch: 0.66

Big thanks to Serhiy Storchaka, Mark Dickinson and Victor Stinner for
thorow code reviews and algorithms improvements.

8 years agoNull merge
Serhiy Storchaka [Thu, 11 Feb 2016 11:31:56 +0000 (13:31 +0200)]
Null merge

8 years agoIssue #25995: os.walk() no longer uses FDs proportional to the tree depth.
Serhiy Storchaka [Thu, 11 Feb 2016 11:31:00 +0000 (13:31 +0200)]
Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.
Different solution from 3.5.

8 years agoIssue #25995: os.walk() no longer uses FDs proportional to the tree depth.
Serhiy Storchaka [Thu, 11 Feb 2016 11:29:28 +0000 (13:29 +0200)]
Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.

8 years agoIssue #25994: Added the close() method and the support of the context manager
Serhiy Storchaka [Thu, 11 Feb 2016 11:21:30 +0000 (13:21 +0200)]
Issue #25994: Added the close() method and the support of the context manager
protocol for the os.scandir() iterator.

8 years agoIssue #26325: Added test.support.check_no_resource_warning() to check that
Serhiy Storchaka [Thu, 11 Feb 2016 11:12:19 +0000 (13:12 +0200)]
Issue #26325: Added test.support.check_no_resource_warning() to check that
no ResourceWarning is emitted.

8 years agoIssue #26325: Added test.support.check_no_resource_warning() to check that
Serhiy Storchaka [Thu, 11 Feb 2016 11:11:44 +0000 (13:11 +0200)]
Issue #26325: Added test.support.check_no_resource_warning() to check that
no ResourceWarning is emitted.

8 years agoIssue #25985: sys.version_info is now used instead of sys.version
Serhiy Storchaka [Thu, 11 Feb 2016 11:10:36 +0000 (13:10 +0200)]
Issue #25985: sys.version_info is now used instead of sys.version
to format short Python version.

8 years agoIssue #26312: SystemError is now raised in all programming bugs with using
Serhiy Storchaka [Thu, 11 Feb 2016 10:41:40 +0000 (12:41 +0200)]
Issue #26312: SystemError is now raised in all programming bugs with using
PyArg_ParseTupleAndKeywords().  RuntimeError did raised before in some
programming bugs.

8 years agoIssue #23992: multiprocessing: make MapResult not fail-fast upon exception.
Charles-François Natali [Wed, 10 Feb 2016 22:58:18 +0000 (22:58 +0000)]
Issue #23992: multiprocessing: make MapResult not fail-fast upon exception.

8 years agoNull merge of typing.rst change
Guido van Rossum [Wed, 10 Feb 2016 17:49:36 +0000 (09:49 -0800)]
Null merge of typing.rst change

8 years agoHopefully clarify the difference between Optional[t] and an optional argument.
Guido van Rossum [Wed, 10 Feb 2016 17:48:58 +0000 (09:48 -0800)]
Hopefully clarify the difference between Optional[t] and an optional argument.

8 years agoHopefully clarify the difference between Optional[t] and an optional argument.
Guido van Rossum [Wed, 10 Feb 2016 17:46:56 +0000 (09:46 -0800)]
Hopefully clarify the difference between Optional[t] and an optional argument.

8 years agoIssue #25698: Prevent possible replacing imported module with the empty one
Serhiy Storchaka [Wed, 10 Feb 2016 08:31:43 +0000 (10:31 +0200)]
Issue #25698: Prevent possible replacing imported module with the empty one
if the stack is too deep.