[Python-ideas] Updated PEP 428 (pathlib)
Antoine Pitrou
solipsis at pitrou.net
Thu Mar 7 12:58:32 CET 2013
Le Thu, 07 Mar 2013 11:50:31 +0000,
MRAB <python at mrabarnett.plus.com> a
écrit :
> I didn't say that it should be based on regex. What I meant was that
> it didn't seem that difficult compared to the regex module.
>
> That module is more resistant to catastrophic backtracking and some of
> its tricks could be used for the much simpler fnmatch to make a new
> implementation of _that_ more resistant to the problem. I'm currently
> thinking about the details.
Keep in mind it shouldn't slow down the general (non-hostile) use case.
Regards
Antoine.
More information about the Python-ideas
mailing list