classification
Title: Raise overflow errors iso. deprecation warnings in socket.htons and socket.ntohs (was deprecated in 3.7)
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.10
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: erlendaasland, pablogsal, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2020-11-17 20:56 by erlendaasland, last changed 2020-11-17 20:56 by erlendaasland.

Files
File name Uploaded Description Edit
error_iso_warning.patch erlendaasland, 2020-11-17 20:56
Messages (1)
msg381284 - (view) Author: Erlend Egeberg Aasland (erlendaasland) * Date: 2020-11-17 20:56
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.
History
Date User Action Args
2020-11-17 20:56:16erlendaaslandsettype: behavior
2020-11-17 20:56:09erlendaaslandcreate