Message10447

Author asalabaev
Recipients asalabaev, helix84, public.marvin, zyasoft
Date 2015-11-10.06:20:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447136457.86.0.410608600061.issue2392@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-11-10 06:20:57asalabaevsetmessageid: <1447136457.86.0.410608600061.issue2392@psf.upfronthosting.co.za>
2015-11-10 06:20:57asalabaevsetrecipients: + asalabaev, zyasoft, public.marvin, helix84
2015-11-10 06:20:57asalabaevlinkissue2392 messages
2015-11-10 06:20:56asalabaevcreate