circuitpython/ports
Damien George e292296d52 py/objexcept: Remove optional TimeoutError exception.
TimeoutError was added back in 077812b2ab for
the cc3200 port. In f522849a4d the cc3200
port enabled use of it in the socket module aliased to socket.timeout.  So
it was never added to the builtins.  Then it was replaced by
OSError(ETIMEDOUT) in 047af9b10b.

The esp32 port enables this exception, since the very beginning of that
port, but it could never be accessed because it's not in builtins.

It's being removed: 1) to not encourage its use; 2) because there are a lot
of other OSError subclasses which are not defined at all, and having
TimeoutError is a bit inconsistent.

Note that ports can add anything to the builtins via MICROPY_PORT_BUILTINS.
And they can also define their own exceptions using the
MP_DEFINE_EXCEPTION() macro.
2020-04-09 16:09:38 +10:00
..
bare-arm ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
cc3200 ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
esp32 py/objexcept: Remove optional TimeoutError exception. 2020-04-09 16:09:38 +10:00
esp8266 ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
javascript all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
mimxrt all: Remove spaces inside and around parenthesis. 2020-03-28 23:36:44 +11:00
minimal ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
nrf ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
pic16bit all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
powerpc all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
qemu-arm ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
samd all: Remove spaces inside and around parenthesis. 2020-03-28 23:36:44 +11:00
stm32 ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
teensy ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
unix ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
windows windows: Update genhdr.targets to match makeqstrdefs.py args. 2020-04-05 14:29:49 +10:00
zephyr all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00