Proposal: add sys to __builtins__

MrJbQ7 mrjbq7 at gmail.com
Thu Sep 1 22:18:02 EDT 2005


Steve Holden wrote:
> I wonder if it would be worth special-casing the AttributeError [snip]

What is it that Tim Peters said? "Special cases aren't special
enough..."

Besides, a better way is to use your ~/.pythonrc file for customizing
according to your needs.

A simple:

  echo "import sys, os" >> ~./pythonrc

will do the job.

Thanks,
John Benediktsson




More information about the Python-list mailing list