This is not reproducible under either Python 2.3.4 (UNIX), Python 2.4.1
(UNIX) or Python 2.4.1 (Windows).  If you still need help, we need to
know precisely what you're doing.

===== scope_test.py =====
#!/usr/bin/env python
#
# (insert his code, verbatim...)
#
if __name__=='__main__':
    outer(3)

===== end scope_test.py =====

[EMAIL PROTECTED] ~]$ ./scope_test.py
3 2 1 0

[EMAIL PROTECTED] ~]$ python
Python 2.3.4 (#1, Feb  2 2005, 11:44:13)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from scope_test import outer
>>> outer(3)
3 2 1 0

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to