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 vstinner
Recipients belopolsky, vstinner
Date 2010-12-28.23:15:11
SpamBayes Score 3.4064437e-06
Marked as misclassified No
Message-id <1293578115.64.0.188264696571.issue10785@psf.upfronthosting.co.za>
In-reply-to
Content
> maybe a more elegant solution than changing the type conditional 
> on PGEN can be found

In pgen, the filename is only used to display the following warning, in indenterror():

   <filename>: inconsistent use of tabs and spaces in indentation

In pratical, this warning never occurs on Grammar/Grammar: this file doesn't use indentation at all, only continuation lines.

A better solution is maybe just to drop the filename for pgen. Anyway, pgen only compiles *one* file (Grammar/Grammar), so we don't need the input filename ;-)
History
Date User Action Args
2010-12-28 23:15:15vstinnersetrecipients: + vstinner, belopolsky
2010-12-28 23:15:15vstinnersetmessageid: <1293578115.64.0.188264696571.issue10785@psf.upfronthosting.co.za>
2010-12-28 23:15:11vstinnerlinkissue10785 messages
2010-12-28 23:15:11vstinnercreate