Message139214
| 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:13 | terry.reedy | set | recipients:
+ terry.reedy, amaury.forgeotdarc, jerry.seutter, Gustavo |
| 2011年06月26日 20:41:13 | terry.reedy | set | messageid: <1309120873.79.0.684989313576.issue3435@psf.upfronthosting.co.za> |
| 2011年06月26日 20:41:13 | terry.reedy | link | issue3435 messages |
| 2011年06月26日 20:41:12 | terry.reedy | create |
|