Re: [Python-Dev] possible bug in python importing pyc files

2009-12-01 Thread Martin v. Löwis
> The code that shows this problem is owned by my company, I'm not sure > if I would be able to produce it to create a bug report. But I do have some > time > to help debug the problem. > > What steps should I take to try to isolate the problem? Try isolating the precise instruction that behaves

Re: [Python-Dev] possible bug in python importing pyc files

2009-12-01 Thread Guido van Rossum
What kind of failure do you get? A a failed test, a Python exception, or a core dump? Are you sure there is no code in your app or in your tests that looks at __file__ and trips up over if it ends in '.pyc' instead of '.py' ? Are you importing from zipfiles (e.g. eggs you've downloaded)? Can you