New submission from Erlend Egeberg Aasland <erlend.aasl...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue42393> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com