[issue30495] IDLE: modernize textview module

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2156

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:

> yes, i am on it

Nick, have you been able to find what the problem is? If not, we'll need to 
pull this change out of 3.6.2.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:

> > yes, i am on it

> Nick, have you been able to find what the problem is? If not, we'll need to 
> pull this change out of 3.6.2.

It's interesting to see how `_process_write_backlog` gets called after 
`_finalize`. One option would be to simply guard `transport.write` with `if 
transport is not None`, but I'm afraid that we'll only mask the bug then.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:

> It's interesting to see how `_process_write_backlog` gets called after 
> `_finalize`. One option would be to simply guard `transport.write` with `if 
> transport is not None`, but I'm afraid that we'll only mask the bug then.

OTOH we weren't setting the transport to None before, we were just closing it. 
Is setting it to None really necessary?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30626] "SystemError: returned NULL without setting an error" from open function

2017-06-11 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +2157

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30626] "SystemError: returned NULL without setting an error" from open function

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

In rare circumstances PyImport_Import() could return NULL without raising an 
error.

It *isn't* fixed in 3.7.

--
stage: needs patch -> patch review
versions: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30495] IDLE: modernize textview module

2017-06-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset f3156f8f5cfb820c7deac05beba9f51ec51c by terryjreedy in branch 
'3.6':
bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names (#1839) 
(#2102)
https://github.com/python/cpython/commit/f3156f8f5cfb820c7deac05beba9f51ec51c


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29919] Remove unused imports found by pyflakes

2017-06-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I will backport idlelib changes that apply.

--
assignee:  -> terry.reedy
nosy: +terry.reedy
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29919] Remove unused imports found by pyflakes

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2158

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30144] Import collections ABC from collections.abc rather than collections

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2159

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29919] Remove unused imports found by pyflakes

2017-06-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset c6696feb09a8cf13e13e42ed9cc0b8c2e8795800 by terryjreedy in branch 
'3.6':
[3.6] bpo-29919 Remove unused imports from idlelib [GH-137] (#2105)
https://github.com/python/cpython/commit/c6696feb09a8cf13e13e42ed9cc0b8c2e8795800


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29919] Remove unused imports found by pyflakes

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
type:  -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30022] Get rid of using EnvironmentError and IOError

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2160

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30144] Import collections ABC from collections.abc rather than collections

2017-06-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset a13225e209cfa5f7b458dbcbac19dc4df26feb95 by terryjreedy in branch 
'3.6':
[3.6]bpo-30144: change idlelib abc import [GH-1263] (#2106)
https://github.com/python/cpython/commit/a13225e209cfa5f7b458dbcbac19dc4df26feb95


--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28180] sys.getfilesystemencoding() should default to utf-8

2017-06-11 Thread STINNER Victor

STINNER Victor added the comment:

Tests fail on many buildbots.

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30144] Import collections ABC from collections.abc rather than collections

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
assignee:  -> terry.reedy
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30624] selectors should use bare except clauses

2017-06-11 Thread STINNER Victor

STINNER Victor added the comment:

Serhiy Storchaka added the comment:

Look also at KqueueSelector.modify(). And the mentioning of SystemError in
Misc/NEWS is wrong, it is a subclass of Exception.

I guess that he means SystemExit ;-)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30022] Get rid of using EnvironmentError and IOError

2017-06-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 59422a29ee3a95866c4f7e037bdfffd5768afddd by terryjreedy in branch 
'3.6':
[3.6]bpo-30022: idlelib.run IOError -> OSError [GH-1051] (#2107)
https://github.com/python/cpython/commit/59422a29ee3a95866c4f7e037bdfffd5768afddd


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30624] selectors should use bare except clauses

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

My apologies. The Misc/NEWS entry is correct. But only 2 of 3 "except 
Exception" are fixed.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30022] Get rid of using EnvironmentError and IOError

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
assignee:  -> terry.reedy
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30609] Python 3.6.1 fails to generate 256 colors on Cygwin based 64-bit Windows 10

2017-06-11 Thread Richard S. Gordon

Richard S. Gordon added the comment:

> On Jun 10, 2017, at 4:28 AM, Richard S. Gordon  wrote:
> 
> 
>> On Jun 9, 2017, at 4:59 PM, Richard S. Gordon > > wrote:
>> 
>> 
>> Richard S. Gordon added the comment:
>> 
>>> On Jun 9, 2017, at 4:41 PM, STINNER Victor >> > wrote:
>>> 
>>> 
>>> STINNER Victor added the comment:
>>> 
>>> Cygwin is not currently supported by CPython, so I suggest to close this
>>> issue. I mean: please report the issue to Cygwin, not CPython.
>>> 
>>> --
>>> 
>>> ___
>>> Python tracker mailto:rep...@bugs.python.org>>
>>> >
>>> ___
>> 
>> Before you close this issue, answer how do you explain my success in running 
>> my wxPython emulation on all Cygwin releases since 2007 (Python 2.6.8) to 
>> 2017 (2.7.13 and Python 3.0-3.5.2 and 3.6.0-3.6.2)?
>> 
>> Richard S. Gordon
>> 
>> --
>> 
>> ___
>> Python tracker mailto:rep...@bugs.python.org>>
>> >
>> ___
> 
> FYI:
> 
> My current test platform is a 27” iMAC (with 3.5 GHz Intel Core i7, 16 GB 
> 1600 MHz DDR3) running Mac OS 10.12.5 (Sierra). It includes support for 
> Python 3.6.0. It uses the Parallels Desktop 12 for Mac (a hypervisor) to run 
> the following guest operating system:
> Android 4,
> Linux (CentOS 7.2 & 7.3, Debian 8.7 & 8.8, Fedora 24 &25, OpenSUSE 13.2, 
> Scientific 7.2 & 7.3, Ubuntu 16.04 & 17.04)
> Solaris (OpenIndians Hipster 1610)
> Unix (PCDBSD 10.3 & TrueOS 12.0)
> Windows (10 32-bit, 10 64-bit) (NOTE: previously ran 32-bit XP, 7 and 8.1)
> Only Windows 10, with Cygwin, includes support for Python 3.6.1 and support 
> for xterm, xterm-16color and xterm-256olor. The other Guest Operating Systems 
> typically support 3.4.x or 3.5.x with xterm (8-color).
> 
> Richard S. Gordon

Fixing this Python 3.6.1 issue will probably require modification to the Python 
curse stdlib. Here is the ncurses 6.0 author’s description of the notable 
changes that he made
to ncurses 5.x in order to produce ncurses 6.0 (excerpted from: 
http://invisible-island.net/ncurses/announce.html):
Extend the cchar_t structure to allow more than 16 colors to be encoded.
Modify the encoding of mouse state to make room for a 5th mouse button. That 
allows one to use ncurses with a wheel mouse with xterm or similar X terminal 
emulators.
Richard S. Gordon

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11822] Improve disassembly to show embedded code objects

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 1efbf92e90ed2edf3f5bb5323340b26f318ff61e by Serhiy Storchaka in 
branch 'master':
bpo-11822: Improve disassembly to show embedded code objects. (#1844)
https://github.com/python/cpython/commit/1efbf92e90ed2edf3f5bb5323340b26f318ff61e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11822] Improve disassembly to show embedded code objects

2017-06-11 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30609] Python 3.6.1 fails to generate 256 colors on Cygwin based 64-bit Windows 10

2017-06-11 Thread Richard S. Gordon

Richard S. Gordon added the comment:

Clarification:
The suggested fix to the Python 3.6.1 curses stdlib should only be applied to 
those 64-bit platform version used with 64-bit ncurses 6.0.
It should NOT apply to the Python 3.6.1 curses stdlib applied to those 32-bit 
platforms used with 32-bit ncurses 6.0, because the 32-bit ncurses 6.0 API is 
backwards compatible to the 32-bit ncurses 5.x API.

