summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25801: Fixed resource warnings in test_zipfile64.Serhiy Storchaka2016-02-251-2/+6
| | | | Patch by SilentGhost.
* Issue #25136: Add reference to 'xcode-select --install' to Mac README.Ned Deily2016-02-241-1/+6
|
* Change OS X installer builds targeted for 10.10 and above to buildNed Deily2016-02-241-2/+7
| | | | | | | | | 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.
* Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.Ned Deily2016-02-244-2/+42
| | | | | | | | | | | | | | | 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.
* Issue #26302: Correctly identify comma as an invalid character for a cookie ↵Anish Shah2016-02-073-1/+10
| | | | (correcting regression in Python 3.5).
* Fixed a bug in os.walk() with bytes path on Windows caused by merging fixesSerhiy Storchaka2016-02-241-1/+1
| | | | for issues #25995 and #25911.
* Issue #25913: Leading <~ is optional now in base64.a85decode() with adobe=True.Serhiy Storchaka2016-02-243-6/+13
| | | | Patch by Swati Jaiswal.
* Issue #5824: Fix DatagramRequestHandler tests by binding the client socketMartin Panter2016-02-242-29/+20
|
* Issue #22088: Clarify base-64 alphabets and which characters are discardedMartin Panter2016-02-233-79/+92
| | | | | | | | | | * 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.
* Issue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls onNed Deily2016-02-232-4/+13
| | | | current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
* Update example; str(float) changed so there is difference now.Georg Brandl2016-02-221-5/+5
|
* Issue #26268: Update Windows builds to use OpenSSL 1.0.2fZachary Ware2016-02-227-12/+14
|
* Issue #26268: Update the prepare_ssl.py scriptZachary Ware2016-02-222-110/+59
| | | | | | | | | 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.
* Issue #26261: Clarify NamedTemporaryFile name attribute vs file.nameMartin Panter2016-02-222-3/+4
|
* Fix errors in XML-RPC client example codeMartin Panter2016-02-221-4/+4
| | | | | | | * 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)
* Issue #26401: Fix compile() documentationBerker Peksag2016-02-211-1/+5
| | | | | | | After 25032ec29315, compile() will raise a ValueError if source contains null bytes. Patch by SilentGhost.
* Fix some typos in the NEWS fileBrett Cannon2016-02-211-1/+1
|
* List what classes from importlib.machinery don't work with ↵Brett Cannon2016-02-211-1/+2
| | | | importlib.util.LazyLoader
* Issue #26186: Remove an invalid type check inBrett Cannon2016-02-214-6/+3
| | | | | | | | | | | 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.
* Issue #26367: Have importlib.__init__() raise RuntimeError whenBrett Cannon2016-02-204-371/+381
| | | | | | | 'level' is specified but no __package__. This brings the function inline with builtins.__import__(). Thanks to Manuel Jacob for the patch.
* Added simple threading example to logging cookbook.Vinay Sajip2016-02-201-0/+55
|
* Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usageMartin Panter2016-02-192-20/+28
| | | | | | | | * 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()
* Closes #20169: fix inner links random doc.Georg Brandl2016-02-191-6/+6
|
* Issue #15608: Improve socketserver module documentationMartin Panter2016-02-191-154/+202
| | | | | | | | | | | * 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
* Issue #26309: Rewrite test in main thread and avoid race conditionMartin Panter2016-02-191-24/+21
|
* Issue #16915: Clarify that mode parameter of socket.makefile() does not acceptBerker Peksag2016-02-183-4/+19
| | | | the same values as open().
* Issue #26309: Shut down socketserver request if verify_request() is falseMartin Panter2016-02-183-0/+30
| | | | Patch by Aviv Palivoda.
* fix typo (closes #26378)Benjamin Peterson2016-02-181-1/+1
|
* merge 3.4 (closes #25939)Benjamin Peterson2016-02-182-2/+8
|\
| * open the cert store readonlyBenjamin Peterson2016-02-182-2/+8
| | | | | | | | Patch from Chi Hsuan Yen.
* | Issue #26368: fix typo in asynchio stream doc, reported by Ryan Stuart.Ned Deily2016-02-161-1/+1
| |
* | Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS XNed Deily2016-02-152-2/+21
| | | | | | | | versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis.
* | Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f.Ned Deily2016-02-153-22/+8
| |
* | Issue #26316: Fix variable name typo in Argument ClinicMartin Panter2016-02-142-1/+7
| |
* | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.Yury Selivanov2016-02-134-12/+169
| |
* | Fixes #26348: Corrected typos in activate.fish script.Vinay Sajip2016-02-131-2/+2
| |
* | Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.Serhiy Storchaka2016-02-112-11/+4
| |
* | Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-115-20/+32
| | | | | | | | no ResourceWarning is emitted.
* | Hopefully clarify the difference between Optional[t] and an optional argument.Guido van Rossum2016-02-101-0/+7
| |
* | Issue #25698: Prevent possible replacing imported module with the empty oneSerhiy Storchaka2016-02-101-2/+6
| | | | | | | | if the stack is too deep.
* | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-1025-76/+76
| | | | | | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* | Issues #26310, #26311: Fix typos in the documentation and code commentsMartin Panter2016-02-108-9/+9
| |
* | Issue #25983: Added tests for multi-argument type().Serhiy Storchaka2016-02-081-0/+155
| |
* | Clarify "cardinality of" as "number of elements in" as many readers doGregory P. Smith2016-02-081-1/+1
| | | | | | | | not have a math vocabulary.
* | Updates build to use SHA256 hash when signing files.Steve Dower2016-02-081-1/+1
| |
* | Issue #26117: The os.scandir() iterator now closes file descriptor not onlySerhiy Storchaka2016-02-082-17/+23
| | | | | | | | when the iteration is finished, but when it was failed with error.
* | Issue #25911: Restored support of bytes paths in os.walk() on Windows.Serhiy Storchaka2016-02-083-10/+41
| |
* | Issue #26045: Add UTF-8 suggestion to error in http.clientMartin Panter2016-02-093-2/+20
| | | | | | | | Based on patch by Guido van Rossum.
* | Issue #26198: Make datetime error tests more lenient.Serhiy Storchaka2016-02-081-3/+3
| |
* | Issue #26198: Fixed error messages for some argument parsing errors.Serhiy Storchaka2016-02-073-14/+23
| | | | | | | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units.