Commit Graph

79509 Commits

Author SHA1 Message Date
Serhiy Storchaka 2c311f937e Issue #15068: Avoid creating a reference loop in fileinput. 2016-03-08 23:34:28 +02:00
Steve Dower b6d633ce33 Backed out changeset: e7065fc4a6c2 2016-03-08 13:09:32 -08:00
Steve Dower 2f7570f094 Force clean externals on buildbots. 2016-03-08 12:51:59 -08:00
Steve Dower b3fbbf4b35 Issue #26465: Update Windows builds to use OpenSSL 1.0.2g. 2016-03-08 10:26:39 -08:00
Serhiy Storchaka 69b7f812fa Issue #15068: Got rid of excessive buffering in the fileinput module.
The bufsize parameter is no longer used.
2016-03-08 18:35:45 +02:00
Serhiy Storchaka 2d80fb3905 Issue #26486: Removed pickle test that doesn't work in 2.7 on 64-bit platform. 2016-03-08 11:04:22 +02:00
Martin Panter 20c8cd9974 Issue #26456: Force all child threads to terminate in TestForkInThread 2016-03-08 07:07:28 +00:00
Ned Deily b5805b567f Issue #26465: Update OS X installer build to use OpenSSL 1.0.2g. 2016-03-08 01:07:44 -05:00
Benjamin Peterson 4ddb44a1d0 properly use PyObject_CallMethod in dictview binary operations (closes #26478) 2016-03-03 22:05:36 -08:00
Ned Deily 69d7f6a6a7 Issue #26505: Fix typos in getaddrinfo license text.
Patch by Alex Willmer.
2016-03-07 14:51:19 -05:00
Raymond Hettinger 2ec5fd546f Document another recipe for itertools: all_equal(). Inspired by David Beazley. 2016-03-06 18:06:29 -08:00
Berker Peksag 87640b30ce Issue #2202: Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls
Raise ValueError if algorithm is not MD5 or SHA.

Initial patch by Mathieu Dupuy.
2016-03-06 16:27:23 +02:00
Serhiy Storchaka 9e00088cc5 Issue #26167: Backported copy tests. 2016-03-06 15:03:16 +02:00
Serhiy Storchaka a61bfdbecd Issue #26475: Fixed debugging output for regular expressions with the (?x) flag. 2016-03-06 09:15:47 +02:00
Serhiy Storchaka 7c033e60df Issue #26486: Backported some pickle tests from 3.x. 2016-03-06 09:05:47 +02:00
Berker Peksag e41dc4f7bc Issue #26485: Fix Sphinx warning in Doc/license.rst
Patch by Julien.
2016-03-05 13:55:04 +02:00
Gregory P. Smith deffc0be4b issue26484 - fix the broken table in the doc about len(). 2016-03-04 16:32:36 -08:00
Serhiy Storchaka 79f657c6e7 Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.
Patch by Jeroen Demeyer.
2016-03-03 18:16:27 +02:00
Berker Peksag bb569362f4 Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
2016-03-02 19:44:24 +02:00
Martin Panter b6b1ab4fa8 Issue #26385: Cleanup NamedTemporaryFile if fdopen() fails, by SilentGhost 2016-02-29 00:31:38 +00:00
Georg Brandl 97b6e0bd1b Fix typo. 2016-02-28 21:09:36 +01:00
Raymond Hettinger 5a3e8e5bc0 Issue 13573: Document that csv.writer uses str() for floats instead of repr(). 2016-02-27 23:34:54 -08:00
Martin Panter ef85a1ac15 Issue #22836: Keep exception reports sensible despite errors 2016-02-28 00:18:43 +00:00
Ezio Melotti f9ce84b195 #26246: update copybutton.js after JQuery update. Patch by Liang-Bo Wang. 2016-02-27 08:39:36 +02:00
Martin Panter 83e9b57632 Issue #24421: Compile _math.c separately to avoid race condition 2016-02-03 05:19:44 +00:00
Georg Brandl a575839f25 Fix rstlint to also look for indented comments that should be directives. 2016-02-25 20:14:10 +01:00
Serhiy Storchaka ee7fe38d40 Issue #25801: Fixed resource warnings in test_zipfile64.
Patch by SilentGhost.
2016-02-25 12:55:19 +02:00
Ned Deily 7a7ad351b3 Issue #25136: Add reference to 'xcode-select --install' to Mac README. 2016-02-25 01:33:51 +11:00
Ned Deily 942f3de9cb 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.
2016-02-25 01:01:02 +11:00
Ned Deily 83abccbbc0 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.
2016-02-25 00:55:24 +11:00
Martin Panter 098f6d0caa Issue #5824: Fix DatagramRequestHandler tests by binding the client socket 2016-02-24 04:45:33 +00:00
Martin Panter 39267c21cc 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
2016-02-23 22:30:50 +00:00
Ned Deily 3058eb418a Issue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls on
current versions of OpenBSD and NetBSD.  Patch by A. Jesse Jiryu Davis.
2016-02-23 22:03:39 +11:00
Ned Deily 903783416b Issue #26417: Prevent spurious errors and incorrect defaults when
installing IDLE 2.7 on OS X: default configuration settings are
no longer installed from OS X specific copies.
2016-02-23 20:45:57 +11:00
Zachary Ware c46a2ebaff Issue #26268: Update Windows builds to use OpenSSL 1.0.2f 2016-02-22 04:08:30 -06:00
Martin Panter be9ddc1d11 Issue #26261: Clarify NamedTemporaryFile name attribute vs file.name 2016-02-22 10:10:00 +00:00
Martin Panter 3e85838ee9 Fix errors in XML-RPC client example code
* httplib.HTTP (deprecated and does not work) → HTTPConnection
* Server (deprecated) → ServerProxy
2016-02-22 09:10:54 +00:00
Vinay Sajip 35bb78ef7b Added simple threading example to logging cookbook. 2016-02-20 19:02:04 +00:00
Martin Panter 59b9a16e72 Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usage
* Make it more obvious gettarinfo() is based on stat(), and that non-ordinary
  files may need special care
* Filename taken from fileobj.name; suggest dummy arcname as a workaround
* Indicate TarInfo may be used directly, not just via gettarinfo()
2016-02-19 23:34:56 +00:00
Georg Brandl d6dd0e6560 Closes #20169: fix inner links random doc. 2016-02-19 08:57:23 +01:00
Martin Panter 94035f3aa7 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
2016-02-19 03:27:46 +00:00
Martin Panter 63d1f47b49 Issue #26309: Rewrite test in main thread and avoid race condition 2016-02-19 02:16:42 +00:00
Martin Panter ba8474b77d Issue #26309: Shut down SocketServer request if verify_request() is false
Based on patch by Aviv Palivoda.
2016-02-18 10:43:55 +00:00
Benjamin Peterson 51b13e53fc fix typo (closes #26378) 2016-02-17 23:42:46 -08:00
Benjamin Peterson b2e3946d76 open the cert store readonly
Patch from Chi Hsuan Yen.
2016-02-17 22:13:19 -08:00
Ned Deily 1c2a7b5939 Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X
versions 10.5 or higher.  Original patch by A. Jesse Jiryu Davis.
2016-02-15 16:51:24 +11:00
Ned Deily fdb959b8a3 Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f. 2016-02-15 16:42:36 +11:00
Charles-François Natali 674a3cd20b Issue #24303: Fix random EEXIST upon multiprocessing semaphores creation with
Linux PID namespaces enabled.
2016-02-12 22:39:21 +00:00
Georg Brandl c665ff6177 Closes #26320: fix stylesheet after Sphinx update. 2016-02-10 13:44:29 +01:00
Serhiy Storchaka 1c496178d2 Issue #25698: Importing module if the stack is too deep no longer replaces
imported module with the empty one.
2016-02-10 10:28:06 +02:00