Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tracking issue of os.utime regression #4053

Open
@youknowone

Description

@youknowone

std::time::Duration::from_secs_f64 behavior is changed in Rust 1.63.

related python test:

  • test_os::test_utime_by_indexed
  • test_os::test_utime_by_times

test command:

  • cargo +stable run Lib/test/test_os.py -k utime -v
  • cargo +1.62.1 run Lib/test/test_os.py -k utime -v

Rust issue including minimal reproducible code

To-do

We will stay on 1.62.1 until checking if it is a rust bug or intended change.

Once it is resolved:

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions