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 lac
Recipients Anthony.Kong, Fotis.Koutoulakis, berker.peksag, eric.snow, lac, luiz.poleto, martin.panter, ncoghlan, r.david.murray
Date 2015-08-07.14:06:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438956369.4.0.0683274528616.issue19771@psf.upfronthosting.co.za>
In-reply-to
Content
I tried to run some tests from  the python3.4 test suite and got:
python3 -m test -ugui test_tk test_ttk_guionly test_idle
/usr/bin/python3: Error while finding spec for 'test.__main__' (<class 'ImportError'>: bad magic number in 'test': b'\x03\xf3\r\n'); 'test' is a package and cannot be directly executed

The actual problem has nothing to do with test being a package.  It
had to do with finding a python2 pyc and trying to run that.  It would be nice if the patch checked for this problem as well before concluding that somebody just tried to execute a package.
History
Date User Action Args
2015-08-07 14:06:09lacsetrecipients: + lac, ncoghlan, r.david.murray, eric.snow, Anthony.Kong, berker.peksag, martin.panter, Fotis.Koutoulakis, luiz.poleto
2015-08-07 14:06:09lacsetmessageid: <1438956369.4.0.0683274528616.issue19771@psf.upfronthosting.co.za>
2015-08-07 14:06:09laclinkissue19771 messages
2015-08-07 14:06:08laccreate