Skip to content

Recursion depth exceed when generating large random trees #2626

Open
@hyanwong

Description

@hyanwong

A trivial thing, but this hits python's recursion depth limit:

tskit.Tree.generate_random_binary(1_000_000)

At some point in the distant future we might want to recode generate_random_binary not to use recursion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Python APIIssue is about the Python APIenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions