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 skrah
Recipients pitrou, ron_adam, skrah
Date 2010-07-21.10:08:19
SpamBayes Score 0.00707572
Marked as misclassified No
Message-id <1279706901.69.0.594600032733.issue9319@psf.upfronthosting.co.za>
In-reply-to
Content
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) {
History
Date User Action Args
2010-07-21 10:08:21skrahsetrecipients: + skrah, pitrou, ron_adam
2010-07-21 10:08:21skrahsetmessageid: <1279706901.69.0.594600032733.issue9319@psf.upfronthosting.co.za>
2010-07-21 10:08:19skrahlinkissue9319 messages
2010-07-21 10:08:19skrahcreate