A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-November/040142.html below:

[Python-Dev] other "magic strings" issues

[Python-Dev] other "magic strings" issues [Python-Dev] other "magic strings" issuesMichael Hudson mwh at python.net
Mon Nov 10 05:34:40 EST 2003
Barry Warsaw <barry at python.org> writes:

> I would love it if what happened really was something like:
>
>>>> from socket import *
>>>> print AF_UNIX
> socket.AF_UNIX
>>>> from errno import *
>>>> print EEXIST
> errno.EEXIST

I've had this idea too.  I like it, I think.  The signal module could
use it too...

Cheers,
mwh

-- 
  I have a feeling that any simple problem can be made arbitrarily
  difficult by imposing a suitably heavy administrative process
  around the development.       -- Joe Armstrong, comp.lang.functional

More information about the Python-Dev mailing list

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