Description- Provide 'Bytes', a subclass of str which can be used to indicate packed bytes on Python 2.
- When constructing an IPAddress from packed bytes, do not fall back to str if the length is wrong.
- Delete _BaseIP.__init__, and its redundant check for '/'. The IP parsers already recognize this as invalid input.
Patch Set 1 #Patch Set 2 : tweaks #Patch Set 3 : simplify IPNetwork constructors. #MessagesTotal messages: 3
|