[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

Terry J. Reedy report at bugs.python.org
Mon Jun 30 18:17:13 CEST 2014


Terry J. Reedy added the comment:

I am working on the turtle demos now. Victor gave more info in #21884.

I was partly wrong in my comments. turtledemo uses reload to re-initialize demos when one switches between them. I am tempted to remove this as part of discouraging side-effects on import. It is not a good example to be followed.

----------
assignee:  -> terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21882>
_______________________________________


More information about the Python-bugs-list mailing list