]> granicus.if.org Git - python/log
python
8 years agoIssue #28526: Use PyUnicode_AsEncodedString() instead of
Serhiy Storchaka [Thu, 27 Oct 2016 16:33:22 +0000 (19:33 +0300)]
Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.

8 years agoIssue #28526: Use PyUnicode_AsEncodedString() instead of
Serhiy Storchaka [Thu, 27 Oct 2016 16:33:05 +0000 (19:33 +0300)]
Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.

8 years agoIssue #28526: Use PyUnicode_AsEncodedString() instead of
Serhiy Storchaka [Thu, 27 Oct 2016 16:31:49 +0000 (19:31 +0300)]
Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.

8 years agoIssue #28509: dict.update() no longer allocate unnecessary large memory
INADA Naoki [Thu, 27 Oct 2016 10:30:10 +0000 (19:30 +0900)]
Issue #28509: dict.update() no longer allocate unnecessary large memory

8 years agoIssue #28509: dict.update() no longer allocate unnecessary large memory
INADA Naoki [Thu, 27 Oct 2016 10:26:50 +0000 (19:26 +0900)]
Issue #28509: dict.update() no longer allocate unnecessary large memory

8 years agoRemove unused suspicious rules
Zachary Ware [Wed, 26 Oct 2016 02:49:19 +0000 (21:49 -0500)]
Remove unused suspicious rules

8 years agoMerge from 3.6
Zachary Ware [Wed, 26 Oct 2016 02:48:29 +0000 (21:48 -0500)]
Merge from 3.6

8 years agoIgnore harmless suspicious markup
Zachary Ware [Wed, 26 Oct 2016 02:43:41 +0000 (21:43 -0500)]
Ignore harmless suspicious markup

8 years agoMerge from 3.6
Zachary Ware [Wed, 26 Oct 2016 02:36:48 +0000 (21:36 -0500)]
Merge from 3.6

8 years agoMerge from 3.5
Zachary Ware [Wed, 26 Oct 2016 02:36:13 +0000 (21:36 -0500)]
Merge from 3.5

8 years agoFix default role usage
Zachary Ware [Wed, 26 Oct 2016 02:35:22 +0000 (21:35 -0500)]
Fix default role usage

8 years agoIssue #25002: Back out asyncore/asynchat deprecation. (3.6->3.7)
Guido van Rossum [Wed, 26 Oct 2016 01:43:21 +0000 (18:43 -0700)]
Issue #25002: Back out asyncore/asynchat deprecation. (3.6->3.7)

8 years agoIssue #25002: Back out asyncore/asynchat deprecation.
Guido van Rossum [Wed, 26 Oct 2016 01:42:51 +0000 (18:42 -0700)]
Issue #25002: Back out asyncore/asynchat deprecation.

8 years agoIssue #26240: Merge subprocess doc string from 3.6
Martin Panter [Wed, 26 Oct 2016 00:26:38 +0000 (00:26 +0000)]
Issue #26240: Merge subprocess doc string from 3.6

8 years agoIssue #26240: Merge subprocess doc string from 3.5 into 3.6
Martin Panter [Tue, 25 Oct 2016 23:41:42 +0000 (23:41 +0000)]
Issue #26240: Merge subprocess doc string from 3.5 into 3.6

8 years agoIssue #26240: Clean up the subprocess module doc string
Martin Panter [Tue, 25 Oct 2016 22:20:48 +0000 (22:20 +0000)]
Issue #26240: Clean up the subprocess module doc string

Patch by Tim Mitchell.

8 years agoIssue #28333: Fixes off-by-one error that was adding an extra space.
Steve Dower [Tue, 25 Oct 2016 18:52:09 +0000 (11:52 -0700)]
Issue #28333: Fixes off-by-one error that was adding an extra space.

8 years agoIssue #28333: Fixes off-by-one error that was adding an extra space.
Steve Dower [Tue, 25 Oct 2016 18:51:54 +0000 (11:51 -0700)]
Issue #28333: Fixes off-by-one error that was adding an extra space.

8 years agoNull merge
Serhiy Storchaka [Tue, 25 Oct 2016 17:20:29 +0000 (20:20 +0300)]
Null merge

8 years agoNull merge
Serhiy Storchaka [Tue, 25 Oct 2016 17:20:09 +0000 (20:20 +0300)]
Null merge

8 years agoIssue #28353: Fixed tests of os.fwalk() with broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 17:18:31 +0000 (20:18 +0300)]
Issue #28353: Fixed tests of os.fwalk() with broken links.

