]>
granicus.if.org Git - python/log
Berker Peksag [Sat, 7 May 2016 13:41:39 +0000 (16:41 +0300)]
Replace example.com with pythontest.net in test_getcode of test_urllibnet
Serhiy Storchaka [Sat, 7 May 2016 12:41:09 +0000 (15:41 +0300)]
Issue #17765: weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.
Serhiy Storchaka [Sat, 7 May 2016 07:50:12 +0000 (10:50 +0300)]
Issue #26736: Used HTTPS for external links in the documentation if possible.
Serhiy Storchaka [Sat, 7 May 2016 07:06:53 +0000 (10:06 +0300)]
Issue #26889: Fixed hyperlinks formatting.
Serhiy Storchaka [Sat, 7 May 2016 05:44:58 +0000 (08:44 +0300)]
Issue #26889: Tweaked xmlrpclib documentation.
Berker Peksag [Thu, 5 May 2016 08:05:49 +0000 (11:05 +0300)]
Issue #26962: Backport
23d986228c6b to 2.7
Serhiy Storchaka [Wed, 4 May 2016 08:28:09 +0000 (11:28 +0300)]
Issue #26873: xmlrpclib now raises ResponseError on unsupported type tags
instead of silently return incorrect result.
Serhiy Storchaka [Tue, 3 May 2016 19:15:29 +0000 (22:15 +0300)]
Backported test for posixpath.expanduser().
Terry Jan Reedy [Mon, 2 May 2016 22:17:19 +0000 (18:17 -0400)]
Clarify IDLE-console differences with respect to the sys module.
The reload(sys) effect was the crux of a Stackoverflow question.
Donald Stufft [Mon, 2 May 2016 11:02:30 +0000 (07:02 -0400)]
Upgrade ensurepip bundled setuptools to 20.10.1
Meador Inge [Sun, 1 May 2016 02:56:59 +0000 (21:56 -0500)]
Issue #24114: Fix an uninitialized variable in `ctypes.util`.
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
Berker Peksag [Sat, 30 Apr 2016 15:36:31 +0000 (18:36 +0300)]
Issue #21746: Remove BaseResult reference from urlparse documentation
BaseResult no longer exists and it has been replaced by namedtuple.
Patch by Matthew Gilson.
Martin Panter [Sat, 30 Apr 2016 01:03:40 +0000 (01:03 +0000)]
Issue #26864: Fix case insensitivity and suffix comparison with no_proxy
Patch by Xiang Zhang.
Serhiy Storchaka [Fri, 29 Apr 2016 06:12:38 +0000 (09:12 +0300)]
Issue #26822: Decreased an overhead of using _PyArg_NoKeywords() in calls of
itemgetter, attrgetter and methodcaller objects.
Zachary Ware [Thu, 28 Apr 2016 19:38:48 +0000 (14:38 -0500)]
Issue #26874: Simplify the divmod docstring.
Now it actually matches the prose docs.
Zachary Ware [Thu, 28 Apr 2016 19:23:48 +0000 (14:23 -0500)]
Issue #26874: Make divmod docstring and full doc match
Serhiy Storchaka [Wed, 27 Apr 2016 20:07:25 +0000 (23:07 +0300)]
fileinput.hook_encoded() uses io.open(), not codecs.open().
Berker Peksag [Wed, 27 Apr 2016 05:58:32 +0000 (08:58 +0300)]
Issue #26672: Fix regrtest example in test.rst
Reported by Axel Luttgens.
Martin Panter [Tue, 26 Apr 2016 11:33:46 +0000 (11:33 +0000)]
Issue #20598: Replace trivial split() calls with lists in argparse docs
Raymond Hettinger [Tue, 26 Apr 2016 08:09:32 +0000 (01:09 -0700)]
Issue #24715: Improve sort stability example
Raymond Hettinger [Tue, 26 Apr 2016 07:59:16 +0000 (00:59 -0700)]
Issue #23986: Note that the in-operator for lists and tuples check identity before equality.
Senthil Kumaran [Mon, 25 Apr 2016 16:17:54 +0000 (09:17 -0700)]
backport fix for Issue #26804.
urllib.request will prefer lower_case proxy environment variables over
UPPER_CASE or Mixed_Case ones.
Serhiy Storchaka [Mon, 25 Apr 2016 05:59:35 +0000 (08:59 +0300)]
Issue #26837: assertSequenceEqual() now correctly outputs non-stringified
differing items. This affects assertListEqual() and assertTupleEqual().
Serhiy Storchaka [Sat, 23 Apr 2016 07:53:28 +0000 (10:53 +0300)]
Issue #26822: itemgetter, attrgetter and methodcaller objects no longer
silently ignore keyword arguments.
Benjamin Peterson [Sat, 23 Apr 2016 06:43:10 +0000 (23:43 -0700)]
fix python 3 mod init function declaration (closes #26827)
Martin Panter [Sat, 23 Apr 2016 00:58:44 +0000 (00:58 +0000)]
Issue #22359: Avoid recursive $(MAKE); disable running cross-compiled pgen
Patches by Jonas Wagner and Xavier de Gaye.
Victor Stinner [Wed, 20 Apr 2016 16:23:13 +0000 (18:23 +0200)]
Fix python-gdb.py: get C types on demand
Issue #26799: Fix python-gdb.py: don't get C types once when the Python code is
loaded, but get C types on demand. The C types can change if python-gdb.py is
loaded before the Python executable. Patch written by Thomas Ilsche.
Martin Panter [Tue, 19 Apr 2016 04:03:41 +0000 (04:03 +0000)]
Fix spelling (inital), grammar (may translates) in documentation, comments
Martin Panter [Mon, 18 Apr 2016 03:45:18 +0000 (03:45 +0000)]
Issue #26657: Fix SimpleHTTPServer Windows directory traversal vulnerability
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision
6b314f5c9404 .
Serhiy Storchaka [Sun, 17 Apr 2016 06:37:36 +0000 (09:37 +0300)]
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Martin Panter [Sun, 31 Jan 2016 06:30:56 +0000 (06:30 +0000)]
Issue #4806: Avoid masking TypeError when *-unpacking a generator
Based on patch by Hagen Fürstenau.
Benjamin Peterson [Sat, 16 Apr 2016 21:47:12 +0000 (14:47 -0700)]
add gc support to slice (closes #26659)
Berker Peksag [Sat, 16 Apr 2016 20:15:39 +0000 (23:15 +0300)]
Issue #24173: Fix curses.wrapper link in curses HOWTO
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