Proposal: add sys to __builtins__
twic at urchin.earth.li
Mon Sep 26 21:06:05 CEST 2005
On Sun, 25 Sep 2005, James Stroud wrote:
> I'm into *real* purity. I would rather begin every script:
> from python import list, str, dict, sys, os
> Oh wait. I only use dict in less than 50% of my scripts:
> from python import list, str, sys, os
> That's better.
What? How exactly is that pure? "from x import y" is bletcherosity
incarnate! You should do:
s = python.str(5)
And don't let me see you importing like that again!
90% mental, 25% effort, 8% mathematics
More information about the Python-list