Suggested by Damien: https://github.com/micropython/micropython/pull/6844#issuecomment-774811072