Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: garynthompson/micropython-lib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: micropython/micropython-lib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 53 files changed
  • 8 contributors

Commits on Apr 12, 2025

  1. aiohttp: Allow headers to be passed to a WebSocketClient.

    This commit will make it possible to add headers to a Websocket.
    
    Among other things, this allows making a connection to online MQTT brokers
    over websocket, using the header entry "Sec-WebSocket-Protocol":"mqtt" in
    the handshake of the upgrade protocol.
    
    Signed-off-by: Damien George <[email protected]>
    jomasnash authored and dpgeorge committed Apr 12, 2025
    Configuration menu
    Copy the full SHA
    05a56c3 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2025

  1. usb-device-cdc: Optimise writing small data so it doesn't require alloc.

    Only allocate a memoryview when the (first) write was partial.
    
    Signed-off-by: Matthias Urlichs <[email protected]>
    smurfix authored and dpgeorge committed Apr 13, 2025
    Configuration menu
    Copy the full SHA
    9307e21 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2025

  1. inspect: Fix isgenerator logic.

    Also optimise both `isgenerator()` and `isgeneratorfunction()` so they use
    the same lambda, and don't have to create it each time they are called.
    
    Fixes issue micropython#997.
    
    Signed-off-by: Damien George <[email protected]>
    dpgeorge committed Apr 14, 2025
    Configuration menu
    Copy the full SHA
    48bf3a7 View commit details
    Browse the repository at this point in the history
  2. inspect: Add basic unit tests.

    Signed-off-by: Damien George <[email protected]>
    dpgeorge committed Apr 14, 2025
    Configuration menu
    Copy the full SHA
    2665047 View commit details
    Browse the repository at this point in the history
  3. inspect: Implement iscoroutinefunction and iscoroutine.

    Signed-off-by: Damien George <[email protected]>
    dpgeorge committed Apr 14, 2025
    Configuration menu
    Copy the full SHA
    5b496e9 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2025

  1. lora: Fix SNR value in SX126x received packets.

    Wasn't being treated as a signed value.
    
    Fixes issue micropython#999.
    
    Signed-off-by: Angus Gratton <[email protected]>
    projectgus authored and dpgeorge committed Apr 24, 2025
    Configuration menu
    Copy the full SHA
    f8c8875 View commit details
    Browse the repository at this point in the history
  2. top: Bump the Ruff version to 0.11.6.

    With small code fixes to match.
    
    Signed-off-by: Angus Gratton <[email protected]>
    projectgus authored and dpgeorge committed Apr 24, 2025
    Configuration menu
    Copy the full SHA
    d887a02 View commit details
    Browse the repository at this point in the history
  3. all: Apply Ruff 0.11.6 reformatting changes.

    Signed-off-by: Angus Gratton <[email protected]>
    projectgus authored and dpgeorge committed Apr 24, 2025
    Configuration menu
    Copy the full SHA
    68e0dfc View commit details
    Browse the repository at this point in the history

Commits on May 15, 2025

  1. utop: Add initial implementation for ESP32.

    Signed-off-by: Daniël van de Giessen <[email protected]>
    DvdGiessen committed May 15, 2025
    Configuration menu
    Copy the full SHA
    0d60de6 View commit details
    Browse the repository at this point in the history
  2. utop: Print MicroPython memory info.

    Signed-off-by: Daniël van de Giessen <[email protected]>
    DvdGiessen committed May 15, 2025
    Configuration menu
    Copy the full SHA
    08e09af View commit details
    Browse the repository at this point in the history
  3. utop: Print IDF heap details.

    Signed-off-by: Daniël van de Giessen <[email protected]>
    DvdGiessen committed May 15, 2025
    Configuration menu
    Copy the full SHA
    54d5f7c View commit details
    Browse the repository at this point in the history

Commits on May 22, 2025

  1. tools/verifygitlog.py: Sync with changes from the main repo.

    This includes the following commits:
    
    - Allow long co-author and sign-off names.
    - Disallow a leading slash in commit subject line.
    - Apply stricter rules on git subject line.
    - Show invalid commit subjects in quotes.
    
    Signed-off-by: Daniël van de Giessen <[email protected]>
    DvdGiessen authored and projectgus committed May 22, 2025
    Configuration menu
    Copy the full SHA
    567540d View commit details
    Browse the repository at this point in the history

Commits on May 28, 2025

  1. urllib.urequest: Add support for headers to urequest.urlopen.

    This is an extension to CPython, similar to the `method` argument.
    
    Signed-off-by: Adam Lewis <[email protected]>
    dotdashnotdotsoftware authored and dpgeorge committed May 28, 2025
    Configuration menu
    Copy the full SHA
    96bd01e View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2025

  1. aiorepl: Use blocking reads for raw REPL and raw paste.

    Raw REPL mode is generally used as a command channel where all stdio
    traffic is related directly to the raw commands and responses sent.
    
    For this to work in aiorepl we need to ensure background tasks don't sent/
    receive anything on stdio else the command channel will be corrupted.
    
    The simplest way to achieve this is to make the raw commands blocking and
    atomic rather than asyncio, assuming the user wont leave the device in raw
    mode for too long at any one time.
    
    Signed-off-by: Andrew Leech <[email protected]>
    pi-anl authored and dpgeorge committed Jun 3, 2025
    Configuration menu
    Copy the full SHA
    aad2e48 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2025

  1. errno: Add ENOTCONN constant.

    This is present in core MicroPython so needs to be added here.
    
    Signed-off-by: Nick Budak <[email protected]>
    thatbudakguy authored and dpgeorge committed Jun 5, 2025
    Configuration menu
    Copy the full SHA
    15a6233 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2025

  1. logging: Allow logging.exception helper to handle tracebacks.

    Although `Logger.exception` supports passing exception info with
    `exc_info`, when you use `logging.exception` keyword arguments are not
    forwarded to the root logger, which makes passing `exc_info` raise
    `TypeError`.
    
    Signed-off-by: Nick Budak <[email protected]>
    thatbudakguy authored and dpgeorge committed Jun 6, 2025
    Configuration menu
    Copy the full SHA
    6e24cff View commit details
    Browse the repository at this point in the history
Loading