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 | ddvoinikov |
|---|---|
| Recipients | ddvoinikov |
| Date | 2008年05月12日.04:51:55 |
| SpamBayes Score | 0.010384322 |
| Marked as misclassified | No |
| Message-id | <1210567925.19.0.359554733284.issue2832@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Stack trace information extracted with traceback.extract_stack is
incorrect in that the #-*- line causes double counting. For example:
#comment
from traceback import extract_stack
print("this is line", extract_stack()[-1][1])
prints 'this is line 3', but
#comment
#-*- coding: windows-1251 -*-
from traceback import extract_stack
print("this is line", extract_stack()[-1][1])
prints 'this is line 6' |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年05月12日 04:52:06 | ddvoinikov | set | spambayes_score: 0.0103843 -> 0.010384322 recipients: + ddvoinikov |
| 2008年05月12日 04:52:05 | ddvoinikov | set | spambayes_score: 0.0103843 -> 0.0103843 messageid: <1210567925.19.0.359554733284.issue2832@psf.upfronthosting.co.za> |
| 2008年05月12日 04:52:03 | ddvoinikov | link | issue2832 messages |
| 2008年05月12日 04:52:02 | ddvoinikov | create | |