> On Jun 11, 2017, at 6:39 AM, Richard S. Gordon  > wrote:
> 
> 
> Richard S. Gordon added the comment:
> 
>> On Jun 10, 2017, at 4:28 AM, Richard S. Gordon > > wrote:
>> 
>> 
>>> On Jun 9, 2017, at 4:59 PM, Richard S. Gordon >>  >> >> wrote:
>>> 
>>> 
>>> Richard S. Gordon added the comment:
>>> 
 On Jun 9, 2017, at 4:41 PM, STINNER Victor >>>  >> wrote:
 
 
 STINNER Victor added the comment:
 
 Cygwin is not currently supported by CPython, so I suggest to close this
 issue. I mean: please report the issue to Cygwin, not CPython.
 
 --
 
 ___
 Python tracker mailto:rep...@bugs.python.org> 
 >>
  
 >>
 ___
>>> 
>>> Before you close this issue, answer how do you explain my success in 
>>> running my wxPython emulation on all Cygwin releases since 2007 (Python 
>>> 2.6.8) to 2017 (2.7.13 and Python 3.0-3.5.2 and 3.6.0-3.6.2)?
>>> 
>>> Richard S. Gordon
>>> 
>>> --
>>> 
>>> ___
>>> Python tracker mailto:rep...@bugs.python.org> 
>>> >>
>>>  
>>> >>
>>> ___
>> 
>> FYI:
>> 
>> My current test platform is a 27” iMAC (with 3.5 GHz Intel Core i7, 16 GB 
>> 1600 MHz DDR3) running Mac OS 10.12.5 (Sierra). It includes support for 
>> Python 3.6.0. It uses the Parallels Desktop 12 for Mac (a hypervisor) to run 
>> the following guest operating system:
>> Android 4,
>> Linux (CentOS 7.2 & 7.3, Debian 8.7 & 8.8, Fedora 24 &25, OpenSUSE 13.2, 
>> Scientific 7.2 & 7.3, Ubuntu 16.04 & 17.04)
>> Solaris (OpenIndians Hipster 1610)
>> Unix (PCDBSD 10.3 & TrueOS 12.0)
>> Windows (10 32-bit, 10 64-bit) (NOTE: previously ran 32-bit XP, 7 and 8.1)
>> Only Windows 10, with Cygwin, includes support for Python 3.6.1 and support 
>> for xterm, xterm-16color and xterm-256olor. The other Guest Operating 
>> Systems typically support 3.4.x or 3.5.x with xterm (8-color).
>> 
>> Richard S. Gordon
> 
> Fixing this Python 3.6.1 issue will probably require modification to the 
> Python curse stdlib. Here is the ncurses 6.0 author’s description of the 
> notable changes that he made
> to ncurses 5.x in order to produce ncurses 6.0 (excerpted from: 
> http://invisible-island.net/ncurses/announce.html 
> ):
> Extend the cchar_t structure to allow more than 16 colors to be encoded.
> Modify the encoding of mouse state to make room for a 5th mouse button. That 
> allows one to use ncurses with a wheel mouse with xterm or similar X terminal 
> emulators.
> Richard S. Gordon
> 
> --
> 
> ___
> Python tracker mailto:rep...@bugs.python.org>>
> >
> ___

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30501] Produce optimized code for boolean conditions

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 36ff451ebae41f09560bff582c95946474d898f8 by Serhiy Storchaka in 
branch 'master':
bpo-30501: Make the compiler producing optimized code for condition 
expressions. (#1851)
https://github.com/python/cpython/commit/36ff451ebae41f09560bff582c95946474d898f8


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30501] Produce optimized code for boolean conditions

2017-06-11 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30624] selectors should use bare except clauses

2017-06-11 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' :


--
pull_requests: +2161

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30624] selectors should use bare except clauses

2017-06-11 Thread Giampaolo Rodola'

Giampaolo Rodola' added the comment:

> But only 2 of 3 "except Exception" are fixed.

My bad. New PR:
https://github.com/python/cpython/pull/2108

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22898] segfault during shutdown attempting to log ResourceWarning

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The fact that the traceback of PyExc_RecursionErrorInst causes an issue means 
that PyExc_RecursionErrorInst is used. We can't just remove 
PyExc_RecursionErrorInst since this can cause a stack overflow or, with merged 
PR 2035, an infinite loop.