8 years agoIssue #28107: Update typing module documentation for NamedTuple (Ivan) (3.6->3.7)
Guido van Rossum [Tue, 25 Oct 2016 16:54:11 +0000 (09:54 -0700)]
Issue #28107: Update typing module documentation for NamedTuple (Ivan) (3.6->3.7)

8 years agoIssue #28107: Update typing module documentation for NamedTuple (Ivan)
Guido van Rossum [Tue, 25 Oct 2016 16:53:11 +0000 (09:53 -0700)]
Issue #28107: Update typing module documentation for NamedTuple (Ivan)

8 years agoIssue #28353: Try to fix tests.
Serhiy Storchaka [Tue, 25 Oct 2016 16:03:27 +0000 (19:03 +0300)]
Issue #28353: Try to fix tests.

8 years agoIssue #28353: Try to fix tests.
Serhiy Storchaka [Tue, 25 Oct 2016 16:01:41 +0000 (19:01 +0300)]
Issue #28353: Try to fix tests.

8 years agoIssue 25002: Deprecate asyncore/asynchat. Patch by Mariatta. (3.6->3.7)
Guido van Rossum [Tue, 25 Oct 2016 15:49:48 +0000 (08:49 -0700)]
Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta. (3.6->3.7)

8 years agoIssue 25002: Deprecate asyncore/asynchat. Patch by Mariatta.
Guido van Rossum [Tue, 25 Oct 2016 15:49:13 +0000 (08:49 -0700)]
Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta.

8 years agoIssue #27275: Fixed implementation of pop() and popitem() methods in
Serhiy Storchaka [Tue, 25 Oct 2016 12:38:28 +0000 (15:38 +0300)]
Issue #27275: Fixed implementation of pop() and popitem() methods in
subclasses of accelerated OrderedDict.

8 years agoIssue #27275: Fixed implementation of pop() and popitem() methods in
Serhiy Storchaka [Tue, 25 Oct 2016 12:36:56 +0000 (15:36 +0300)]
Issue #27275: Fixed implementation of pop() and popitem() methods in
subclasses of accelerated OrderedDict.

8 years agoIssue #27275: Fixed implementation of pop() and popitem() methods in
Serhiy Storchaka [Tue, 25 Oct 2016 12:33:23 +0000 (15:33 +0300)]
Issue #27275: Fixed implementation of pop() and popitem() methods in
subclasses of accelerated OrderedDict.

8 years agoIssue #28255: calendar.TextCalendar.prweek() no longer prints a space after
Serhiy Storchaka [Tue, 25 Oct 2016 12:20:58 +0000 (15:20 +0300)]
Issue #28255: calendar.TextCalendar.prweek() no longer prints a space after
a weeks's calendar.  calendar.TextCalendar.pryear() no longer prints redundant
newline after a year's calendar.  Based on patch by Xiang Zhang.

8 years agoIssue #28255: calendar.TextCalendar().prmonth() no longer prints a space
Serhiy Storchaka [Tue, 25 Oct 2016 12:03:59 +0000 (15:03 +0300)]
Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
at the start of new line after printing a month's calendar.  Patch by
Xiang Zhang.

8 years agoIssue #28255: calendar.TextCalendar().prmonth() no longer prints a space
Serhiy Storchaka [Tue, 25 Oct 2016 12:02:36 +0000 (15:02 +0300)]
Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
at the start of new line after printing a month's calendar.  Patch by
Xiang Zhang.

8 years agoIssue #28255: calendar.TextCalendar().prmonth() no longer prints a space
Serhiy Storchaka [Tue, 25 Oct 2016 12:00:52 +0000 (15:00 +0300)]
Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
at the start of new line after printing a month's calendar.  Patch by
Xiang Zhang.

8 years agoIssue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Serhiy Storchaka [Tue, 25 Oct 2016 11:47:53 +0000 (14:47 +0300)]
Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Based on patch by Kaarle Ritvanen.

8 years agoIssue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Serhiy Storchaka [Tue, 25 Oct 2016 11:46:44 +0000 (14:46 +0300)]
Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Based on patch by Kaarle Ritvanen.

8 years agoIssue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Serhiy Storchaka [Tue, 25 Oct 2016 11:44:54 +0000 (14:44 +0300)]
Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Based on patch by Kaarle Ritvanen.

8 years agoIssue #28353: os.fwalk() no longer fails on broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 11:35:18 +0000 (14:35 +0300)]
Issue #28353: os.fwalk() no longer fails on broken links.

