GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Tracking issue of os.utime regression · Issue #4053 · RustPython/RustPython

Tracking issue of os.utime regression #4053

New issue
Copy link
New issue
Copy link
Closed
Closed
Tracking issue of os.utime regression#4053
Copy link
Assignees
youknowonecopilot-swe-agent
Labels
C-bugSomething isn't workingSomething isn't working

Description

@youknowone
youknowone
opened on Aug 13, 2022
Issue body actions

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

  • std::time::Duration::from_secs_f64 behavior changed in 1.63.0 rust-lang/rust#100480

To-do

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

Once it is resolved:

  • Revert CI changes set CI toolchain to 1.62.1 #4046
Reacted by Copilot

Activity

  1. youknowone
    added
    C-bugSomething isn't workingSomething isn't working
    on Aug 13, 2022
  2. youknowone commented on Aug 13, 2022

    @youknowone
    youknowone
    on Aug 13, 2022
    MemberAuthor
    More actions

    In CPython, _PyTime_DoubleToDenominator provides rounding option. floor option is passed for this path.

  3. youknowone commented on Aug 17, 2022

    @youknowone
    youknowone
    on Aug 17, 2022
    MemberAuthor
    More actions

    It was an intended behavior change from Rust. we need to implement rounding option like cpython.

  4. youknowone
    assigned
    Copilot
    and
    youknowone
    on Dec 25, 2025
  5. youknowone commented on Dec 25, 2025

    @youknowone
    youknowone
    on Dec 25, 2025
    MemberAuthor
    More actions

    The test is changed not to check nanosecond drift #6501

  6. youknowone
    closed this as completedon Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • Copilot
  • @youknowone
    youknowone

Labels

C-bugSomething isn't workingSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.