Go to file
Jeff Epler e05f0ba3b2
Revert "Correctly raise OS error in socketpool_socket_recv_into()"
This reverts commit 7e6e824d56.

Fixes #7770

The change in #7623 needs to be revered; the raise-site added in #7632
is the correct one and the one in socketpool needs to be reverted.

This is not affecting 8.0.x because #7623 was not back-ported to there
before we realized it was not a full fix.

Both #7770 and #7606 should be re-tested. I didn't test.
2023-03-22 14:32:06 -05:00
.devcontainer fixed typo (path) in postCreateCommand 2022-12-16 09:13:34 +01:00
.github use correct commits for diff 2023-03-12 09:44:13 +05:30
data Add Bangle.js 2, JDI memory displays and ACeP epd 2023-02-15 15:03:40 -08:00
devices/ble_hci Withdraw the _environ module 2022-12-08 15:33:10 -06:00
docs removing need to use print format option. 2023-03-20 17:23:49 -04:00
examples Fix all natmod tests to run on x64 2022-02-13 11:18:38 -06:00
extmod update ulab to 6.0.7 2023-02-01 09:08:18 -06:00
frozen update frozen libraries and get smaller RFM69 library 2023-02-27 20:56:14 -05:00
lib update tinyusb: fixes + no more submodules 2023-03-21 11:01:58 -04:00
LICENSES Add an explicit SPDX license file for ter-u12n. 2020-07-06 19:15:41 +01:00
locale rewrite allocate_pystack logic 2023-03-21 07:06:46 +05:30
logo Add license to some obvious files. 2020-07-06 19:16:25 +01:00
mpy-cross Implement scan, connect, ping 2022-09-28 10:06:33 -05:00
ports Revert "Correctly raise OS error in socketpool_socket_recv_into()" 2023-03-22 14:32:06 -05:00
py Merge pull request #7724 from tannewt/get_perfbench_running 2023-03-21 09:00:48 -07:00
shared Revert "debug_dhcp to follow general debug" 2022-11-30 22:44:18 +02:00
shared-bindings Make set_stack_limit respect fixed stack 2023-03-21 16:42:49 -07:00
shared-module call common validation function 2023-03-22 10:16:48 -05:00
supervisor Merge pull request #7767 from tannewt/imx_fixed_stack 2023-03-22 09:56:33 -07:00
tests struct: Check that argument counts match, similar to cpython3 2023-03-22 09:35:09 -05:00
tools Merge pull request #7765 from microdev1/ci 2023-03-21 23:37:17 -04:00
.git-blame-ignore-revs top: Update .git-blame-ignore-revs for latest formatting commit. 2021-04-27 23:46:46 +10:00
.gitattributes Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
.gitignore Rename test function, make 'bad' files binary & add another test 2022-12-09 15:23:56 -06:00
.gitmodules Switch iMX RT sdk to NXP repo 2023-03-21 16:21:57 -07:00
.mailmap Add a .mailmap file to collate together multiple author entries. 2020-07-06 19:15:41 +01:00
.pre-commit-config.yaml rework the getenv test again 2022-12-10 12:58:08 -06:00
.readthedocs.yml update .readthedocs.yml and add it to docs pattern 2023-03-11 11:56:04 +05:30
.rosie.yml Add license to some obvious files. 2020-07-06 19:16:25 +01:00
ACKNOWLEDGEMENTS Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
ACKNOWLEDGEMENTS.license Add license to some obvious files. 2020-07-06 19:16:25 +01:00
BUILDING.md uncrustify 0.75 is not OK 2023-03-11 08:13:30 -06:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md from source-of-truth repository. 2020-06-03 10:43:36 +01:00
conf.py be more specific with exclude_patterns 2022-11-28 21:09:57 +01:00
CONTRIBUTING.md Fix error 2020-10-26 23:36:54 +01:00
LICENSE update formatting of LICENSE and clean-up 2022-08-27 14:47:10 +05:30
LICENSE_MicroPython update formatting of LICENSE and clean-up 2022-08-27 14:47:10 +05:30
main.c rewrite allocate_pystack logic 2023-03-21 07:06:46 +05:30
Makefile use blobless partial clone for make fetch-submodules 2023-03-21 11:43:33 -04:00
MANIFEST.in-stubs refine stubs-building procedure 2021-06-22 08:59:05 -05:00
README.rst don't enter safemode.py on USER safe mode 2023-02-14 11:20:29 -05:00
README.rst-stubs Actually reduce the README text for the stubs package 2021-06-24 13:41:01 -05:00
requirements-ci.txt only install awscli when required 2023-01-16 17:03:39 +05:30
requirements-dev.txt use already built mpy-cross 2023-02-10 16:38:25 +05:30
requirements-doc.txt avoid problematic sphinx version number for rtd theme 2022-09-25 16:10:11 +02:00
runtime.py Conditionalize LTO 2022-05-27 12:59:54 -07:00
setup.py-stubs use --long for describe in setup.py-stubs 2022-02-18 21:22:02 -05:00
WEBUSB_README.md Rename esp32s2 port to espressif 2021-09-13 16:44:55 -07:00

CircuitPython
=============

.. image:: https://s3.amazonaws.com/adafruit-circuit-python/CircuitPython_Repo_header_logo.png

|Build Status| |Doc Status| |License| |Discord| |Weblate|

`circuitpython.org <https://circuitpython.org>`__ \| `Get CircuitPython <#get-circuitpython>`__ \|
`Documentation <#documentation>`__ \| `Contributing <#contributing>`__ \|
`Branding <#branding>`__ \| `Differences from Micropython <#differences-from-micropython>`__ \|
`Project Structure <#project-structure>`__

**CircuitPython** is a *beginner friendly*, open source version of Python for tiny, inexpensive
computers called microcontrollers.

This package contains the "stubs", or type definitions for CircuitPython.  With some advanced
editors and other tools, this information can be identify TypeErrors, AttributeErrors, and other
problems before you deploy your code to a device and can even help autocomplete your code.

.. |Build Status| image:: https://github.com/adafruit/circuitpython/workflows/Build%20CI/badge.svg
   :target: https://github.com/adafruit/circuitpython/actions?query=branch%3Amain
.. |Doc Status| image:: https://readthedocs.org/projects/circuitpython/badge/?version=latest
   :target: http://circuitpython.readthedocs.io/
.. |Discord| image:: https://img.shields.io/discord/327254708534116352.svg
   :target: https://adafru.it/discord
.. |License| image:: https://img.shields.io/badge/License-MIT-brightgreen.svg
   :target: https://choosealicense.com/licenses/mit/
.. |Weblate| image:: https://hosted.weblate.org/widgets/circuitpython/-/svg-badge.svg
   :target: https://hosted.weblate.org/engage/circuitpython/?utm_source=widget