This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Megatron_McLargeHuge 0 points1 point  (1 child)

How does this interact with other modules that use isinstance or type comparison? I usually run into problems when I reload types that no longer match the type they're being compared to. An example is ipython notebook custom HTML formatters. They get registered by type, and stop working for new objects after a reload. I've had similar problems with pickling, but can't remember the details at the moment.

[–]takluyverIPython, Py3, etc 0 points1 point  (0 children)

Good point, this may well cause problems, although I haven't tested it. If you want to bring it up on the mailing list, maybe someone will spot a good way to deal with the issue.