Skip to content

python-speed failing to run #2948

Closed

Description

@vprelovac

This is a simple python benchmark:

https://github.com/vprelovac/python-speed

Fails in first test with recursion limit message.

Activity

  1. DimitrisJim commented on Aug 24, 2021

    @DimitrisJim
    Member

    Fails in first test with recursion limit message.

    Could you please elaborate on this? What is the specific test that fails?

  2. vprelovac commented on Aug 24, 2021

    @vprelovac
    Author

    rustpython hits a recursion limit which cpython does not. Easiest is to clone the repo and run the test yourself.

    "RecursionError: maximum recursion depth exceeded "

  3. DimitrisJim commented on Aug 24, 2021

    @DimitrisJim
    Member

    The issue should contain an example of how the different implementations differ if possible. It shouldn't be required by people who want to help solve this issue to need to clone a different repository and run it, right?

    My best guess is this is caused by the fact RustPython's recursion limit is set to 256 and not 1000 as in CPython. See if raising the limit solves it.

  4. vprelovac commented on Aug 24, 2021

    @vprelovac
    Author

    That's OK I am taking time to merely report an issue in compatibility with CPython, it's entirely up to you how you want to deal with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions