[Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library (original) (raw)

Peter Moody peter at hda3.com
Wed Aug 19 17:35:15 CEST 2009


On Wed, Aug 19, 2009 at 3:20 AM, Antoine Pitrou<solipsis at pitrou.net> wrote:

Le Tue, 18 Aug 2009 13:00:06 -0700, Peter Moody a écrit :

Howdy folks,

I have a first draft of a PEP for including an IP address manipulation library in the python stdlib. It seems like there are a lot of really smart folks with some, ahem, strong ideas about what an IP address module should and shouldn't be so I wanted to solicit your input on this pep. When you say : « the results of the first computation should be cached and only re-generated should the object properties change » does it mean that the objects are mutable? Would it make sense to make them immutable and therefore hashable (such as, e.g., datetime objects)?

that's a good point. I'll implement hash in the BaseIP class.


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40hda3.com



More information about the Python-Dev mailing list