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 rhettinger
Recipients John Hagen, abarry, barry, eli.bendersky, ethan.furman, python-dev, rhettinger, vstinner
Date 2016-08-17.18:30:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471458628.53.0.16931193503.issue26988@psf.upfronthosting.co.za>
In-reply-to
Content
> you ran your test script with the -m "run module as script" flag

Right, that was a mistest, so it looks like triple quotes do work.

I did notice that there's also an issue if one line reads, "red='hello'".

But really, the big issue is using a bare-identifier to fiat an attribute into existence.  That's a door that really shouldn't be opened.

Secondarily, the doesn't seem to be any use case that can't be readily covered by the existing classes.  There is no real need for the witchcraft and the departure from Python norms.
History
Date User Action Args
2016-08-17 18:30:28rhettingersetrecipients: + rhettinger, barry, vstinner, eli.bendersky, ethan.furman, python-dev, abarry, John Hagen
2016-08-17 18:30:28rhettingersetmessageid: <1471458628.53.0.16931193503.issue26988@psf.upfronthosting.co.za>
2016-08-17 18:30:28rhettingerlinkissue26988 messages
2016-08-17 18:30:28rhettingercreate