Message5132
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... |
|
Date |
User |
Action |
Args |
2009-09-10 12:29:21 | mlhetland | set | recipients:
+ mlhetland |
2009-09-10 12:29:21 | mlhetland | set | messageid: <1252585761.69.0.422808907979.issue1464@psf.upfronthosting.co.za> |
2009-09-10 12:29:21 | mlhetland | link | issue1464 messages |
2009-09-10 12:29:20 | mlhetland | create | |
|