[issue39318] NamedTemporaryFile could cause double-close on an fd if _TemporaryFileWrapper throws

2020-01-13 Thread Fabio Sangiovanni
Change by Fabio Sangiovanni : -- nosy: +sanjioh ___ Python tracker <https://bugs.python.org/issue39318> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2019-12-21 Thread Fabio Sangiovanni
Change by Fabio Sangiovanni : -- pull_requests: +17137 pull_request: https://github.com/python/cpython/pull/17677 ___ Python tracker <https://bugs.python.org/issue33

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2019-12-18 Thread Fabio Sangiovanni
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

[issue29073] bytearray.__mod__() truncates on first \x00

2016-12-26 Thread Fabio Sangiovanni
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.