Perhaps the solution of this issue is clearing __traceback__, __cause__ and 
__context__ attributes of PyExc_RecursionErrorInst as early as possible.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30508] "Task exception was never retrieved" reported for a canceled task

2017-06-11 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2162

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30508] "Task exception was never retrieved" reported for a canceled task

2017-06-11 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2163

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30508] "Task exception was never retrieved" reported for a canceled task

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset 7ce1c6fb579a01bb184224a10019039fde9c8eaf by Yury Selivanov in 
branch 'master':
bpo-30508: Don't log exceptions if Task/Future "cancel()" method called (#2050)
https://github.com/python/cpython/commit/7ce1c6fb579a01bb184224a10019039fde9c8eaf


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30508] "Task exception was never retrieved" reported for a canceled task

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset 176f2ebdad93f20876c08efabd364a0e6c86de14 by Yury Selivanov in 
branch '3.6':
bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. 
(#2109)
https://github.com/python/cpython/commit/176f2ebdad93f20876c08efabd364a0e6c86de14


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28180] sys.getfilesystemencoding() should default to utf-8

2017-06-11 Thread Nick Coghlan

Nick Coghlan added the comment:

Ah, it would have been too easy for all the other *nix variants to be close 
enough to Fedora & Ubuntu for everything to work first time :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30508] "Task exception was never retrieved" reported for a canceled task

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset d24c8287e226ac9983caf6bb826a7b53142ee31f by Yury Selivanov in 
branch '3.5':
bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. 
(#2110)
https://github.com/python/cpython/commit/d24c8287e226ac9983caf6bb826a7b53142ee31f


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30508] "Task exception was never retrieved" reported for a canceled task

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:

Fixed.  Ned, this will be included in 3.6.2, right?

--
nosy: +ned.deily
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
versions: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2164

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2165

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28180] sys.getfilesystemencoding() should default to utf-8

2017-06-11 Thread Nick Coghlan

Nick Coghlan added the comment:

Initial look at the failures on the stable buildbots:

FreeBSD 10.x: if locale coercion succeeds, we then fail on get_codeset() 
(perhaps because that doesn't recognise LC_CTYPE=UTF-8?)
FreeBSD CURRENT: if locale coercion fails (due to no suitable locale), lots of 
error handling tests fail due to the unexpected warning message on stderr

Mac OS X Tiger: looks like the test expectations aren't right on Mac OS X (at 
least for Tiger). I've added the Mac OS X folks to the nosy list.

Ubuntu shared library build: loading the shared library fails in _testembed for 
the `test_forced_io_encoding` test case, which suggest a problem with the way 
that particular test is running the binary

Windows 8.1 refleak hunting: failure doesn't appear to be due to this change 
(multiprocessing test failures)
s390x RHEL 7: failure doesn't appear to be due to this change (multiprocessing 
test failures)

--
nosy: +ned.deily, ronaldoussoren

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2166

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:

