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 barry
Recipients barry, ezio.melotti, methane, mrabarnett, rhettinger, serhiy.storchaka
Date 2017-10-10.15:25:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <49489D98-D6D3-4096-96AF-F6A0234CD329@python.org>
In-reply-to <1507316681.54.0.213398074469.issue31672@psf.upfronthosting.co.za>
Content
On Oct 6, 2017, at 15:04, Serhiy Storchaka <report@bugs.python.org> wrote:
> Serhiy Storchaka <storchaka+cpython@gmail.com> added the comment:
> 
> Another solution (works in 3.6 too): set idpattern to r'(?-i:[_a-zA-Z][_a-zA-Z0-9]*)'.
> 
> This looks pretty weird, setting the re.IGNORECASE flag and then unsetting it. But it works, and don't break the user code that changes idpattern without changing flags.

Oh, I think I like that :)
History
Date User Action Args
2017-10-10 15:25:29barrysetrecipients: + barry, rhettinger, ezio.melotti, mrabarnett, methane, serhiy.storchaka
2017-10-10 15:25:28barrylinkissue31672 messages
2017-10-10 15:25:28barrycreate