Change by Thomas Gläßle :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue34624>
___
___
Pyth
Thomas Gläßle added the comment:
Ok, it seems at least the incorrect documentation has been fixed in the mean
time.
I'm going to close this as there seems to be no capacity to deal with this.
--
___
Python tracker
<https://bugs.py
Thomas Gläßle added the comment:
Hi, I have rebased this on master and fixed the minor conflict. Let me know if
there is anything else I can do.
Best, Thomas
--
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.
Thomas Gläßle added the comment:
Hi, thanks for the consideration!
Is there any reason to introduce different behaviour than with filterwarnings
here? This increases the number of things to remember - and except for the dot
regex syntax doesn't interfere with module names, so there is n
Thomas Gläßle 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
Change by Thomas Gläßle :
--
keywords: +patch
pull_requests: +8781
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34624>
___
___
Py
Thomas Gläßle added the comment:
Very sorry, the example command above should read:
python -Wi -W'default:::.*' -c 'import warnings; warnings.warn("This should
show up")'
--
___
Python tracker
<h
New submission from Thomas Gläßle :
Hi,
This command does not report a warning, while it should:
python -c 'import warnings; warnings.warn("This should show up")' -Wi
-W'default:::.*'
If the regex `.*` is replaced by `__main__` it works as expected