bbcmicrobit / bbcmicrobit/micropython

Running bytes(-1) crashes MicroPython

Open
#664 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
646
Forks
290
PR merge metrics
No merged PRs in 30d

Description

Running `bytes(-1)` from the REPL or a script stops the microbit responding, presumably due to MicroPython crashing.

Python3 gives the `ValueError: negative count` exception, and python 2 gives `-1`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.