Message 335460 - Python tracker

Message335460

Author John Florian
Recipients John Florian
Date 2019-02-13.16:13:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550074435.28.0.00523777369606.issue35989@roundup.psfhosted.org>
In-reply-to
Content
I wanted a simple is_valid_ipv4_network() function, so I wrote one and a bunch of unit tests where I discovered that I can legally:

>>> n = IPv4Network(('192.168.123.234', 12345678))
>>> n
IPv4Network('192.168.123.234/12345678')
>>> n.prefixlen
12345678
>>> n.max_prefixlen
32

I assume this is a bug.
History
Date User Action Args
2019-02-13 16:13:55John Floriansetrecipients: + John Florian
2019-02-13 16:13:55John Floriansetmessageid: <1550074435.28.0.00523777369606.issue35989@roundup.psfhosted.org>
2019-02-13 16:13:55John Florianlinkissue35989 messages
2019-02-13 16:13:55John Floriancreate