Message311687
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') |
|
| Date |
User |
Action |
Args |
| 2018-02-05 20:07:22 | Tim.Graham | set | recipients:
+ Tim.Graham, serhiy.storchaka |
| 2018-02-05 20:07:22 | Tim.Graham | set | messageid: <[email protected]> |
| 2018-02-05 20:07:22 | Tim.Graham | link | issue32775 messages |
| 2018-02-05 20:07:22 | Tim.Graham | create | |
|