]>
granicus.if.org Git - python/log
Berker Peksag [Sat, 16 Apr 2016 19:16:05 +0000 (22:16 +0300)]
Issue #23029: Fix catch_warnings() in test_filename_none
It was printed UserWarning output because catch_warnings() was missing
record=True.
Senthil Kumaran [Sat, 16 Apr 2016 14:15:38 +0000 (07:15 -0700)]
Improve the coverage of urlparse module. Backport to 2.7 branch.
Martin Panter [Sat, 16 Apr 2016 09:28:57 +0000 (09:28 +0000)]
Fix typos in code comment and documentation
Martin Panter [Sat, 16 Apr 2016 04:59:38 +0000 (04:59 +0000)]
Issue #26638: Fix links to some CLI options
Disable inappropriate links to Python interpreter options. Also make CLI
section label in timeit less ambiguous.
Martin Panter [Sat, 9 Apr 2016 03:49:48 +0000 (03:49 +0000)]
Issue #25314: Remove confused statement about const argument
Martin Panter [Fri, 15 Apr 2016 02:14:19 +0000 (02:14 +0000)]
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
Zachary Ware [Thu, 14 Apr 2016 15:18:27 +0000 (10:18 -0500)]
Issue #26465: Update VS9.0 build files for OpenSSL 1.0.2g
Berker Peksag [Thu, 14 Apr 2016 12:51:22 +0000 (15:51 +0300)]
Issue #26747: Document that InstanceTypes only works for old-style classes
Patch by Nan Wu.
Serhiy Storchaka [Wed, 13 Apr 2016 12:27:33 +0000 (15:27 +0300)]
Issue #26718: super.__init__ no longer leaks memory if called multiple times.
NOTE: A direct call of super.__init__ is not endorsed!
Senthil Kumaran [Wed, 13 Apr 2016 06:13:33 +0000 (23:13 -0700)]
[minor] - Correct the docstring of locale.str. Patch by poleto.
Georg Brandl [Sun, 28 Feb 2016 20:13:23 +0000 (21:13 +0100)]
Update susp-ignore file (#25910).
Martin Panter [Wed, 13 Apr 2016 03:24:06 +0000 (03:24 +0000)]
Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan
Georg Brandl [Tue, 12 Apr 2016 05:51:41 +0000 (07:51 +0200)]
Clarify greedy-qualifier example, avoid HTML.
Serhiy Storchaka [Tue, 12 Apr 2016 05:47:20 +0000 (08:47 +0300)]
Issue #26733: Fixed formatting line numbers in test_dis.
Based on patch by Xiang Zhang.
Serhiy Storchaka [Mon, 11 Apr 2016 14:32:33 +0000 (17:32 +0300)]
Issue #25910: Fixed more links in the docs.
Serhiy Storchaka [Mon, 11 Apr 2016 09:18:56 +0000 (12:18 +0300)]
Issue #25910: Fixed dead links in the docs.
Georg Brandl [Fri, 26 Feb 2016 18:37:12 +0000 (19:37 +0100)]
Closes #25910: fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
Serhiy Storchaka [Mon, 11 Apr 2016 06:53:37 +0000 (09:53 +0300)]
Issue #26200: Restored more safe usages of Py_SETREF.
Serhiy Storchaka [Sun, 10 Apr 2016 15:05:12 +0000 (18:05 +0300)]
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
Serhiy Storchaka [Sun, 10 Apr 2016 12:26:52 +0000 (15:26 +0300)]
Issue #13410: Fixed a bug in PyUnicode_Format where it failed to properly
ignore errors from a __int__() method.
Patch based on the patch for issue #15516.
Martin Panter [Sun, 10 Apr 2016 09:39:07 +0000 (09:39 +0000)]
Issue #26712: Unify (r)split(), (l/r)strip() tests into string_tests
This eliminates a few redundant test cases.
Martin Panter [Sat, 9 Apr 2016 13:45:52 +0000 (13:45 +0000)]
Issue #26609: Fix up Python 2 port
Martin Panter [Sat, 9 Apr 2016 04:56:10 +0000 (04:56 +0000)]
Issue #26609: Fix HTTP server tests to request an absolute URL path
Berker Peksag [Sat, 9 Apr 2016 05:17:53 +0000 (08:17 +0300)]
Issue #19377: Add .svg to mimetypes.types_map
This is a backport of
caf89a6a17a7 .
Berker Peksag [Sat, 9 Apr 2016 05:06:15 +0000 (08:06 +0300)]
Issue #13952: Add .csv to mimetypes.types_map
Patch by Geoff Wilson.
Berker Peksag [Sat, 9 Apr 2016 05:05:18 +0000 (08:05 +0300)]
Issue #16329: Add .webm to mimetypes.types_map
Patch by Giampaolo Rodola'.
Martin Panter [Wed, 6 Apr 2016 06:37:17 +0000 (06:37 +0000)]
Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte-
array, therefore many of the test cases inherited in this class were not
actually being run on the bytearray type.
The tests in buffer_tests.py were redundant with methods in string_tests
.MixinStrUnicodeUserStringTest and string_tests.CommonTest. Moved some tests
into a new base class string_tests.NonStringModuleTest, and run them for
bytearray.
Serhiy Storchaka [Wed, 6 Apr 2016 06:51:18 +0000 (09:51 +0300)]
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Martin Panter [Tue, 5 Apr 2016 07:37:22 +0000 (07:37 +0000)]
Issue #6953: Rearrange and expand Readline module documentation
* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
Martin Panter [Tue, 5 Apr 2016 06:19:42 +0000 (06:19 +0000)]
Fix typos in documentation and comments
Martin Panter [Sun, 3 Apr 2016 08:00:49 +0000 (08:00 +0000)]
Issue #23735: Avoid sighandler_t Gnu-ism
Martin Panter [Sun, 3 Apr 2016 02:54:58 +0000 (02:54 +0000)]
Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
Martin Panter [Fri, 1 Apr 2016 21:48:24 +0000 (21:48 +0000)]
Issue #26678: Fix datetime.tzinfo indexing and “tzinfo” attribute links
Vinay Sajip [Fri, 1 Apr 2016 22:06:57 +0000 (23:06 +0100)]
Added a cookbook recipe for a logging context manager.
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