8 years agoIssue #28353: os.fwalk() no longer fails on broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 11:34:38 +0000 (14:34 +0300)]
Issue #28353: os.fwalk() no longer fails on broken links.

8 years agoIssue #28353: os.fwalk() no longer fails on broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 11:28:38 +0000 (14:28 +0300)]
Issue #28353: os.fwalk() no longer fails on broken links.

8 years agoNull merge
Serhiy Storchaka [Tue, 25 Oct 2016 10:48:04 +0000 (13:48 +0300)]
Null merge

8 years agoMerge heads
Serhiy Storchaka [Tue, 25 Oct 2016 10:47:55 +0000 (13:47 +0300)]
Merge heads

8 years agoMerge heads
Serhiy Storchaka [Tue, 25 Oct 2016 10:47:41 +0000 (13:47 +0300)]
Merge heads

8 years agoIssue #28408: Fixed a leak and remove redundant code in _PyUnicodeWriter_Finish().
Serhiy Storchaka [Tue, 25 Oct 2016 10:25:04 +0000 (13:25 +0300)]
Issue #28408: Fixed a leak and remove redundant code in _PyUnicodeWriter_Finish().
Patch by Xiang Zhang.

8 years agoIssue #28408: Fixed a leak and remove redundant code in _PyUnicodeWriter_Finish().
Serhiy Storchaka [Tue, 25 Oct 2016 10:23:56 +0000 (13:23 +0300)]
Issue #28408: Fixed a leak and remove redundant code in _PyUnicodeWriter_Finish().
Patch by Xiang Zhang.

8 years agoIssue #28430: Fix iterator of C implemented asyncio.Future doesn't
INADA Naoki [Tue, 25 Oct 2016 10:11:40 +0000 (19:11 +0900)]
Issue #28430: Fix iterator of C implemented asyncio.Future doesn't
accept non-None value is passed to it.send(val).

8 years agoIssue #28430: Fix iterator of C implemented asyncio.Future doesn't
INADA Naoki [Tue, 25 Oct 2016 10:00:45 +0000 (19:00 +0900)]
Issue #28430: Fix iterator of C implemented asyncio.Future doesn't
accept non-None value is passed to it.send(val).

8 years agoIssue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().
Serhiy Storchaka [Tue, 25 Oct 2016 07:38:07 +0000 (10:38 +0300)]
Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().

8 years agoIssue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().
Serhiy Storchaka [Tue, 25 Oct 2016 07:37:55 +0000 (10:37 +0300)]
Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().

8 years agoIssue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().
Serhiy Storchaka [Tue, 25 Oct 2016 07:37:01 +0000 (10:37 +0300)]
Issue #28314: Added tests for xml.etree.ElementTree.Element.getiterator().

8 years agoIssue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
Serhiy Storchaka [Tue, 25 Oct 2016 07:18:16 +0000 (10:18 +0300)]
Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.

8 years agoIssue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
Serhiy Storchaka [Tue, 25 Oct 2016 07:17:33 +0000 (10:17 +0300)]
Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.

8 years agoIssue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
Serhiy Storchaka [Tue, 25 Oct 2016 07:13:43 +0000 (10:13 +0300)]
Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.

8 years agoIssue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.
Serhiy Storchaka [Tue, 25 Oct 2016 07:07:51 +0000 (10:07 +0300)]
Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.

8 years agoIssue #27025: Generated names for Tkinter widgets now start by the "!" prefix
Serhiy Storchaka [Tue, 25 Oct 2016 06:46:46 +0000 (09:46 +0300)]
Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix
for readability (was "`").

8 years agoIssue #27025: Generated names for Tkinter widgets now start by the "!" prefix
Serhiy Storchaka [Tue, 25 Oct 2016 06:43:48 +0000 (09:43 +0300)]
Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix
for readability (was "`").

8 years agoIssue #28517: Fixed of-by-one error in the peephole optimizer that caused
Serhiy Storchaka [Tue, 25 Oct 2016 06:32:04 +0000 (09:32 +0300)]
Issue #28517: Fixed of-by-one error in the peephole optimizer that caused
keeping unreachable code.

8 years agoIssue #28517: Fixed of-by-one error in the peephole optimizer that caused
Serhiy Storchaka [Tue, 25 Oct 2016 06:30:43 +0000 (09:30 +0300)]
Issue #28517: Fixed of-by-one error in the peephole optimizer that caused
keeping unreachable code.

