[issue45175] No warning with '-W always' and cached import

2021-09-11 Thread Jason Yundt
New submission from Jason Yundt : I have a script which always produces a warning when you run it. If I import always_warns from another script, that script will only produce a warning once. Steps to reproduce: $ python -W always always_warns.py /tmp/Bug reproduction/always_warns.py:1

[issue44510] file.read() UnicodeDecodeError with large files on Windows

2021-06-25 Thread Jason Yundt
Change by Jason Yundt : -- nosy: +jayman ___ Python tracker <https://bugs.python.org/issue44510> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42492] [unittest] Missing docs for context manager attributes

2020-11-28 Thread Jason Yundt
New submission from Jason Yundt : The documentation talks about how assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex can be used as context managers. It also talks about the attributes of those context managers. Some attributes aren't documented. For example, the warning