[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation
Fabio Sangiovanni added the comment: Hi, I was looking at the dataclasses docs and it seems to me that the PR associated to this issue has been merged into 3.7 only, but should be backported to 3.8 and to master. I will post a comment on the PR itself as well. Thanks, Fabio -- nosy: +sanjioh ___ Python tracker <https://bugs.python.org/issue33961> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation
Change by Fabio Sangiovanni : -- pull_requests: +17137 pull_request: https://github.com/python/cpython/pull/17677 ___ Python tracker <https://bugs.python.org/issue33961> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws
Change by Fabio Sangiovanni : -- nosy: +sanjioh ___ Python tracker <https://bugs.python.org/issue39318> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29073] bytearray.__mod__() truncates on first \x00
New submission from Fabio Sangiovanni: Originally posted by Russell Keith-Magee on Twitter: https://twitter.com/freakboy3742/status/812609675283681280 Reproduced successfully on Python 3.5.2 >>> x = bytearray(1) >>> y = {} >>> x % y Python3.5: bytearray(b'') Python3.6: bytearray(b'\x00') also: >>> bytearray([0,1]) % {} # same with [], (), range(42) bytearray(b'') >>> bytearray([1,0]) % {} bytearray(b'\x01') -- components: Interpreter Core messages: 284018 nosy: sanjioh priority: normal severity: normal status: open title: bytearray.__mod__() truncates on first \x00 type: behavior versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue29073> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com