Thomas Gläßle <tho...@coldfix.de> added the comment:

Thanks for your response. I have opened a PR at [1] that would remove the 
re.escape such that the implementation matches the documentation if you decide 
that this is fine.

[1]: https://github.com/python/cpython/pull/9358

Personally, I would go even further and always add the `(\..*)?$` suffix 
(instead of only `$`) to make it easier to match all modules in a package which 
is probably the most important use-case for the case of packages. What do you 
think?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34624>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to