This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kakacek
Recipients kakacek, tim.golden
Date 2007-10-10.19:32:22
SpamBayes Score 0.424952
Marked as misclassified No
Message-id <1192044742.67.0.878249256515.issue1255@psf.upfronthosting.co.za>
In-reply-to
Content
The reason for it is pragmatic: The whole of my application is published
as .pyc files. Except of the only one which must stay .py - that one
which has to be executable (+x) on Linux and thus it starts with the line:
# !/usr/bin/python
and then it should only contain:
import <something>
and <something> is .pyc.

So I did a simple change into my application. I start it via a very
brief script whic only contains:
# !/usr/bin/python
import <something>

Wow! It stopped working at all!

After 4 hours of isolating of the problem I developped an elementary
code which demonstrates my problem (attached at the bug report).

I expect that the import statement does not return the control until the
code being executed by it finishes, does'n it?
History
Date User Action Args
2007-10-10 19:32:22kakaceksetspambayes_score: 0.424952 -> 0.424952
recipients: + kakacek, tim.golden
2007-10-10 19:32:22kakaceksetspambayes_score: 0.424952 -> 0.424952
messageid: <1192044742.67.0.878249256515.issue1255@psf.upfronthosting.co.za>
2007-10-10 19:32:22kakaceklinkissue1255 messages
2007-10-10 19:32:22kakacekcreate