Alright, let's play it safe. I'm going to be reverting the change from all 
branches. Nick, if you are able to figure this out please create a new PR.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset 09663de203396b28483a570bb268c130b59639cf by Yury Selivanov in 
branch 'master':
Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close with 
certain servers (#409)" (#2111)
https://github.com/python/cpython/commit/09663de203396b28483a570bb268c130b59639cf


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset 4e9dfe214dff000c5b5ad0d8bd8a393feed1d3cf by Yury Selivanov in 
branch '3.5':
Revert "[3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close 
with certain servers (GH-409) (#2063)" (#2113)
https://github.com/python/cpython/commit/4e9dfe214dff000c5b5ad0d8bd8a393feed1d3cf


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-11 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset 83d30bd667924549bacf1428ac3e475cdf9792ae by Yury Selivanov in 
branch '3.6':
Revert "[3.6] bpo-29406: asyncio SSL contexts leak sockets after calling close 
with certain servers (GH-409) (#2062)" (#2112)
https://github.com/python/cpython/commit/83d30bd667924549bacf1428ac3e475cdf9792ae


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30630] Missing MSI files

2017-06-11 Thread Mark Airey

New submission from Mark Airey:

I downloaded and installed python 3.0, 3.6.0 and 3.6.1 and they all said that I 
was missing: "api-ms-win-crt-runtime-|1-1-0.dll" or the msi files as i have 
read online. I don't know how to get said files and I need this program soon. 
Can anyone help?

--
components: Windows
messages: 295718
nosy: Mark Airey, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Missing MSI files
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22898] segfault during shutdown attempting to log ResourceWarning

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The simplest solution -- make BaseException_set_tb(), 
BaseException_set_context() and BaseException_set_cause() no-ops for 
PyExc_RecursionErrorInst.

--
Added file: http://bugs.python.org/file46940/immutable-recursion-error-inst.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30623] python-nightly import numpy fails since recently

2017-06-11 Thread R. David Murray

R. David Murray added the comment:

There is a possible future in which the development style is based around 
continuous integration with third parties, where we apply our backward 
compatibility policy even to changes from one commit to the next within our 
development cycle.  I think that possible future is interesting, but is 
non-trivial to accomplish, and represents a cultural shift that we'd need to 
commit to.

If we go there then, as I believe was touched on at the language summit, actual 
python official releases would become less significant events :)

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30508] "Task exception was never retrieved" reported for a canceled task

2017-06-11 Thread Ned Deily

Ned Deily added the comment:

Yury, yes (3.6.2 cutoff is about 24 hours from now)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28180] sys.getfilesystemencoding() should default to utf-8

2017-06-11 Thread Ronald Oussoren

Ronald Oussoren added the comment:

The macOS failures are at least partially caused by test assumptions that 
aren't true on macOS: in particular the filesystem encoding defaults to UTF-8 
on macOS (because HFS+ and the recent APFS filesystem store unicode data and 
not pure byte strings).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29995] re.escape() escapes too much

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2167

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29995] re.escape() escapes too much

2017-06-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset a895f91a46c65a6076e8c6a28af0df1a07ed60a2 by terryjreedy in branch 
'3.6':
[3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114)
https://github.com/python/cpython/commit/a895f91a46c65a6076e8c6a28af0df1a07ed60a2


--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2017-06-11 Thread SylvainDe

Changes by SylvainDe :


--
pull_requests: +2168

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26656] Documentation for re.compile is a bit outdated

2017-06-11 Thread SylvainDe

SylvainDe added the comment:

IMHO, the sentence is not bad as it is. An easy (?) yet efficient way to make 
it much better from the a user perspective would be to make the "regular 
expression object" text a link leading to 
https://docs.python.org/3/library/re.html#regular-expression-objects .

--
nosy: +SylvainDe

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2017-06-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2169

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2017-06-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 57d8de80313c536d409d6a104ae577af8ffc57fb by terryjreedy in branch 
'3.6':
[3.6]bpo-20185: Adjust IDLE test to 3.7 Clinic change [GH-542] (#2116)
https://github.com/python/cpython/commit/57d8de80313c536d409d6a104ae577af8ffc57fb


--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30630] Missing MSI files

2017-06-11 Thread R. David Murray

R. David Murray added the comment:

Steve can correct me if I'm wrong, but I think this means your Windows OS isn't 
up to date.  Googling seems to indicate that this isn't a problem unique to 
Python.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29995] re.escape() escapes too much

2017-06-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Serhiy, please nosy me when you change idlelib files.

--
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-11 Thread Zachary Ware

Zachary Ware added the comment:


New changeset 5fe8ac69f99d58232a5234cfca78f05f7223a782 by Zachary Ware in 
branch '2.7':
[2.7] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2086)
https://github.com/python/cpython/commit/5fe8ac69f99d58232a5234cfca78f05f7223a782


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-11 Thread Zachary Ware

Zachary Ware added the comment:

It still might be nice to adjust some of the tests to not care about how line 
endings are checked in, but I think we're in a good enough place now with 
.gitattributes that we can close this issue.  Any other changes can be done in 
a new issue.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30480] samefile and sameopenfile fail for WebDAV mapped drives

