[docs] [issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

Nick Coghlan report at bugs.python.org
Sun Apr 7 07:49:32 EDT 2019


Nick Coghlan <ncoghlan at gmail.com> added the comment:

The recommended handling in the article that Serhiy mentions is to strip the leading zeroes, which the ipaddress module will still do - it's only being made more tolerant on input. That means it will become usable as a prefilter step (pass string with potentially leading zeroes to ipaddress, get string with no leading zeroes out).

So that means the one part we missed is the docs update (together with a versionchanged note in the module docs themselves)

----------
assignee:  -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36384>
_______________________________________


More information about the docs mailing list