Message10447
Sorry, found the answer myself in http://eev.ee/blog/2012/03/24/python-faq-equality/
So I am guessing the original sre_compile code compared the PyString object references since they are supposed to be static constants for the sake of performance rather than the their values? Your idea about multi threading with classes reloads seems very correct. In my particular test I do reloads of imports (literally reload(__import__(module) ). In our implementation of Jython we automatically reload classes as soon as the jython code files change (pretty much like JSPs) so it all looks like you are just right about the real cause of an issue in at least our environment. |
|
Date |
User |
Action |
Args |
2015-11-10 06:20:57 | asalabaev | set | messageid: <1447136457.86.0.410608600061.issue2392@psf.upfronthosting.co.za> |
2015-11-10 06:20:57 | asalabaev | set | recipients:
+ asalabaev, zyasoft, public.marvin, helix84 |
2015-11-10 06:20:57 | asalabaev | link | issue2392 messages |
2015-11-10 06:20:56 | asalabaev | create | |
|