[issue27683] ipaddress subnet slicing iterator malfunction

2016-08-04 Thread Stephen Shirley

Stephen Shirley added the comment:

The bug appears to be in the new form of the constructor. Here's a more minimal 
reproduction:

In python3.5:
>>> list(ipaddress.IPv4Network(("127.0.0.4", 31)).hosts())
[]

In python3.4
>>> list(ipaddress.IPv4Network("127.0.0.4/31").hosts())
[IPv4Address('127.0.0.4'), IPv4Address('127.0.0.5')]

--

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



[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2015-08-18 Thread Stephen Shirley

Changes by Stephen Shirley :


--
nosy: +kormat

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