[Python-Dev] Accepting PEP 3144 (the ipaddress library) (original) (raw)
Guido van Rossum guido at python.org
Tue May 15 19:03:09 CEST 2012
- Previous message: [Python-Dev] Accepting PEP 3144 (the ipaddress library)
- Next message: [Python-Dev] dir() in inspect.py ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Congrats Nick and Peter!
On Tue, May 15, 2012 at 5:13 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
Based on the current version of PEP 3144 and its reference implementation, I am formally accepting ipaddress into the standard library.
I believe Peter has satisfactorily resolved the concerns previously raised with the proposed API, and if I missed anything... well, that's why we have alpha releases and the new provisional API status :) There's one point that could do with better documentation, which is the meaning of a "non-strict" Network address. In ipaddr.py, non-strict networks filled the role now filled by the separate Interface objects in the ipaddress module. In ipaddress, the "strict" flag instead just selects between raising a ValueError when passed a host address (the default) or simply coercing the host address to the appropriate network address. That behaviour strikes me as both reasonable and useful - the coercion aspect just needs to be mentioned in the documentation. The integration of the module into 3.3. will be tracked in http://bugs.python.org/issue14814 Peter will also need to be granted commit access in order to maintain the module. Regards, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
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/guido%40python.org
-- --Guido van Rossum (python.org/~guido)
- Previous message: [Python-Dev] Accepting PEP 3144 (the ipaddress library)
- Next message: [Python-Dev] dir() in inspect.py ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]