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 taleinat
Recipients larry, taleinat
Date 2014-01-22.16:42:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390408922.24.0.609938123562.issue20349@psf.upfronthosting.co.za>
In-reply-to
Content
This is caused by the code "fields = list(parser_body_fields)" under
"if new_or_init:" in CLanguage.output_templates().

'parser_body_fields' is initialized to None and may not be set before the
above mentioned code.

Attached is a patch which replaces the line with:

fields = list(parser_body_fields) if parser_body_fields is not None else []
History
Date User Action Args
2014-01-22 16:42:02taleinatsetrecipients: + taleinat, larry
2014-01-22 16:42:02taleinatsetmessageid: <1390408922.24.0.609938123562.issue20349@psf.upfronthosting.co.za>
2014-01-22 16:42:02taleinatlinkissue20349 messages
2014-01-22 16:42:02taleinatcreate