Message316006
| Author | jdemeyer |
|---|---|
| Recipients | erik.bray, jdemeyer, paul.moore, sth |
| Date | 2018-05-01.17:31:39 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1525195899.75.0.682650639539.issue32797@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> How does CPython display the source for tracebacks in Cython modules? Do you mean the "python" command-line program? That uses a different algorithm: to find a file FOO, it searches [os.path.join(p, os.path.basename(FOO)) for p in sys.path] This is completely broken because it ignores all leading path components of FOO. So it will only work if your file is in the root of your package, not in a subdirectory. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-05-01 17:31:39 | jdemeyer | set | recipients: + jdemeyer, paul.moore, erik.bray, sth |
| 2018-05-01 17:31:39 | jdemeyer | set | messageid: <1525195899.75.0.682650639539.issue32797@psf.upfronthosting.co.za> |
| 2018-05-01 17:31:39 | jdemeyer | link | issue32797 messages |
| 2018-05-01 17:31:39 | jdemeyer | create | |