2017-06-11 Thread Armin Rigo

Armin Rigo added the comment:

Another example of this misbehaviour: there are cases where ``os.stat()`` will 
internally fail to obtain the whole stat info (in some case related to 
permissions) and silently fall back to the same behaviour as Python 2.7.  In 
particular, it will return a result with ``st_dev == st_ino == 0``.  Of course, 
``os.path.samefile()`` will then consider all such files as "the same one", 
which is nonsense.

--
nosy: +arigo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30620] textwrap: dedent contains logic that can never execute

2017-06-11 Thread Emily Morehouse

Emily Morehouse added the comment:

The logic in your proof is certainly sound. The only time that the else 
statement within Clause 4 (to use terminology from the proof) would execute is 
either 
  1) if margin is equal to indent, which is handled in Clause 2, or 
  2) if the margin is None, which is handled in Clause 1.

I support this PR. On a related note, I feel that the existing comments could 
clearer illustrate this. Specifically, it is unclear that Clause 2 will also 
catch cases where margin and indent are equal.

--
nosy: +emilyemorehouse

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30631] Warnings in VS2015 Update 3 32-Bit

2017-06-11 Thread Segev Finer

New submission from Segev Finer:

I'm hitting the following warnings when building in VS2015 Update 3 in 32-bit:

liblzma:
warning C4028: formal parameter {} different from declaration
warning C4113: 'FARPROC' differs in parameter lists from '{}'
warning C4244: 'initializing': conversion from '{}' to '{}', possible loss 
of data
warning C4267: '=': conversion from '{}' to '{}', possible loss of data
warning C4996: 'GetVersion': was declared deprecated

libeay:
warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead 
or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings

socketmodule:
 warning C4996: '{}': Use {}() or {}() instead or define 
_WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings (multiple)

tix:
warning C4090: 'function': different 'const' qualifiers
warning C4028: formal parameter {} different from declaration

And ValidateUcrtbase in python.vcxproj is failing on first build because it 
depends on ctypes but runs before it's built when building using the pcbuild.sln

--
components: Windows
messages: 295732
nosy: Segev Finer, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Warnings in VS2015 Update 3 32-Bit
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30631] Warnings in VS2015 Update 3 32-Bit

2017-06-11 Thread Segev Finer

Changes by Segev Finer :


--
pull_requests: +2170

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9566] Compilation warnings under x64 Windows

2017-06-11 Thread Segev Finer

Changes by Segev Finer :


--
pull_requests: +2171

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30620] textwrap: dedent contains logic that can never execute

2017-06-11 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
assignee:  -> emilyemorehouse

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30620] textwrap: dedent contains logic that can never execute

2017-06-11 Thread Emily Morehouse

Emily Morehouse added the comment:

Jonathan, could you improve the comments for the dedent function? You have a 
great understanding of the logic flow from your proof and it would be 
beneficial to document this to avoid future confusion.

Specifically, it should be clear that Clause 2 inherently handles equivalence 
for margin and indent and that Clause 4 will always complete with the break 
statement.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30609] Python 3.6.1 fails to generate 256 colors on Cygwin based 64-bit Windows 10

2017-06-11 Thread Richard S. Gordon

Richard S. Gordon added the comment:

> On Jun 9, 2017, at 5:41 PM, Terry J. Reedy  wrote:
> 
> 
> Terry J. Reedy added the comment:
> 
> Richard, when replying by email, please strip quoted text except for an 
> occasional line or two.  (See example of limited in-context quote below.)
> 
> A bug, for the purpose of this tracker, is a discrepancy between between the 
> docs written by the PSF's core development team and the code provided by the 
> same.  The PSF curses module is documented as unix-only.  In particular, 
> "This extension module is designed to match the API of ncurses, an 
> open-source curses library hosted on Linux and the BSD variants of Unix."  It 
> does not run on the PSF (python.org) Windows distribution, because there is 
> no C interface to a Windows implementation of curses.
> 

