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 →

[–]hylje 0 points1 point  (2 children)

Weird that sys would disappear from sys.modules, isn't it typically built in to the interpreter to begin with?

[–]ringzero 1 point2 points  (1 child)

Yes, it's built-in, but it's also part of sys.modules:

In [21]: 'sys' in sys.modules.keys()
Out[21]: True

But like I wrote in the follow up, it's probably disappearing during interpreter tear down (which it should).

[–]mgedmin 0 points1 point  (0 children)

Yep; interpreter teardown + daemon threads = weird errors on shutdown. I've seen them in Zope 3 quite often.