Closed anecdata closed 1 year ago
Might fix for 8.0.0 by increasing PYSTACK or might defer to later. See #7396 and #3362.
Might this be solved by refactoring Wiznet5k? At the moment, wiznet5k_socket.gethostbyname
calls wiznet5k.get_host_by_name
which instantiates an instance of wiznet5k-dns.DNS
and calls DNS.gethostbyname
which instantiates a wiznet5k_socket.socket
and makes calls to socket.send
and socket.recv
which calls WIZNET5k.socket_write
.
This could be refactored into wiznet5k_socket.gethostbyname
with a couple of functions to build and parse DNS messages and calls to the `WIZNET5K instance that is already linked to the sockets module.. The Wiznet5k DNS module could be removed completely.
Closing since we have pystack controls now, and WIZnet library has changed significantly. If this crops up again, we can re-open in the library.
CircuitPython version
Code/REPL
Behavior
Description
No response
Additional information
The hardware config is a QT Py ESP32-S2 wired to a WIZnet W5100S Pico hat.