BartC <b...@freeuk.com> writes: > Is this typical Python code? Creating global objects in other modules > (or writing all over essential data structures in a library module).
Not “creating global objects”, but changing the referent of a name in some other module. Yes, that's quite a common technique. Does that surprise you? If it surprises you, hopefully you can learn some more Python with this new knowledge. -- \ “We can't depend for the long run on distinguishing one | `\ bitstream from another in order to figure out which rules | _o__) apply.” —Eben Moglen, _Anarchism Triumphant_, 1999 | Ben Finney -- https://mail.python.org/mailman/listinfo/python-list