[Python-Dev] is sys.modules not meant to be replaced? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Mon Jul 25 08:26:09 CEST 2011
- Previous message: [Python-Dev] is sys.modules not meant to be replaced?
- Next message: [Python-Dev] is sys.modules not meant to be replaced?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I agree with what you are saying wholeheartedly, but still think there is something fishy with the way that sys.modules works. I'll take it from here to a tracker issue though. :)
Well, there is a short answer to you question: sys.modules is not meant to be replaced. Doing so will result in undefined behavior.
So there is nothing fishy about it.
Regards, Martin
- Previous message: [Python-Dev] is sys.modules not meant to be replaced?
- Next message: [Python-Dev] is sys.modules not meant to be replaced?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]