# ResourceWarning for sockets: unclosed <socket.socket fd=N, family=2, type=1, proto=0> (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/resourcewarning-for-sockets-unclosed-socket-socket-fd-n-family-2-type-1-proto-0-python-3-12-10-66d9fba65338
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, resourcewarning, socket

socket.socket() deleted without close under -W default printed that line (family=2 is AF_INET, type=1 SOCK_STREAM).