Cygwin is a Linux-like (Unix-compatible) command line interface and run-time 
environment plug-in for Windows. My cross-platform Python code does not use a 
PSF Windows implementation. It only uses the standard Python 2x and Python 3x 
curses library module low level API to emulate a subset of the wxPython 
high-level API. It has been run successfully with xterm (8-color) and 
xterm-16color terminal emulators (including the ones provided with all Cygwin 
releases since 2007). All platforms manifest the same failure when my software 
attempts to use the xterm-256color terminal emulator:

PC-BSD 10.3 Unix
TrueOS (PC-BSD) 12.0 Unix
MacOS X 7.0-10.12.5 (Darwin & BSD Unix based)
Oracle OpenSolaris 11
OpenIndiana Hipster-1610 Solaris 1
CentOS Linux 7.2 & 7.3
Debian Linux 8.7.0 & 8.8.0
Fedora Linux 24 & 25
Scientific Linux 7.2 & 7.3
Windows  XP, 7, 8.1 and 10 (each with Cygwin plug-in)

I am reporting this issue to PSF because I suspect that the standard Python 
3.6.1 curses libraries has not be updated to support more that 16 colors on 
64-bit platforms. None of my non-Windows 64-bit platforms currently incorporate 
ncurses 6.0 or Python 3.6.1. I’m anxiously waiting for new releases to those 
non-windows operating systems.

 import curses  # 64-bit 3.6.1 on Win 10 using python.org installer
> Traceback (most recent call last):
>  File "", line 1, in 
>import curses
>  File "C:\Programs\Python36\lib\curses\__init__.py", line 13, in 
>from _curses import *
> ModuleNotFoundError: No module named '_curses'
> 
> Anything Cygwin does to improve on this is their responsibility.
> 
>> how do you explain my success in running my wxPython emulation on all Cygwin 
>> releases since 2007
> 
> One or more people on the wxPython and/or Cygwin and/or other teams exerted 
> the effort to make this happen.

wxPython is a pixel-mode GUI. It does use the character-mode curses or ncurses 
libraries.

Cygwin provides both X11 pixel-mode graphics and ncurses-based character-mode 
graphics.
> 
> --
> nosy: +terry.reedy
> resolution:  -> third party
> stage: test needed -> resolved
> status: open -> closed
> 
> ___
> Python tracker 
> 
> ___

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30609] Python 3.6.1 fails to generate 256 colors on Cygwin based 64-bit Windows 10

2017-06-11 Thread Richard S. Gordon

Richard S. Gordon added the comment:

> On Jun 9, 2017, at 4:57 PM, Masayuki Yamamoto  wrote:
> 
> 
> Masayuki Yamamoto added the comment:
> 
> @rigordo Are you using mintty? If I remember rightly, mintty hasn't been set 
> 256 colors after installation (at least in past release, I'm not sure 
> currently).
> 

Yes, I am using the Cygwin mintty console (typically configured for 80 columns 
by 50 rows). On Linux, MacOS X, Solaris. Unix and Windows (with cygwin) 
platforms, I issue the appropriate console bash commands to change 
(TERM=emulator) or reset (STTY sane) the terminal emulation:

TERM=xterm
TERM=xterm-16color
TERM=xterm-88color
TERM=xterm-256color

> --
> 
> ___
> Python tracker 
> 
> ___

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30571] Add integer formatting code for fixed-width signed arithmetic (2's complement)

2017-06-11 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
assignee:  -> lisroach
nosy: +lisroach

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30621] import json before using json module in tutorial Input and Output

2017-06-11 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 1dbce04d0e3e93b715eb0d8024da396361759d16 by Mariatta (suketa) in 
branch 'master':
bpo-30621: Update Input Output Tutorial Example(GH-2074)
https://github.com/python/cpython/commit/1dbce04d0e3e93b715eb0d8024da396361759d16


--
nosy: +Mariatta

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30621] import json before using json module in tutorial Input and Output

2017-06-11 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2173

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30621] import json before using json module in tutorial Input and Output

2017-06-11 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2172

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30621] import json before using json module in tutorial Input and Output

2017-06-11 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2174

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30621] import json before using json module in tutorial Input and Output

2017-06-11 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 47c9decb5feabb51416deffd2098ee31d73f1f5f by Mariatta in branch 
'3.6':
bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2118)
https://github.com/python/cpython/commit/47c9decb5feabb51416deffd2098ee31d73f1f5f


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30621] import json before using json module in tutorial Input and Output

2017-06-11 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 107949cb87d0f064bd9bcd39dc2a5e7266bfee30 by Mariatta in branch 
'2.7':
bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2120)
https://github.com/python/cpython/commit/107949cb87d0f064bd9bcd39dc2a5e7266bfee30


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30621] import json before using json module in tutorial Input and Output

2017-06-11 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 7563b0508172cedb5e6a95d05e9122f1a0bfcd86 by Mariatta in branch 
'3.5':
bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2119)
https://github.com/python/cpython/commit/7563b0508172cedb5e6a95d05e9122f1a0bfcd86


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30621] import json before using json module in tutorial Input and Output

2017-06-11 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Thanks! :)

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30596] Add close() to multiprocessing.Process

2017-06-11 Thread Jim Jewett

Jim Jewett added the comment:

Then why not just call join as part of the default close method?

--
nosy: +Jim.Jewett

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23033] Disallow support for a*.example.net, *a.example.net, and a*b.example.net in certificate wildcard handling.

2017-06-11 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Can this go to 3.6.2?

--
nosy: +Mariatta
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30620] textwrap: dedent contains logic that can never execute

2017-06-11 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30603] textwrap: declining indent level has no test case

2017-06-11 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
assignee:  -> emilyemorehouse
nosy: +emilyemorehouse

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28994] Misc fixes and cleanups in error handling C code

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4 by Serhiy Storchaka in 
branch 'master':
bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (#2034)
https://github.com/python/cpython/commit/3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28994] Misc fixes and cleanups in error handling C code

2017-06-11 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +2175

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28994] Misc fixes and cleanups in error handling C code

2017-06-11 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +2176

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28994] Misc fixes and cleanups in error handling C code

2017-06-11 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +2177

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28994] Misc fixes and cleanups in error handling C code

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset d89dc844d288ee2e403272f3e4552eed6911cafd by Serhiy Storchaka in 
branch '3.6':
[3.6] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) 
(#2121)
https://github.com/python/cpython/commit/d89dc844d288ee2e403272f3e4552eed6911cafd


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-06-11 Thread Zhang Wenbo

Changes by Zhang Wenbo :


--
nosy: +Zhang Wenbo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28994] Misc fixes and cleanups in error handling C code

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 7d8c1ebd86ce27b28736c5e97fef58ec60b8ef31 by Serhiy Storchaka in 
branch '3.5':
[3.5] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) 
(#2122)
https://github.com/python/cpython/commit/7d8c1ebd86ce27b28736c5e97fef58ec60b8ef31


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30603] textwrap: declining indent level has no test case

2017-06-11 Thread Emily Morehouse

Emily Morehouse added the comment:

Good catch. We should also add additional tests for a declining indentation 
level with a blank line and a declining indentation with a whitespace only 
line, as it is a pattern followed throughout the dedent tests. 

It should be noted that PR 2014 is the appropriate pull request for this issue. 
PR 2064 is for a different, though related, issue 
(https://bugs.python.org/issue30620).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28994] Misc fixes and cleanups in error handling C code

2017-06-11 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 0cc43df05e36655220468953e838169966b94ebd by Serhiy Storchaka in 
branch '2.7':
[2.7] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) 
(#2123)
https://github.com/python/cpython/commit/0cc43df05e36655220468953e838169966b94ebd


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-11 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset b459f7482612d340b88b62edc024628595ec6337 by Mariatta 
(mircea-cosbuc) in branch 'master':
[email] bpo-29478: Fix passing max_line_length=None from Compat32 policy 
(GH-595)
https://github.com/python/cpython/commit/b459f7482612d340b88b62edc024628595ec6337


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-11 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
stage: patch review -> backport needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2017-06-11 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
stage:  -> backport needed
versions: +Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com