8000 time.sleep(-1.0) causes panic · Issue #5895 · RustPython/RustPython · GitHub
[go: up one dir, main page]

Skip to content
time.sleep(-1.0) causes panic #5895
@youknowone

Description

@youknowone

Summary

https://github.com/RustPython/RustPython/pull/5892/files#r2183174081

import time
time.sleep(-1)

Expected

raise exception

Actual

panic

Python Documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0