news1234 at free.fr
Mon Sep 8 23:30:42 CEST 2008
Jean-Paul Calderone wrote:
> On Mon, 08 Sep 2008 21:03:48 +0200, Christian Heimes <lists at cheimes.de>
>> Gary Robinson wrote:
>>> In Python 2.5.2, I notice that, in the interpreter or in a script, I
>>> can exit with:
>> The exit callable is defined in the site module. Check out site.py! It
>> shouldn't be used in code. It was added to help newbies to 'escape'
>> from an interactive Python shell.
> It works. Why shouldn't it be used?
Backwards compatibility vs. saving 4 characters.
I'd stick with backwards compatibility
More information about the Python-list