8 years agomerge 3.6 (#28525)
Benjamin Peterson [Tue, 25 Oct 2016 06:00:27 +0000 (23:00 -0700)]
merge 3.6 (#28525)

8 years agomerge 3.5 (#28525)
Benjamin Peterson [Tue, 25 Oct 2016 06:00:18 +0000 (23:00 -0700)]
merge 3.5 (#28525)

8 years agofix name of keyword parameter to gc.collect() (closes #28525)
Benjamin Peterson [Tue, 25 Oct 2016 06:00:03 +0000 (23:00 -0700)]
fix name of keyword parameter to gc.collect() (closes #28525)

Patch from vierja.

8 years agoIssue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
Serhiy Storchaka [Mon, 24 Oct 2016 20:49:51 +0000 (23:49 +0300)]
Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
a workaround to Tix library bug.

8 years agoIssue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
Serhiy Storchaka [Mon, 24 Oct 2016 20:49:10 +0000 (23:49 +0300)]
Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
a workaround to Tix library bug.

8 years agoIssue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
Serhiy Storchaka [Mon, 24 Oct 2016 20:47:28 +0000 (23:47 +0300)]
Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin
a workaround to Tix library bug.

8 years agomerge
Raymond Hettinger [Mon, 24 Oct 2016 14:32:23 +0000 (07:32 -0700)]
merge

8 years agoIssue #5830: Remove old comment. Add empty slots.
Raymond Hettinger [Mon, 24 Oct 2016 14:31:55 +0000 (07:31 -0700)]
Issue #5830:  Remove old comment.  Add empty slots.

8 years agoNull merge
Serhiy Storchaka [Mon, 24 Oct 2016 11:53:58 +0000 (14:53 +0300)]
Null merge

8 years agoMerge heads
Serhiy Storchaka [Mon, 24 Oct 2016 11:53:36 +0000 (14:53 +0300)]
Merge heads

8 years agoMerge heads
Serhiy Storchaka [Mon, 24 Oct 2016 11:53:25 +0000 (14:53 +0300)]
Merge heads

8 years agoMerge 3.6 (asyncio)
Yury Selivanov [Mon, 24 Oct 2016 02:35:29 +0000 (22:35 -0400)]
Merge 3.6 (asyncio)

8 years agoasyncio: Increase asyncio.Future test coverage; test both implementations.
Yury Selivanov [Mon, 24 Oct 2016 02:34:35 +0000 (22:34 -0400)]
asyncio: Increase asyncio.Future test coverage; test both implementations.

Also, add 'isfuture' to 'asyncio.futures.__all__', so that it's
exposed as 'asyncio.isfuture'.

8 years agoSome distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:58:23 +0000 (22:58 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.

8 years agoSome distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:58:06 +0000 (22:58 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.

8 years agoSome distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:56:14 +0000 (22:56 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.

8 years agoIssue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 19:33:12 +0000 (22:33 +0300)]
Issue #28115: ZIP creation test requires zlib.

8 years agoIssue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 19:32:48 +0000 (22:32 +0300)]
Issue #28115: ZIP creation test requires zlib.

8 years agoIssue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 19:32:30 +0000 (22:32 +0300)]
Issue #28115: ZIP creation test requires zlib.

8 years agoIssue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
Serhiy Storchaka [Sun, 23 Oct 2016 12:58:10 +0000 (15:58 +0300)]
Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.

8 years agoIssue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
Serhiy Storchaka [Sun, 23 Oct 2016 12:57:42 +0000 (15:57 +0300)]
Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.

8 years agoIssue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
Serhiy Storchaka [Sun, 23 Oct 2016 12:55:09 +0000 (15:55 +0300)]
Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.

8 years agoIssue #28439: Remove redundant checks in PyUnicode_EncodeLocale and
Serhiy Storchaka [Sun, 23 Oct 2016 12:41:36 +0000 (15:41 +0300)]
Issue #28439: Remove redundant checks in PyUnicode_EncodeLocale and
PyUnicode_DecodeLocaleAndSize.  Patch by Xiang Zhang.

8 years agoIssue #28469: timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead
Serhiy Storchaka [Sun, 23 Oct 2016 12:17:05 +0000 (15:17 +0300)]
Issue #28469: timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead
of 1, 10, 100,... for autoranging.

8 years agoIssue #28511: Use the "U" format instead of "O!" in PyArg_Parse*.
Serhiy Storchaka [Sun, 23 Oct 2016 12:12:25 +0000 (15:12 +0300)]
Issue #28511: Use the "U" format instead of "O!" in PyArg_Parse*.

8 years agoIssue #28115: Command-line interface of the zipfile module now uses argparse.
Serhiy Storchaka [Sun, 23 Oct 2016 10:32:12 +0000 (13:32 +0300)]
Issue #28115: Command-line interface of the zipfile module now uses argparse.
Added support of long options.

8 years agoIssue #28115: Added tests for CLI of the zipfile module.
Serhiy Storchaka [Sun, 23 Oct 2016 10:14:27 +0000 (13:14 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.

8 years agoIssue #28115: Added tests for CLI of the zipfile module.
Serhiy Storchaka [Sun, 23 Oct 2016 10:12:39 +0000 (13:12 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.

8 years agoIssue #28115: Added tests for CLI of the zipfile module.
Serhiy Storchaka [Sun, 23 Oct 2016 10:07:59 +0000 (13:07 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.

8 years agoIssue #25953: re.sub() now raises an error for invalid numerical group
Serhiy Storchaka [Sun, 23 Oct 2016 09:12:05 +0000 (12:12 +0300)]
Issue #25953: re.sub() now raises an error for invalid numerical group
reference in replacement template even if the pattern is not found in
the string.  Error message for invalid group reference now includes the
group index and the position of the reference.
Based on patch by SilentGhost.

8 years agoIssue #25953: re.sub() now raises an error for invalid numerical group
Serhiy Storchaka [Sun, 23 Oct 2016 09:11:19 +0000 (12:11 +0300)]
Issue #25953: re.sub() now raises an error for invalid numerical group
reference in replacement template even if the pattern is not found in
the string.  Error message for invalid group reference now includes the
group index and the position of the reference.
Based on patch by SilentGhost.

8 years agoIssue #28510: Clean up decoding error handlers.
Serhiy Storchaka [Sun, 23 Oct 2016 06:44:50 +0000 (09:44 +0300)]
Issue #28510: Clean up decoding error handlers.

Since PyUnicodeDecodeError_GetObject() always returns bytes, following
PyBytes_AsString() can be replaced with PyBytes_AS_STRING().

8 years agoIssue #28504: Cleanup unicode_decode_call_errorhandler_wchar/writer.
Serhiy Storchaka [Sat, 22 Oct 2016 20:18:31 +0000 (23:18 +0300)]
Issue #28504: Cleanup unicode_decode_call_errorhandler_wchar/writer.
Patch by Xiang Zhang.

8 years agoReference the original compact-and-ordered proposal
Raymond Hettinger [Sat, 22 Oct 2016 16:58:14 +0000 (09:58 -0700)]
Reference the original compact-and-ordered proposal

8 years agoIssue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function...
Guido van Rossum [Sat, 22 Oct 2016 14:57:24 +0000 (07:57 -0700)]
Issue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L. (3.6->3.7)

8 years agoIssue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function...
Guido van Rossum [Sat, 22 Oct 2016 14:56:58 +0000 (07:56 -0700)]
Issue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L. (3.5->3.6)

8 years agoIssue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function...
Guido van Rossum [Sat, 22 Oct 2016 14:55:18 +0000 (07:55 -0700)]
Issue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L.

8 years agoIssue #28435: Merge urllib test fixes from 3.6
Martin Panter [Sat, 22 Oct 2016 03:21:55 +0000 (03:21 +0000)]
Issue #28435: Merge urllib test fixes from 3.6

8 years agoIssue #28435: Merge urllib test fixes from 3.5 into 3.6
Martin Panter [Sat, 22 Oct 2016 03:21:36 +0000 (03:21 +0000)]
Issue #28435: Merge urllib test fixes from 3.5 into 3.6

8 years agoIssue #28435: Avoid no_proxy environment variable interfering with tests
Martin Panter [Sat, 22 Oct 2016 01:42:06 +0000 (01:42 +0000)]
Issue #28435: Avoid no_proxy environment variable interfering with tests

Patch by Piotr Szczepaniak.

8 years agoIssue #26620: Fix ResourceWarning in test_urllib2_localnet
Martin Panter [Sat, 22 Oct 2016 01:28:21 +0000 (01:28 +0000)]
Issue #26620: Fix ResourceWarning in test_urllib2_localnet

* Use context manager on urllib objects to ensure that they are closed on error
* Use self.addCleanup() to cleanup resources even if a test is interrupted
  with CTRL+c

This backports a patch by Victor Stinner.

8 years agoTwo minor typing.py fixes (upstream #305) (3.6->3.7)
Guido van Rossum [Sat, 22 Oct 2016 00:30:31 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305) (3.6->3.7)