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 gregory.p.smith
Recipients ammar2, gregory.p.smith, meador.inge, pablogsal, taleinat, terry.reedy
Date 2018-10-30.00:39:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540859972.8.0.788709270274.issue35107@psf.upfronthosting.co.za>
In-reply-to
Content
Interesting!  I have a 3.6.2 sitting around and cannot reproduce that "x=1" behavior.

I don't know what the behavior _should_ be.  It just feels natural that untokenize should be able to round trip anything tokenize or generate_tokens emits without raising an exception.

I'm filing this as the "#" case came up within some existing code we had that happened to effectively test that particular round trip.
History
Date User Action Args
2018-10-30 00:39:32gregory.p.smithsetrecipients: + gregory.p.smith, terry.reedy, taleinat, meador.inge, ammar2, pablogsal
2018-10-30 00:39:32gregory.p.smithsetmessageid: <1540859972.8.0.788709270274.issue35107@psf.upfronthosting.co.za>
2018-10-30 00:39:32gregory.p.smithlinkissue35107 messages
2018-10-30 00:39:32gregory.p.smithcreate