]>
granicus.if.org Git - python/log
Martin Panter [Mon, 16 May 2016 01:14:20 +0000 (01:14 +0000)]
Issue #17214: Percent-encode non-ASCII bytes in redirect targets
Some servers send Location header fields with non-ASCII bytes, but "http.
client" requires the request target to be ASCII-encodable, otherwise a
UnicodeEncodeError is raised. Based on patch by Christian Heimes.
Python 2 does not suffer any problem because it allows non-ASCII bytes in the
HTTP request target.
Martin Panter [Mon, 16 May 2016 01:07:13 +0000 (01:07 +0000)]
Issue #14132: Fix redirect handling when target is just a query string
Serhiy Storchaka [Mon, 16 May 2016 07:11:47 +0000 (10:11 +0300)]
Issue #26995: Added tests for "f", "d", "D", "S", "Y", and "U" format codes
in PyArg_ParseTuple().
Serhiy Storchaka [Mon, 16 May 2016 06:55:32 +0000 (09:55 +0300)]
Backported tests for issue #18531.
Terry Jan Reedy [Mon, 16 May 2016 03:52:56 +0000 (23:52 -0400)]
Issue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
Uppercase 'GUI', remove 2.7 references and reflow text.
Robert Collins [Mon, 16 May 2016 03:22:01 +0000 (15:22 +1200)]
Issue #26807: mock_open 'files' no longer error on readline at end of file.
Patch from Yolanda Robla.
Terry Jan Reedy [Mon, 16 May 2016 02:06:49 +0000 (22:06 -0400)]
Issue #23977: Tweak IDLE Delegator and its test.
Terry Jan Reedy [Sun, 15 May 2016 18:19:59 +0000 (14:19 -0400)]
Issue #25747: remove undependable and possibly useless test.
Terry Jan Reedy [Sun, 15 May 2016 17:25:23 +0000 (13:25 -0400)]
Issue #20640: Add https: to url prefixes so test passes on Darwin.
Terry Jan Reedy [Sun, 15 May 2016 05:30:47 +0000 (01:30 -0400)]
Issue #20640: Add tests for idlelib.configHelpSourceEdit.
Patch by Saimadhav Heblikar.
Senthil Kumaran [Sun, 15 May 2016 04:28:22 +0000 (21:28 -0700)]
issue27018 - Fix the documentation of select.epoll.register method.
Martin Panter [Sun, 15 May 2016 00:13:04 +0000 (00:13 +0000)]
Issue #25533: Update documentation regarding the frozen modules table
* "ctypes" documentation was using Python 2 bytes-str equivalence.
* PyImport_FrozenModules is a pointer to const as of Python 3.4
Martin Panter [Sat, 14 May 2016 05:55:38 +0000 (05:55 +0000)]
Remove outdated PEP 291 compatibility requirement comment
Yury Selivanov [Fri, 13 May 2016 20:10:43 +0000 (16:10 -0400)]
asyncio/tests: Ensure a gc_collect for __del__ testing
Patch by Philip Jenvey
Yury Selivanov [Fri, 13 May 2016 20:04:43 +0000 (16:04 -0400)]
asyncio: Fix unix pipe transport 'repr' methods
Patch by Vincent Michel.
See also https://github.com/python/asyncio/pull/326
Yury Selivanov [Fri, 13 May 2016 19:58:00 +0000 (15:58 -0400)]
asyncio: Break reference cycle in StreamReaderProtocol.connection_lost
Yury Selivanov [Fri, 13 May 2016 19:42:39 +0000 (15:42 -0400)]
asyncio: ease the cert failed regex
Patch by Philip Jenvey
Yury Selivanov [Fri, 13 May 2016 19:35:28 +0000 (15:35 -0400)]
Issue #26848: Fix asyncio/subprocess.communicate() to handle empty input.
Serhiy Storchaka [Fri, 13 May 2016 18:18:58 +0000 (21:18 +0300)]
Restored test_interleaved. After issue #8886 it was a duplicate of
test_different_file.
Senthil Kumaran [Fri, 13 May 2016 08:32:42 +0000 (01:32 -0700)]
Issue #26892: Honor debuglevel flag in urllib.request.HTTPHandler.
Patch contributed by Chi Hsuan Yen.
Martin Panter [Fri, 13 May 2016 01:54:44 +0000 (01:54 +0000)]
Issue #22274: Redirect stderr=STDOUT when stdout not redirected, by Akira Li
Benjamin Peterson [Fri, 13 May 2016 06:12:21 +0000 (23:12 -0700)]
fix indentation of comments in cellobject.c (closes #27011)
Serhiy Storchaka [Thu, 12 May 2016 09:33:21 +0000 (12:33 +0300)]
Make bytes and bytearray subclass tests compatible with base types tests.
Serhiy Storchaka [Thu, 12 May 2016 07:37:58 +0000 (10:37 +0300)]
Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.
Serhiy Storchaka [Wed, 11 May 2016 19:25:05 +0000 (22:25 +0300)]
Removed duplicated NEWS entity for issue #26881.
Serhiy Storchaka [Wed, 11 May 2016 19:19:49 +0000 (22:19 +0300)]
Issue #26881: Restored the name of scan_opcodes_25().
It is better to not change this in bugfix release.
Steven D'Aprano [Wed, 11 May 2016 02:41:19 +0000 (12:41 +1000)]
NEWS message for issue #26977.
Steven D'Aprano [Wed, 11 May 2016 01:50:13 +0000 (11:50 +1000)]
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
Serhiy Storchaka [Tue, 10 May 2016 09:01:23 +0000 (12:01 +0300)]
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
Benjamin Peterson [Tue, 10 May 2016 06:43:53 +0000 (23:43 -0700)]
improve PyFunction_New docs (closes #26986)
Patch from Xiang Zhang.
Zachary Ware [Mon, 9 May 2016 19:49:31 +0000 (14:49 -0500)]
Issue #26987: Correct implementation to match comment
This was inadvertently changed in
644b677c2ae5 to use self._stderr
instead of _sys.stderr.
Serhiy Storchaka [Sun, 8 May 2016 21:11:59 +0000 (00:11 +0300)]
Issue #25745: Fixed leaking a userptr in curses panel destructor.
Serhiy Storchaka [Sun, 8 May 2016 20:43:50 +0000 (23:43 +0300)]
Issue #26881: The modulefinder module now supports extended opcode arguments.
Serhiy Storchaka [Sun, 8 May 2016 18:59:46 +0000 (21:59 +0300)]
Issue #26156: Make expressions grammar description more semantically correct.
Serhiy Storchaka [Sun, 8 May 2016 17:46:22 +0000 (20:46 +0300)]
Issue #23815: Fixed crashes related to directly created instances of types in
_tkinter and curses.panel modules.
Martin Panter [Sun, 8 May 2016 13:53:41 +0000 (13:53 +0000)]
Corrections for a/an in code comments and documentation
Martin Panter [Sun, 8 May 2016 13:48:10 +0000 (13:48 +0000)]
Fix typos in comments, documentation and test method names
Martin Panter [Sun, 8 May 2016 12:22:37 +0000 (12:22 +0000)]
Issue #26512: Clarify Integral; tidy up table of rounding functions
Based on patch by Julien.
Berker Peksag [Sat, 7 May 2016 13:58:41 +0000 (16:58 +0300)]
Fix self.fail() call in test_data_header
Berker Peksag [Sat, 7 May 2016 13:37:09 +0000 (16:37 +0300)]
Replace example.com with pythontest.net in test_urllibnet
example.com/404 returns 500 instead of 404 now.
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:49:07 +0000 (10:49 +0300)]
Issue #26736: Used HTTPS for external links in the documentation if possible.
Serhiy Storchaka [Sat, 7 May 2016 07:05:02 +0000 (10:05 +0300)]
Issue #26889: Fixed hyperlinks formatting.
Serhiy Storchaka [Sat, 7 May 2016 05:44:15 +0000 (08:44 +0300)]
Issue #26889: Tweaked xmlrpc.client documentation.
Terry Jan Reedy [Fri, 6 May 2016 21:35:05 +0000 (17:35 -0400)]
Issue 26912: fix broken imports in test_email package.
Terry Jan Reedy [Fri, 6 May 2016 19:57:57 +0000 (15:57 -0400)]
Issue 26911: fix import (other problems remain).
Berker Peksag [Wed, 4 May 2016 20:25:44 +0000 (23:25 +0300)]
Issue #26957: Remove duplicate 'the' from datetime documentation
Patch by Alex Chan.
Serhiy Storchaka [Wed, 4 May 2016 18:42:05 +0000 (21:42 +0300)]
Issue #26811: gc.get_objects() no longer contains a broken tuple with NULL
pointer.
Jason R. Coombs [Wed, 4 May 2016 15:57:32 +0000 (11:57 -0400)]
Issue #20120: Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.
Serhiy Storchaka [Wed, 4 May 2016 08:26:42 +0000 (11:26 +0300)]
Issue #26873: xmlrpc now raises ResponseError on unsupported type tags
instead of silently return incorrect result.
Serhiy Storchaka [Tue, 3 May 2016 18:17:03 +0000 (21:17 +0300)]
Issue #24950: Fixed expanduser tests when the users home directory in pwd is "/".
Based on patch by SilentGhost.
Terry Jan Reedy [Mon, 2 May 2016 22:30:02 +0000 (18:30 -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:04:59 +0000 (07:04 -0400)]
Upgrade ensurepip bundled setuptools to 20.10.1
Donald Stufft [Mon, 2 May 2016 11:03:46 +0000 (07:03 -0400)]
Upgrade ensurepip bundled setuptools to 20.10.1
Berker Peksag [Mon, 2 May 2016 09:25:35 +0000 (12:25 +0300)]
Issue #18916: Update thread module docstrings
* Fix acquire() signature
* Remove outdated help(LockType) reference
* Replace PyThread_allocate_lock() with threading.Lock()
Patch by Christopher Welborn.
Serhiy Storchaka [Sun, 1 May 2016 17:33:24 +0000 (20:33 +0300)]
Regenerate Argument Clinic code for issue #26874.
Ethan Furman [Sun, 1 May 2016 17:03:53 +0000 (10:03 -0700)]
issue26893: use mro() to examine class heirarchy
Serhiy Storchaka [Sun, 1 May 2016 10:36:16 +0000 (13:36 +0300)]
Issue #26711: Fixed the comparison of plistlib.Data with other types.
Serhiy Storchaka [Sun, 1 May 2016 10:06:43 +0000 (13:06 +0300)]
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
Berker Peksag [Sun, 1 May 2016 08:27:37 +0000 (11:27 +0300)]
Issue #26898: Fix typo in math.isclose() docstring
Patch by Marco Buttu.
Berker Peksag [Sun, 1 May 2016 06:06:36 +0000 (09:06 +0300)]
Issue #23960: Cleanup args and kwargs on error in PyErr_SetImportError
Patch by Ofer Schwarz.
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.
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.
Berker Peksag [Fri, 29 Apr 2016 14:25:29 +0000 (17:25 +0300)]
Issue #25551: Test condition behavior instead of its internals
test_reset_internal_locks was looking at Event's _cond._lock. This
makes it harder to change internals of the Condition object and
makes the test fragile.
The test was added by Nir Soffer in
6108d30dde21 .
Patch by Nir Soffer.
Berker Peksag [Fri, 29 Apr 2016 11:41:16 +0000 (14:41 +0300)]
Issue #26322: Document typing.Set, patch by Joseph Moran
Serhiy Storchaka [Fri, 29 Apr 2016 06:10:55 +0000 (09:10 +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:47:12 +0000 (14:47 -0500)]
Issue #26875: Fix mmap example
Patch by Xiang Zhang.
Zachary Ware [Thu, 28 Apr 2016 19:39:50 +0000 (14:39 -0500)]
Issue #26874: Simplify the divmod docstring
Zachary Ware [Thu, 28 Apr 2016 19:24:55 +0000 (14:24 -0500)]
Issue #26874: Fix divmod docstring
Serhiy Storchaka [Wed, 27 Apr 2016 20:06:15 +0000 (23:06 +0300)]
fileinput.hook_encoded() uses builtin open(), not codecs.open().
Martin Panter [Tue, 26 Apr 2016 11:41:25 +0000 (11:41 +0000)]
Issue #20598: Replace trivial split() calls with lists in argparse docs
Raymond Hettinger [Tue, 26 Apr 2016 08:11:10 +0000 (01:11 -0700)]
Issue #24715: Improve sort stability example
Serhiy Storchaka [Tue, 26 Apr 2016 06:30:44 +0000 (09:30 +0300)]
Issue #26634: recursive_repr() now sets __qualname__ of wrapper.
Patch by Xiang Zhang.
Senthil Kumaran [Mon, 25 Apr 2016 15:16:23 +0000 (08:16 -0700)]
Issue #26804: urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
Zachary Ware [Mon, 25 Apr 2016 14:27:27 +0000 (09:27 -0500)]
FileExistsError is raised by mkdir when dir exists
Reported by Saul Spatz on docs@
Berker Peksag [Mon, 25 Apr 2016 11:32:19 +0000 (14:32 +0300)]
Issue #23662: Document default value of RFC 2109 attributes
Serhiy Storchaka [Mon, 25 Apr 2016 05:58:25 +0000 (08:58 +0300)]
Issue #26837: assertSequenceEqual() now correctly outputs non-stringified
differing items (like bytes in the -b mode). This affects assertListEqual()
and assertTupleEqual().
Serhiy Storchaka [Sun, 24 Apr 2016 20:50:18 +0000 (23:50 +0300)]
Remove duplicated tests.
There were duplicated methods with the same name and body.
Serhiy Storchaka [Sun, 24 Apr 2016 06:58:43 +0000 (09:58 +0300)]
Issue #26801: shutil.get_terminal_size() now handles the case of stdout is
reopened on Windows. Added tests for fallbacks.
Martin Panter [Sun, 24 Apr 2016 04:24:36 +0000 (04:24 +0000)]
Issue #24911: All socket objects are context managers; update examples
Martin Panter [Sun, 24 Apr 2016 04:06:15 +0000 (04:06 +0000)]
Issue #23806: Update susp-ignored.csv
Berker Peksag [Sun, 24 Apr 2016 00:32:24 +0000 (03:32 +0300)]
Issue #26041: Remove "will be removed in Python 3.7" from description messages
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
Berker Peksag [Sun, 24 Apr 2016 00:21:13 +0000 (03:21 +0300)]
Issue #19731: Update copyright year in docs.p.o footer
See https://mail.python.org/pipermail/python-legal-sig/2013-November/000059.html
for details.
Patch by Antoine Pitrou.
Berker Peksag [Sun, 24 Apr 2016 00:13:40 +0000 (03:13 +0300)]
Issue #18572: Remove redundant note about surrogates in string escape doc
Berker Peksag [Sun, 24 Apr 2016 00:06:44 +0000 (03:06 +0300)]
Issue #18353: Remove PyUnicode_WRITE_CHAR macro link from c-api/unicode.rst
Patch by Corey Brune.
Berker Peksag [Sat, 23 Apr 2016 23:59:16 +0000 (02:59 +0300)]
Issue #21382: Clarify signal.signal() documentation on Windows
All signal.SIG* constants may not be defined on Windows so a call like
signal.signal(signal.SIGPIPE, lambda signum, frame: sys.exit(1))
will raise an AttributeError.
Berker Peksag [Sat, 23 Apr 2016 22:51:02 +0000 (01:51 +0300)]
Issue #20112: Improve BaseHTTPRequestHandler.error_message_format documentation
* Explain how 'error_message_format' is used by 'send_error' method
* Mention that 'responses' is used by 'send_response_only' and 'send_error' methods
* Replace 'class variables' with 'attributes'
Initial patch by Anastasia Filatova.
Serhiy Storchaka [Sat, 23 Apr 2016 07:51:39 +0000 (10:51 +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)
Serhiy Storchaka [Sat, 23 Apr 2016 06:23:52 +0000 (09:23 +0300)]
Issue #26733: Disassembling a class now disassembles class and static methods.
Patch by Xiang Zhang.
Senthil Kumaran [Sat, 23 Apr 2016 03:34:42 +0000 (20:34 -0700)]
Issue23806 - Document the no_proxy environment variable in Python 3 docs.
Martin Panter [Sat, 23 Apr 2016 00:58:44 +0000 (00:58 +0000)]
Issue #22359: Disable running cross-compiled _freeze_importlib and pgen
Patch by Xavier de Gaye.
Victor Stinner [Wed, 20 Apr 2016 16:26:12 +0000 (18:26 +0200)]
gdb/libpython.py: inline _type_void_ptr()
The function was only called in _sizeof_void_p()
Victor Stinner [Wed, 20 Apr 2016 16:23:49 +0000 (18:23 +0200)]
Issue #26799: Fix typo in Misc/NEWS
Victor Stinner [Wed, 20 Apr 2016 16:07:21 +0000 (18:07 +0200)]
python-gdb.py: get C types at runtime
Issue #26799: Fix python-gdb.py: don't get once C types when the Python code
is loaded, but get C types on demande. 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
Victor Stinner [Tue, 19 Apr 2016 22:30:14 +0000 (00:30 +0200)]
Backport test_gdb fix for s390x buildbots
Paul Moore [Tue, 19 Apr 2016 18:17:16 +0000 (19:17 +0100)]
Mention types.SimpleNamespace in collections.namedtuple doc
Issue #26805.
Victor Stinner [Tue, 19 Apr 2016 20:24:56 +0000 (22:24 +0200)]
Fix shutil.get_terminal_size() error handling
Issue #26801: Fix error handling in shutil.get_terminal_size(), catch
AttributeError instead of NameError. Patch written by Emanuel Barry.
test_shutil: skip the functional test using "stty size" command if
os.get_terminal_size() is missing.
Jesus Cea [Tue, 19 Apr 2016 19:50:19 +0000 (21:50 +0200)]
Trivial typo