[issue42393] Raise overflow errors iso. deprecation warnings in socket.htons and socket.ntohs (was deprecated in 3.7)

Erlend Egeberg Aasland report at bugs.python.org
Tue Nov 17 15:56:09 EST 2020


New submission from Erlend Egeberg Aasland <erlend.aasland at innova.no>:

Silent truncation was deprecated in Python 3.7 in bpo-28332 with commit 6a7d3480fc8fe4c60538547d2935083ccff0f631 by Serhiy Storchaka. It should be ok to turn these into OverflowError's starting with Python 3.10.

----------
components: Library (Lib)
files: error_iso_warning.patch
keywords: patch
messages: 381284
nosy: erlendaasland, pablogsal, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Raise overflow errors iso. deprecation warnings in socket.htons and socket.ntohs (was deprecated in 3.7)
versions: Python 3.10
Added file: https://bugs.python.org/file49605/error_iso_warning.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42393>
_______________________________________


More information about the Python-bugs-list mailing list