circuitpython/shared-bindings
Jeff Epler 3dcd603e39 time: Fix and better document time.struct_time constructor
INCOMPATIBLE CHANGE: struct_time(1,2,3,4,5,6,7,8,9) is now _rejected_
just as on standad Python.

This incorrect constructor was added by me in #2327; I assumed
without even checking that the `struct_time` constructor was also
compatible with the `namedtuple` constructor, but it is not and has
always been rejected by standard Python (checked 2.7 and 3.9)

This commit restores the specific error message that we used for this
purpose, which was removed in the previous commit either out of laziness
or out of trying to reduce unneeded error strings. In this case, the
alternate string is too misleading (it refers to arguments, not to
sequence elements) so let's put the better message back.
2021-06-28 19:28:00 -05:00
..
_bleio Enable a BLE workflow 2021-06-24 12:59:14 -07:00
_eve Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
_pew Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
_pixelbuf Merge pull request #4716 from tyomitch/main 2021-05-08 08:47:29 -05:00
_stage Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
_typing modify copyright notice. 2021-04-25 19:57:21 +09:00
adafruit_bus_device run code formatting script 2021-03-15 19:27:36 +05:30
aesio Merge pull request #4716 from tyomitch/main 2021-05-08 08:47:29 -05:00
alarm Merge remote-tracking branch 'upstream/main' into sleep-revamp 2021-05-13 16:22:12 -04:00
analogio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
audiobusio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
audiocore Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
audioio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
audiomixer Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
audiomp3 Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
audiopwmio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
bitbangio run uncrustify 2021-03-26 15:38:20 -05:00
bitmaptools Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
bitops s/Circuit Python/CircuitPython/g 2021-05-06 16:22:35 +03:00
board run code formatting script 2021-03-15 19:27:36 +05:30
busio Make busio.SPI be NotImplementedError on proxlight to save space 2021-05-14 21:52:54 -04:00
camera Build fixes thanks to jepler 2021-05-06 09:04:56 -07:00
canio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
countio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
digitalio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
displayio Fixes needed after micropython merges 2021-05-28 11:13:55 -05:00
dualbank run code formatting script 2021-03-15 19:27:36 +05:30
fontio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
framebufferio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
frequencyio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
gamepad Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
gamepadshift update github actions xtensa cache id; fix a typo 2021-05-06 15:10:45 -04:00
gnss Build fixes thanks to jepler 2021-05-06 09:04:56 -07:00
i2cperipheral Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
imagecapture fix doc typos 2021-06-21 09:04:26 -04:00
ipaddress Removed 'raw' from error message 'raw in' 2021-05-22 12:36:28 +02:00
keypad Correct doc in EventQueue.c 2021-06-23 19:23:56 -04:00
math run code formatting script 2021-03-15 19:27:36 +05:30
memorymonitor Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
microcontroller ParallelImageCapture: Switch to taking a list of pins 2021-06-10 11:15:18 -05:00
msgpack Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
multiterminal run code formatting script 2021-03-15 19:27:36 +05:30
neopixel_write Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
network run code formatting script 2021-03-15 19:27:36 +05:30
nvm Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
os run code formatting script 2021-03-15 19:27:36 +05:30
ps2io Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
pulseio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
pwmio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
random run code formatting script 2021-03-15 19:27:36 +05:30
rgbmatrix ParallelImageCapture: Switch to taking a list of pins 2021-06-10 11:15:18 -05:00
rotaryio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
rtc Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
sdcardio run code formatting script 2021-03-15 19:27:36 +05:30
sdioio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
sharpdisplay run code formatting script 2021-03-15 19:27:36 +05:30
socket run code formatting script 2021-03-15 19:27:36 +05:30
socketpool run code formatting script 2021-03-15 19:27:36 +05:30
ssl run code formatting script 2021-03-15 19:27:36 +05:30
storage count in/out endpoints; allow more usb modules on low-endpoint boards 2021-05-13 21:59:02 -04:00
struct run code formatting script 2021-03-15 19:27:36 +05:30
supervisor Merge remote-tracking branch 'upstream/main' into setnextcode 2021-06-20 15:25:37 -04:00
synthio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
terminalio Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
time time: Fix and better document time.struct_time constructor 2021-06-28 19:28:00 -05:00
touchio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
uheap run code formatting script 2021-03-15 19:27:36 +05:30
usb_cdc Update __init__.c 2021-06-01 19:15:51 -05:00
usb_hid fix check of usb_hid.Device out_report_length 2021-05-27 21:29:38 -04:00
usb_midi count in/out endpoints; allow more usb modules on low-endpoint boards 2021-05-13 21:59:02 -04:00
ustack run code formatting script 2021-03-15 19:27:36 +05:30
vectorio Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
watchdog Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
wifi Fix esp32s2 builds after AP changes 2021-05-07 10:03:02 -07:00
wiznet Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
help.rst Apply a Sphinx transform to make the core module docs look better 2020-08-07 00:01:31 +09:00
index.rst docs: Improve 5.0.x <-> main branch doc linkrot 2020-06-14 11:12:35 -05:00
support_matrix.rst Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
util.c Refactor deinit check to reduce code size. 2019-06-12 11:36:43 -07:00
util.h Refactor deinit check to reduce code size. 2019-06-12 11:36:43 -07:00