Using MicroPython, it causes Warning: Comparison between bytes and str to be printed to the standard error output when calling request. It causes additional memory allocations. The "Host" header (if present) must always use b"Host" as the header dictionary key, i.e. it must be of type by...
start/end arguments in the str.startswith() and str.endswith() methods; enabling of the two-argument version of the built-in next() function on most of the ports; a new sys.implementation._build entry which holds the build name of the target; and vfs.mount() with no arguments now re...
"""returnstr(html)# Connect to WLANwlan=network.WLAN(network.STA_IF)wlan.active(True)wlan.connect(ssid,password)# Wait for Wi-Fi connectionconnection_timeout=10whileconnection_timeout>0:ifwlan.status()>=3:breakconnection_timeout-=1print('Waiting for Wi-Fi connection...')time.sleep(1)# ...
Improvements to the core interpreter include: full support for tuples and start/end arguments in thestr.startswith()andstr.endswith()methods; enabling of the two-argument version of the built-innext()function on most of the ports; a newsys.implementation._buildentry which holds the build nam...
"""returnstr(html)# Connect to WLANwlan=network.WLAN(network.STA_IF)wlan.active(True)wlan.connect(ssid,password)# Wait for Wi-Fi connectionconnection_timeout=10whileconnection_timeout>0:ifwlan.status()>=3:breakconnection_timeout-=1print('Waiting for Wi-Fi connection...')time.sleep(1)# ...
io/bytesio_ext2: remove dependency on specific EINVAL value run-tests: support esp32 as a target for running the test suite cpydiff: remove core_function_unpacking now that it succeeds cpydiff: remove types_str_decodeerror now that it succeeds cpydiff: remove working cases from types_float_...
objstr: skip whitespace in bytes.fromhex() asmrv32: fix short/long jumps scheduling asmrv32: emit C.LW opcodes only when necessary asmrv32: use REG_TEMP2 whenever possible mkrules.mk: fix 'make submodules' when building out-of-tree ...
basics: automatically skip tests that use str/bytes modulo-format add feature check for uio module and skip corresponding tests basics: split sys.exit test to separate file so it can be skipped extmod: add test for ussl when passing in key/cert params ...
objstr: remove duplicate % in error string objstringio: expose tell() on StringIO and BytesIO objects modmicropython: add heap_locked function to test state of heap stream.h: include sys/types.h to get size_t and off_t for POSIX API ...
remove types_str_endswith - ports/alif_hardware: add flash testing script - update UART and SPI tests to work on Alif boards - run-tests: print a note if it looks like unittest.main() missing tools: - mpremote: fix UnboundLocalError in Transport.fs_writefile() - ci.sh: fix commit ms...