Message5132

Author mlhetland
Recipients mlhetland
Date 2009-09-10.12:29:20
SpamBayes Score 1.7143337e-10
Marked as misclassified No
Message-id <1252585761.69.0.422808907979.issue1464@psf.upfronthosting.co.za>
In-reply-to
Content
Assume you have a module consisting of ./module/__init__.py and 
./module/JavaClass.class; then you have the test script ./test/test.py 
which imports module. If you run this with "python test/test.py", the 
__init__.py will be executed, but if you use jython, it won't. If you 
either move test.py to the current directory *or* remove 
JavaClass.class, you will get correct behavior.

I've attached a minimal example, with a makefile that runs with and 
without the compiled class, as well as with Python, for comparison. This 
seems like a bug to me...
History
Date User Action Args
2009-09-10 12:29:21mlhetlandsetrecipients: + mlhetland
2009-09-10 12:29:21mlhetlandsetmessageid: <1252585761.69.0.422808907979.issue1464@psf.upfronthosting.co.za>
2009-09-10 12:29:21mlhetlandlinkissue1464 messages
2009-09-10 12:29:20mlhetlandcreate