[Python-3000] PEP: Cleaning out sys and the "interpreter" module

Bill Janssen janssen at parc.com
Thu Apr 10 01:05:42 CEST 2008


> That's not the Python spirit. The spirit is that *if* they support
> similar enough functionality the APIs should be named the same, in the
> same module, and have the same signature. E.g. the os module is built
> on this principle. Many APIs there are optional, but if they exist,
> they have a known name and spec. (The posix/nt underlying modules are
> implementation details that most users never need to know about.)

Does that mean I can fix the signature issues with socket.gethostname()?

http://bugs.python.org/issue1049

Bill


More information about the Python-3000 mailing list