Author Tim.Graham
Recipients Tim.Graham, serhiy.storchaka
Date 2018-02-05.20:07:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517861242.52.0.467229070634.issue32775@psf.upfronthosting.co.za>
In-reply-to
Content
As discussed in issue30349#msg311684, fnmatch.translate() can produce a pattern which emits a nested set warning:

>>> import fnmatch, re
>>> re.compile(fnmatch.translate('[[]foo]'))
__main__:1: FutureWarning: Possible nested set at position 10
re.compile('(?s:\\(.s:[[]foo\\\\\\]\\)\\\\Z)\\Z')
History
Date User Action Args
2018-02-05 20:07:22Tim.Grahamsetrecipients: + Tim.Graham, serhiy.storchaka
2018-02-05 20:07:22Tim.Grahamsetmessageid: <1517861242.52.0.467229070634.issue32775@psf.upfronthosting.co.za>
2018-02-05 20:07:22Tim.Grahamlinkissue32775 messages
2018-02-05 20:07:22Tim.Grahamcreate