Message111032
Looks like tok->filename isn't set in PyTokenizer_FromFile:
Index: Parser/tokenizer.c
===================================================================
--- Parser/tokenizer.c (revision 82984)
+++ Parser/tokenizer.c (working copy)
@@ -818,6 +818,7 @@
tok->cur = tok->inp = tok->buf;
tok->end = tok->buf + BUFSIZ;
tok->fp = fp;
+ tok->filename = "XXX";
tok->prompt = ps1;
tok->nextprompt = ps2;
if (enc != NULL) { |
|
Date |
User |
Action |
Args |
2010-07-21 10:08:21 | skrah | set | recipients:
+ skrah, pitrou, ron_adam |
2010-07-21 10:08:21 | skrah | set | messageid: <1279706901.69.0.594600032733.issue9319@psf.upfronthosting.co.za> |
2010-07-21 10:08:19 | skrah | link | issue9319 messages |
2010-07-21 10:08:19 | skrah | create | |
|