This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients amaury.forgeotdarc, jaraco, weirdink13
Date 2012-08-30.21:57:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346363877.6.0.498660568404.issue14847@psf.upfronthosting.co.za>
In-reply-to
Content
Since my last comment, we've been running with a version of the wrapper (attached) around the main entry point to our application and it has completely eliminated the error. However, while the wrapper does report when a module deletion is requested, it is never triggered (we don't see the word "deletion" anywhere in our logs).

This result leads me to two findings:

1. Merely making a reference to sys.modules was sufficient to prevent the error.
2. Preventing deletion of 'encodings.*' modules is not sufficient (as apparently this doesn't happen in our code).

My next step is going to be to remove the wrapper, so the error exhibits itself again and we can prove that the issue is still present, and then to re-apply the wrapper, but this time only creating a reference to sys.modules (not actually replacing it).
History
Date User Action Args
2012-08-30 21:57:57jaracosetrecipients: + jaraco, amaury.forgeotdarc, weirdink13
2012-08-30 21:57:57jaracosetmessageid: <1346363877.6.0.498660568404.issue14847@psf.upfronthosting.co.za>
2012-08-30 21:57:57jaracolinkissue14847 messages
2012-08-30 21:57:56jaracocreate