Skip to content

time.sleep(-1.0) causes panic #5895

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