]>
granicus.if.org Git - python/log
Serhiy Storchaka [Thu, 31 Mar 2016 12:31:04 +0000 (15:31 +0300)]
Remove redundant leading zeroes in PEP references.
Martin Panter [Thu, 31 Mar 2016 07:21:56 +0000 (07:21 +0000)]
Issue #22854: fileno() is always required in IOBase; remove test
Also change BufferedReader.writable() and BufferedWriter.readable() to always
return False.
Serhiy Storchaka [Wed, 30 Mar 2016 18:02:00 +0000 (21:02 +0300)]
Issue #26492: Added additional tests for exhausted iterators of mutable sequences.
Serhiy Storchaka [Wed, 30 Mar 2016 17:43:06 +0000 (20:43 +0300)]
Issue #26494: Fixed crash on iterating exhausting iterators.
Affected classes are generic sequence iterators, iterators of bytearray,
list, tuple, set, frozenset, dict, OrderedDict and corresponding views.
Martin Panter [Mon, 28 Mar 2016 00:22:09 +0000 (00:22 +0000)]
Issue #23804: Fix SSL recv/read(0) to not return 1024 bytes
Martin Panter [Sun, 27 Mar 2016 05:35:19 +0000 (05:35 +0000)]
Issue #26644: Raise ValueError for negative SSLSocket.recv() and read()
doko@ubuntu.com [Wed, 23 Mar 2016 12:17:23 +0000 (13:17 +0100)]
Revert the last change:
Makefile.pre.in:
- Modules/_math.o: Build using PY_CORE_CFLAGS as every extension
doko@ubuntu.com [Wed, 23 Mar 2016 11:55:48 +0000 (12:55 +0100)]
Makefile.pre.in:
- Modules/_math.o: Build using PY_CORE_CFLAGS as every extension
- profile-opt: Fix bashism
Martin Panter [Tue, 22 Mar 2016 07:24:05 +0000 (07:24 +0000)]
Issue #24266: Cancel history search mode with Ctrl+C in Readline 7
Benjamin Peterson [Tue, 22 Mar 2016 05:31:02 +0000 (22:31 -0700)]
remove useless $ keyword (closes #17167)
Terry Jan Reedy [Mon, 21 Mar 2016 01:05:50 +0000 (21:05 -0400)]
Issue #15660: Further clarify 0 prefix for width specifier in formats.
Terry Jan Reedy [Mon, 21 Mar 2016 00:39:26 +0000 (20:39 -0400)]
whitespace
Terry Jan Reedy [Tue, 1 Mar 2016 06:13:07 +0000 (01:13 -0500)]
Document maintenance of idlelib/help.html in idlelib.
Terry Jan Reedy [Mon, 21 Mar 2016 00:28:23 +0000 (20:28 -0400)]
Rebase 2.7 idlelib/idle.html on current 2.7.11 docs with tag changes.
These changes should not be visible to the user.
Serhiy Storchaka [Sun, 20 Mar 2016 21:36:29 +0000 (23:36 +0200)]
Issue #26581: Use the first coding cookie on a line, not the last one.
Serhiy Storchaka [Sun, 20 Mar 2016 20:29:40 +0000 (22:29 +0200)]
Added new tests for detecting Python source code encoding.
Serhiy Storchaka [Sun, 20 Mar 2016 19:20:07 +0000 (21:20 +0200)]
Issue #18048: Merge test_pep263.py and test_coding.py into test_source_encoding.py.
Serhiy Storchaka [Thu, 13 Jun 2013 06:50:42 +0000 (09:50 +0300)]
Issue #18048: Rename test_coding.py to test_source_encoding.py.
Nick Coghlan [Sun, 20 Mar 2016 12:39:15 +0000 (22:39 +1000)]
Issue #23857: Implement PEP 493
Adds a Python-2-only ssl module API and environment variable to
configure the default handling of SSL/TLS certificates for
HTTPS connections.
Ezio Melotti [Fri, 18 Mar 2016 18:10:36 +0000 (20:10 +0200)]
#26250: document the sqlite3.Cursor.connection attribute. Initial patches by Aviv Palivoda and Varpu Rantala.
Steve Dower [Thu, 17 Mar 2016 22:02:19 +0000 (15:02 -0700)]
Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji.
Steve Dower [Thu, 17 Mar 2016 21:41:36 +0000 (14:41 -0700)]
Issue #19450: Update Windows builds to use SQLite 3.8.11.0.
Donald Stufft [Thu, 17 Mar 2016 15:05:35 +0000 (11:05 -0400)]
Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3
Martin Panter [Fri, 18 Mar 2016 02:36:41 +0000 (02:36 +0000)]
Issue #17603: Check for st_blocks field without requiring fileblocks.o
Victor Stinner [Mon, 14 Mar 2016 16:49:46 +0000 (17:49 +0100)]
Skip test_site if USER_SITE cannot be created
Issue #17758: Skip test_site if site.USER_SITE directory doesn't exist and
cannot be created.
Serhiy Storchaka [Mon, 14 Mar 2016 08:28:59 +0000 (10:28 +0200)]
Issue #20556: Used specific assert methods in threading tests.
Ezio Melotti [Sun, 13 Mar 2016 09:42:05 +0000 (11:42 +0200)]
#24918: fix CSS for code blocks when a side box is present. Patch by Manvi B.
Ezio Melotti [Sun, 13 Mar 2016 07:40:09 +0000 (09:40 +0200)]
#25687: clarify that errors in tearDown increase the total number of reported errors. Initial patch by HyeSoo Park.
Steve Dower [Sat, 12 Mar 2016 16:07:04 +0000 (08:07 -0800)]
Issue #26513: Fixes platform module detection of Windows Server
Serhiy Storchaka [Sat, 12 Mar 2016 08:51:16 +0000 (10:51 +0200)]
Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by
Tamás Bence Gedai.
Terry Jan Reedy [Fri, 11 Mar 2016 20:30:27 +0000 (15:30 -0500)]
Issue 25959: Explain in docstring that PhotoImage.zoom arguments are
multipliers, not final sizes. Explain y default for .zoom and .subsample.
Initial patch by Serhiy Storchaka.
Ezio Melotti [Fri, 11 Mar 2016 19:32:12 +0000 (21:32 +0200)]
#26247: document Chrome/Chromium addition to webbrowser. Patch by Manvi B.
Victor Stinner [Fri, 11 Mar 2016 10:28:41 +0000 (11:28 +0100)]
Issue #16851: Add Anna Koroliuk to Misc/ACKS
Victor Stinner [Fri, 11 Mar 2016 10:27:46 +0000 (11:27 +0100)]
Fix inspect.ismethod() doc
Closes #16851: Fix inspect.ismethod() doc, return also True if object is an
unbound method.
Patch written by Anna Koroliuk.
Serhiy Storchaka [Wed, 9 Mar 2016 08:51:41 +0000 (10:51 +0200)]
Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.
Serhiy Storchaka [Tue, 8 Mar 2016 21:34:28 +0000 (23:34 +0200)]
Issue #15068: Avoid creating a reference loop in fileinput.
Steve Dower [Tue, 8 Mar 2016 21:09:32 +0000 (13:09 -0800)]
Backed out changeset:
e7065fc4a6c2
Steve Dower [Tue, 8 Mar 2016 20:51:59 +0000 (12:51 -0800)]
Force clean externals on buildbots.
Steve Dower [Tue, 8 Mar 2016 18:26:39 +0000 (10:26 -0800)]
Issue #26465: Update Windows builds to use OpenSSL 1.0.2g.
Serhiy Storchaka [Tue, 8 Mar 2016 16:35:45 +0000 (18:35 +0200)]
Issue #15068: Got rid of excessive buffering in the fileinput module.
The bufsize parameter is no longer used.
Serhiy Storchaka [Tue, 8 Mar 2016 09:04:22 +0000 (11:04 +0200)]
Issue #26486: Removed pickle test that doesn't work in 2.7 on 64-bit platform.
Martin Panter [Tue, 8 Mar 2016 07:07:28 +0000 (07:07 +0000)]
Issue #26456: Force all child threads to terminate in TestForkInThread
Ned Deily [Tue, 8 Mar 2016 06:07:44 +0000 (01:07 -0500)]
Issue #26465: Update OS X installer build to use OpenSSL 1.0.2g.
Benjamin Peterson [Fri, 4 Mar 2016 06:05:36 +0000 (22:05 -0800)]
properly use PyObject_CallMethod in dictview binary operations (closes #26478)
Ned Deily [Mon, 7 Mar 2016 19:51:19 +0000 (14:51 -0500)]
Issue #26505: Fix typos in getaddrinfo license text.
Patch by Alex Willmer.
Raymond Hettinger [Mon, 7 Mar 2016 02:06:29 +0000 (18:06 -0800)]
Document another recipe for itertools: all_equal(). Inspired by David Beazley.
Berker Peksag [Sun, 6 Mar 2016 14:27:23 +0000 (16:27 +0200)]
Issue #2202: Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
Serhiy Storchaka [Sun, 6 Mar 2016 13:03:16 +0000 (15:03 +0200)]
Issue #26167: Backported copy tests.
Serhiy Storchaka [Sun, 6 Mar 2016 07:15:47 +0000 (09:15 +0200)]
Issue #26475: Fixed debugging output for regular expressions with the (?x) flag.
Serhiy Storchaka [Sun, 6 Mar 2016 07:05:47 +0000 (09:05 +0200)]
Issue #26486: Backported some pickle tests from 3.x.
Berker Peksag [Sat, 5 Mar 2016 11:55:04 +0000 (13:55 +0200)]
Issue #26485: Fix Sphinx warning in Doc/license.rst
Patch by Julien.
Gregory P. Smith [Sat, 5 Mar 2016 00:32:36 +0000 (16:32 -0800)]
issue26484 - fix the broken table in the doc about len().
Serhiy Storchaka [Thu, 3 Mar 2016 16:16:27 +0000 (18:16 +0200)]
Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.
Patch by Jeroen Demeyer.
Berker Peksag [Wed, 2 Mar 2016 17:44:24 +0000 (19:44 +0200)]
Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
Martin Panter [Mon, 29 Feb 2016 00:31:38 +0000 (00:31 +0000)]
Issue #26385: Cleanup NamedTemporaryFile if fdopen() fails, by SilentGhost
Georg Brandl [Sun, 28 Feb 2016 20:09:36 +0000 (21:09 +0100)]
Fix typo.
Raymond Hettinger [Sun, 28 Feb 2016 07:34:54 +0000 (23:34 -0800)]
Issue 13573: Document that csv.writer uses str() for floats instead of repr().
Martin Panter [Sun, 28 Feb 2016 00:18:43 +0000 (00:18 +0000)]
Issue #22836: Keep exception reports sensible despite errors
Ezio Melotti [Sat, 27 Feb 2016 06:39:36 +0000 (08:39 +0200)]
#26246: update copybutton.js after JQuery update. Patch by Liang-Bo Wang.
Martin Panter [Wed, 3 Feb 2016 05:19:44 +0000 (05:19 +0000)]
Issue #24421: Compile _math.c separately to avoid race condition
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.
Serhiy Storchaka [Thu, 25 Feb 2016 10:55:19 +0000 (12:55 +0200)]
Issue #25801: Fixed resource warnings in test_zipfile64.
Patch by SilentGhost.
Ned Deily [Wed, 24 Feb 2016 14:33:51 +0000 (01:33 +1100)]
Issue #25136: Add reference to 'xcode-select --install' to Mac README.
Ned Deily [Wed, 24 Feb 2016 14:01:02 +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.
Ned Deily [Wed, 24 Feb 2016 13:55:24 +0000 (00:55 +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.
Martin Panter [Wed, 24 Feb 2016 04:45:33 +0000 (04:45 +0000)]
Issue #5824: Fix DatagramRequestHandler tests by binding the client socket
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
Ned Deily [Tue, 23 Feb 2016 11:03:39 +0000 (22:03 +1100)]
Issue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls on
current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
Ned Deily [Tue, 23 Feb 2016 09:45:57 +0000 (20:45 +1100)]
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.
Zachary Ware [Mon, 22 Feb 2016 10:08:30 +0000 (04:08 -0600)]
Issue #26268: Update Windows builds to use OpenSSL 1.0.2f
Martin Panter [Mon, 22 Feb 2016 10:10:00 +0000 (10:10 +0000)]
Issue #26261: Clarify NamedTemporaryFile name attribute vs file.name
Martin Panter [Mon, 22 Feb 2016 09:10:54 +0000 (09:10 +0000)]
Fix errors in XML-RPC client example code
* httplib.HTTP (deprecated and does not work) → HTTPConnection
* Server (deprecated) → ServerProxy
Vinay Sajip [Sat, 20 Feb 2016 19:02:04 +0000 (19:02 +0000)]
Added simple threading example to logging cookbook.
Martin Panter [Fri, 19 Feb 2016 23:34:56 +0000 (23:34 +0000)]
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()
Georg Brandl [Fri, 19 Feb 2016 07:57:23 +0000 (08:57 +0100)]
Closes #20169: fix inner links random doc.
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
Martin Panter [Fri, 19 Feb 2016 02:16:42 +0000 (02:16 +0000)]
Issue #26309: Rewrite test in main thread and avoid race condition
Martin Panter [Thu, 18 Feb 2016 10:43:55 +0000 (10:43 +0000)]
Issue #26309: Shut down SocketServer request if verify_request() is false
Based on patch by Aviv Palivoda.
Benjamin Peterson [Thu, 18 Feb 2016 07:42:46 +0000 (23:42 -0800)]
fix typo (closes #26378)
Benjamin Peterson [Thu, 18 Feb 2016 06:13:19 +0000 (22:13 -0800)]
open the cert store readonly
Patch from Chi Hsuan Yen.
Ned Deily [Mon, 15 Feb 2016 05:51:24 +0000 (16:51 +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.
Ned Deily [Mon, 15 Feb 2016 05:42:36 +0000 (16:42 +1100)]
Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f.
Charles-François Natali [Fri, 12 Feb 2016 22:39:21 +0000 (22:39 +0000)]
Issue #24303: Fix random EEXIST upon multiprocessing semaphores creation with
Linux PID namespaces enabled.
Georg Brandl [Wed, 10 Feb 2016 12:44:29 +0000 (13:44 +0100)]
Closes #26320: fix stylesheet after Sphinx update.
Serhiy Storchaka [Wed, 10 Feb 2016 08:28:06 +0000 (10:28 +0200)]
Issue #25698: Importing module if the stack is too deep no longer replaces
imported module with the empty one.
Martin Panter [Wed, 10 Feb 2016 05:44:01 +0000 (05:44 +0000)]
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
Martin Panter [Wed, 10 Feb 2016 01:17:51 +0000 (01:17 +0000)]
Issues #26310, #26311: Fix typos in the documentation
Serhiy Storchaka [Mon, 8 Feb 2016 18:27:52 +0000 (20:27 +0200)]
Issue #25983: Added tests for multi-argument type().
Gregory P. Smith [Mon, 8 Feb 2016 17:59:14 +0000 (09:59 -0800)]
Clarify "cardinality of" as "number of elements in" as many readers do
not have a math vocabulary.
Steve Dower [Mon, 8 Feb 2016 17:26:25 +0000 (09:26 -0800)]
Updates build to use SHA256 hash when signing files
Serhiy Storchaka [Sun, 7 Feb 2016 23:05:48 +0000 (01:05 +0200)]
Issue #26198: Fixed error messages for some argument parsing errors.
Fixed the documented about buffer overflow error for "es#" and "et#" format
units.
Benjamin Peterson [Sun, 7 Feb 2016 06:36:06 +0000 (22:36 -0800)]
fix hash member name (closes #22847)
Martin Panter [Mon, 8 Feb 2016 01:34:09 +0000 (01:34 +0000)]
Issue #25179: Preparatory cleanup of existing docs on string formatting
* There was a link pointing to the section on the string.Formatter class (and
multiple links in Python 3), when the section on the common format string
syntax is probably more appropriate
* Fix references to various format() functions and methods
* Nested replacement fields may contain conversions and format specifiers,
and this is tested in Python 3; see Issue #19729 for instance
Senthil Kumaran [Sat, 6 Feb 2016 03:35:57 +0000 (19:35 -0800)]
Fix userinfo example presented in urllib2 howto.
Benjamin Peterson [Fri, 5 Feb 2016 06:26:10 +0000 (22:26 -0800)]
fix debug assertion
Antoine Pitrou [Fri, 14 Nov 2014 23:56:27 +0000 (00:56 +0100)]
Issue #22847: Improve method cache efficiency.
Martin Panter [Thu, 4 Feb 2016 06:01:35 +0000 (06:01 +0000)]
Issue #12923: Reset FancyURLopener's redirect counter even on exception
Based on patches by Brian Brazil and Daniel Rocco.
Zachary Ware [Thu, 4 Feb 2016 04:05:46 +0000 (22:05 -0600)]
Python for .NET has moved to Github.
Reported by Denis Akhiyarov on docs@
Serhiy Storchaka [Tue, 2 Feb 2016 16:45:59 +0000 (18:45 +0200)]
Issue #25945: Fixed bugs in functools.partial.
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.
Martin Panter [Wed, 3 Feb 2016 07:06:33 +0000 (07:06 +0000)]
Issue #26244: Clarify default zlib compression level in documentation
Based on patch by Aviv Palivoda.