[- at google.com] On Wed, Sep 30, 2009 at 2:51 PM, Raymond Hettinger <python at rcn.com> wrote: > >>> I don't know -- this is (from what Peter told me) a common use case so >>> he (and presumably others) would from time to time have to write >>> extra code to keep track of that IP address in a new app. > > [MvL] >> >> I, and probably others, would really, REALLY like to see one such >> "common use case". I do find it puzzling that non of the readers here >> can think of any, and the continued assertion that use cases do exist >> without them being presented is somewhat disturbing. > > A concrete use case would help put the discussion on a better technical > footing. > > FWIW, it doesn't look like any of the competing packages ever > found a need to add support for this yet-to-be-presented use case: > http://code.google.com/p/netaddr/wiki/YetAnotherPythonIPModule netaddr actually does have support for this. >>> import netaddr >>> netaddr.IPNetwork('1.1.1.1/24').ip IPAddress('1.1.1.1') >>> cheers, /peter > Raymond > > _______________________________________________ > 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 >
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4