On Sun, Feb 10, 2013 at 3:39 AM, ALAN GAULD <alan.ga...@btinternet.com> wrote:
> So it does. You learn something new every day...
> When did that first happen? It was one of my biggest frustrations
> with Python when I first started learning, that you couldn't call exit
> without first importing sys (v1.3). But I never noticed that changing
> till now.

Quitter was added to site.py in 2.5:

http://hg.python.org/cpython/file/c10a71cf16e4/Lib/site.py#l227

In 2.4, exit/quit were simply strings:

http://hg.python.org/cpython/file/f3f1f1462c82/Lib/site.py#l224
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to