diff options
author | ptmcg <ptmcg@austin.rr.com> | 2021-10-22 17:43:03 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2021-10-22 17:43:03 -0500 |
commit | 3edde380a24a4bcef346519298f52a3d324c2d17 (patch) | |
tree | 28be8c5b7b092f72c789cd2607086fa02053f666 /docs | |
parent | 89b5b4a2569e41cbc9aff3c4cef1493721f9fdfe (diff) | |
download | pyparsing-git-3edde380a24a4bcef346519298f52a3d324c2d17.tar.gz |
Added support for python -W warning option to call enable_all_warnings() at startup. Also detects setting of PYPARSINGENABLEALLWARNINGS environment variable to any non-blank value.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/whats_new_in_3_0_0.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/whats_new_in_3_0_0.rst b/docs/whats_new_in_3_0_0.rst index 7baa25b..acbc88c 100644 --- a/docs/whats_new_in_3_0_0.rst +++ b/docs/whats_new_in_3_0_0.rst @@ -163,6 +163,10 @@ just namespaces, to add some helpful behavior: pp.enable_all_warnings() +- added support for calling ``enable_all_warnings()`` if warnings are enabled + using the Python ``-W`` switch, or setting a non-empty value to the environment + variable ``PYPARSINGENABLEALLWARNINGS``. + - added new warning, ``warn_on_match_first_with_lshift_operator`` to warn when using ``'<<'`` with a ``'|'`` ``MatchFirst`` operator, which will |