I apologize for the noise. I have a custom make_modules.py script that adds the full stdlib back into the carefully optimized set of necessary modules, so that my brython_modules.js will include the full stdlib, in case I need them in an exec() after compile time. When adding all of the module keys back into the ModulesFinder's modules list, I was also accidentally adding the brython_stdlib.js file's $timestamp into the new brython_modules.js file, which was causing brython to not notice my changes to brython_modules. I found and fixed this oversight of mine, and the automatic cache invalidation is working again!
I do still have a related issue, which is that it looks like my WebWorker is not making use of the indexedDB. This is where most of my python code runs, so it would be very nice to use indexedDB in WebWorkers. Were you expecting that to be working?
Thank you very much,
Ben