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 menegazzobr
Recipients menegazzobr
Date 2012-03-01.18:02:59
SpamBayes Score 1.8982342e-07
Marked as misclassified No
Message-id <1330624985.96.0.952704814324.issue14169@psf.upfronthosting.co.za>
In-reply-to
Content
compiler.compile fails on "if" statement in attached file.

When executing the code

    compiler.compile(contents, '<string>', 'exec')

passing the attached file contents, the following error is raised:

    ValueError: chr() arg not in range(256)

This won't fail when using the builtin "compile". Also removing the "if" statement or any line before it, the contents are compiled successfully.
History
Date User Action Args
2012-03-01 18:03:06menegazzobrsetrecipients: + menegazzobr
2012-03-01 18:03:05menegazzobrsetmessageid: <1330624985.96.0.952704814324.issue14169@psf.upfronthosting.co.za>
2012-03-01 18:03:05menegazzobrlinkissue14169 messages
2012-03-01 18:03:05menegazzobrcreate