circuitpython/shared-bindings
Jeff Epler aef55b7e41
Add SocketPool.gaierror
gaierror(-2) is raised in the failure case of getaddrinfo. This is
compatible with cpython's socket module.

Typical session:
```
>>> import socketpool
>>> import wifi
>>> socket = socketpool.SocketPool(wifi.radio)
>>> try: socket.getaddrinfo("boo", 0)
... except socket.gaierror as e: ee = e
...
>>> type(ee)
<class 'gaierror'>
>>> ee.errno == socket.EAI_NONAME
True
>>> ee.strerror
'Name or service not known'
>>> raise ee
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 1, in <module>
gaierror: (-2, 'Name or service not known')
```

Closes: #6941
2022-11-28 16:57:44 -06:00
..
__future__ add annotations to __future__; don't generate __future__ stubs 2022-03-10 11:19:35 -05:00
_bleio add Characteristic.descriptors to locals dict 2022-10-26 12:34:33 -04:00
_eve Tweak black_bindings 2022-09-30 11:18:13 -05:00
_pew Tweak black_bindings 2022-09-30 11:18:13 -05:00
_stage Tweak black_bindings 2022-09-30 11:18:13 -05:00
adafruit_bus_device Tweak black_bindings 2022-09-30 11:18:13 -05:00
adafruit_pixelbuf Save code space by packing rgbw values into C union 2022-11-14 09:29:45 -06:00
aesio Tweak black_bindings 2022-09-30 11:18:13 -05:00
alarm wip 2022-10-27 22:42:04 -04:00
analogbufio Tweak black_bindings 2022-09-30 11:18:13 -05:00
analogio shared-bindings: Get rid of CYW43 special cases in shared-bindings 2022-11-14 08:44:08 -06:00
atexit Tweak black_bindings 2022-09-30 11:18:13 -05:00
audiobusio catalog implementation limitations in documentation 2022-10-21 13:58:34 -04:00
audiocore Tweak black_bindings 2022-09-30 11:18:13 -05:00
audioio Tweak black_bindings 2022-09-30 11:18:13 -05:00
audiomixer Tweak black_bindings 2022-09-30 11:18:13 -05:00
audiomp3 Tweak black_bindings 2022-09-30 11:18:13 -05:00
audiopwmio Tweak black_bindings 2022-09-30 11:18:13 -05:00
bitbangio Tweak black_bindings 2022-09-30 11:18:13 -05:00
bitmaptools Tweak black_bindings 2022-09-30 11:18:13 -05:00
bitops Tweak black_bindings 2022-09-30 11:18:13 -05:00
board Tweak black_bindings 2022-09-30 11:18:13 -05:00
busio Simplify argument checking to reduce translated strings 2022-11-07 12:37:11 -06:00
camera Tweak black_bindings 2022-09-30 11:18:13 -05:00
canio Tweak black_bindings 2022-09-30 11:18:13 -05:00
coproc coproc module enhancements 2022-10-22 19:08:49 +05:30
countio catalog implementation limitations in documentation 2022-10-21 13:58:34 -04:00
digitalio shared-bindings: Get rid of CYW43 special cases in shared-bindings 2022-11-14 08:44:08 -06:00
displayio Tweak black_bindings 2022-09-30 11:18:13 -05:00
dotenv fix some dotenv parsing 2022-10-03 21:56:11 -04:00
dualbank add storage extension python api 2022-10-13 09:53:33 +05:30
floppyio Tweak black_bindings 2022-09-30 11:18:13 -05:00
fontio Tweak black_bindings 2022-09-30 11:18:13 -05:00
framebufferio Tweak black_bindings 2022-09-30 11:18:13 -05:00
frequencyio Tweak black_bindings 2022-09-30 11:18:13 -05:00
getpass Tweak black_bindings 2022-09-30 11:18:13 -05:00
gifio Tweak black_bindings 2022-09-30 11:18:13 -05:00
gnss Tweak black_bindings 2022-09-30 11:18:13 -05:00
hashlib Tweak black_bindings 2022-09-30 11:18:13 -05:00
i2ctarget Don't block in I2CTarget.request(-1) 2022-11-20 16:08:00 +01:00
imagecapture Tweak black_bindings 2022-09-30 11:18:13 -05:00
ipaddress Tweak black_bindings 2022-09-30 11:18:13 -05:00
is31fl3741 Tweak black_bindings 2022-09-30 11:18:13 -05:00
keypad Use micropython #defines for stream polling operations 2022-10-14 12:15:30 -05:00
math Tweak black_bindings 2022-09-30 11:18:13 -05:00
mdns Tweak black_bindings 2022-09-30 11:18:13 -05:00
memorymonitor Tweak black_bindings 2022-09-30 11:18:13 -05:00
microcontroller Fix formatting of "Limitations:" in a couple of modules 2022-10-26 12:33:16 -04:00
msgpack Tweak black_bindings 2022-09-30 11:18:13 -05:00
neopixel_write Tweak black_bindings 2022-09-30 11:18:13 -05:00
nvm restore nvm module 2022-10-06 13:18:19 -05:00
onewireio Tweak black_bindings 2022-09-30 11:18:13 -05:00
os catalog implementation limitations in documentation 2022-10-21 13:58:34 -04:00
paralleldisplay Tweak black_bindings 2022-09-30 11:18:13 -05:00
ps2io Tweak black_bindings 2022-09-30 11:18:13 -05:00
pulseio Tweak black_bindings 2022-09-30 11:18:13 -05:00
pwmio Tweak black_bindings 2022-09-30 11:18:13 -05:00
qrio Tweak black_bindings 2022-09-30 11:18:13 -05:00
rainbowio Tweak black_bindings 2022-09-30 11:18:13 -05:00
random Tweak black_bindings 2022-09-30 11:18:13 -05:00
rgbmatrix Tweak black_bindings 2022-09-30 11:18:13 -05:00
rotaryio Tweak black_bindings 2022-09-30 11:18:13 -05:00
rtc catalog implementation limitations in documentation 2022-10-21 13:58:34 -04:00
sdcardio Tweak black_bindings 2022-09-30 11:18:13 -05:00
sdioio Tweak black_bindings 2022-09-30 11:18:13 -05:00
sharpdisplay run black_bindings across all bindings 2022-09-27 15:21:42 -05:00
socketpool Add SocketPool.gaierror 2022-11-28 16:57:44 -06:00
ssl Add support for SSL client certificate (load_cert_chain) 2022-10-10 15:10:53 -05:00
storage add storage extension python api 2022-10-13 09:53:33 +05:30
struct Tweak black_bindings 2022-09-30 11:18:13 -05:00
supervisor implement suggested change 2022-10-04 08:28:48 +05:30
synthio Tweak black_bindings 2022-09-30 11:18:13 -05:00
terminalio Fix type annotation mistake 2022-11-07 13:51:58 -06:00
time Tweak black_bindings 2022-09-30 11:18:13 -05:00
touchio Simplify argument checking to reduce translated strings 2022-11-07 12:37:11 -06:00
traceback format_traceback: Return list, as documented, and compatible with CPython 2022-10-13 09:38:43 -05:00
uheap Tweak black_bindings 2022-09-30 11:18:13 -05:00
usb Tweak black_bindings 2022-09-30 11:18:13 -05:00
usb_cdc Use micropython #defines for stream polling operations 2022-10-14 12:15:30 -05:00
usb_hid Simplify argument checking to reduce translated strings 2022-11-07 12:37:11 -06:00
usb_host Tweak black_bindings 2022-09-30 11:18:13 -05:00
usb_midi Use micropython #defines for stream polling operations 2022-10-14 12:15:30 -05:00
ustack Tweak black_bindings 2022-09-30 11:18:13 -05:00
vectorio fix type name 2022-11-11 20:18:42 -06:00
watchdog Simplify argument checking to reduce translated strings 2022-11-07 12:37:11 -06:00
wifi correct Radio.connect() and .start_ap() signatures; clean up some code 2022-11-22 17:11:03 -05:00
zlib Tweak black_bindings 2022-09-30 11:18:13 -05:00
help.rst
index.rst
support_matrix.rst add missing native modules to support matrix 2022-10-04 19:22:18 -04:00
util.c Conditionalize LTO 2022-05-27 12:59:54 -07:00
util.h