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 gregory.p.smith
Date 2018-01-04.23:28:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515108489.44.0.467229070634.issue32496@psf.upfronthosting.co.za>
In-reply-to
Content
see the attached sample code demonstrating the problem.

basically lib2to3 fails to parse:

  dummy(**kwargs if kwargs else dict())

with an error like:

    raise ParseError("bad input", type, value, context)
lib2to3.pgen2.parse.ParseError: bad input: type=1, value='if', context=(' ', (3, 21))
History
Date User Action Args
2018-01-04 23:28:09gregory.p.smithsetrecipients: + gregory.p.smith
2018-01-04 23:28:09gregory.p.smithsetmessageid: <1515108489.44.0.467229070634.issue32496@psf.upfronthosting.co.za>
2018-01-04 23:28:09gregory.p.smithlinkissue32496 messages
2018-01-04 23:28:09gregory.p.smithcreate