On 04/27/10 03:50, Peter Otten wrote: > It is a bit unfortunate that your editor has side effects on your program, > and I recommend that you never trust the result of importing a module from > within idle's shell completely.
In fact, never trust IDLE. IDLE is a nice IDE when the alternative is Notepad; but for serious work, you need a real IDE or a programmer's text editor (vim or emacs, whichever side you're in). Always test the you write inside IDLE on a command line. -- http://mail.python.org/mailman/listinfo/python-list