Message300980
| Author |
Aigars Mahinovs |
| Recipients |
Aigars Mahinovs |
| Date |
2017年08月29日.11:03:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1504004611.56.0.361089712755.issue31300@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
If you run a longer running Python program, then change the Python module that it loaded on disk and then cause a traceback to happen in the code in that module, then the traceback may be nonsensical as it will reference line numbers from the module in memory, but print code from the same line numbers from the file on disk, even if they are different.
In any case there should be a prominent warning on traceback if the module in memory does not match the module on disk, but ideally the traceback print should show the code in memory - the actual code that caused the problem. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年08月29日 11:03:31 | Aigars Mahinovs | set | recipients:
+ Aigars Mahinovs |
| 2017年08月29日 11:03:31 | Aigars Mahinovs | set | messageid: <1504004611.56.0.361089712755.issue31300@psf.upfronthosting.co.za> |
| 2017年08月29日 11:03:31 | Aigars Mahinovs | link | issue31300 messages |
| 2017年08月29日 11:03:31 | Aigars Mahinovs | create |
|