You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lack of with context manager makes it harder to write code / use libraries, compatible across radios (sources of sockets; e.g., native wifi, WIZnet, ESP32SPI).
Traceback (most recent call last):
File "<stdin>", line 38, in <module>
File "adafruit_ntp.py", line 77, in datetime
AttributeError: 'socket' object has no attribute '__exit__'
The text was updated successfully, but these errors were encountered:
Lack of
with
context manager makes it harder to write code / use libraries, compatible across radios (sources of sockets; e.g., native wifi, WIZnet, ESP32SPI).Example:
adafruit/Adafruit_CircuitPython_NTP#31
The text was updated successfully, but these errors were encountered: