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 terry.reedy
Recipients Gustavo, amaury.forgeotdarc, jerry.seutter, terry.reedy
Date 2011-06-26.20:41:12
SpamBayes Score 0.00021434142
Marked as misclassified No
Message-id <1309120873.79.0.684989313576.issue3435@psf.upfronthosting.co.za>
In-reply-to
Content
The patch adds this check:

+	    if not filename.endswith((".pyc", ".pyo", ".py")):
+                continue

This is not valid. A Python file is a text file with python code. In spite of import conventions, they are not required to have any particular extension and some people omit them from main scripts. Trace works fine with such files now and your patch would prevent that. Python files are only identified as such by trying to parse them.

The problem and solution lie with your setup. Arrange things so Bitten only treats Python files as Python files.
History
Date User Action Args
2011-06-26 20:41:13terry.reedysetrecipients: + terry.reedy, amaury.forgeotdarc, jerry.seutter, Gustavo
2011-06-26 20:41:13terry.reedysetmessageid: <1309120873.79.0.684989313576.issue3435@psf.upfronthosting.co.za>
2011-06-26 20:41:13terry.reedylinkissue3435 messages
2011-06-26 20:41:12terry.reedycreate