Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 676
    • Issues 676
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • PyPyPyPy
  • pypypypy
  • Merge requests
  • !677

PEP 564 implementation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bitbucket Importer requested to merge branch/py3.7-pep564 into branch/py3.7 Nov 02, 2019
  • Overview 31
  • Commits 7
  • Pipelines 0
  • Changes 5

Created originally on Bitbucket by Yannick_Jadoul (Yannick Jadoul)

The only thing that’s not tested is time.clock_settime_ns (but neither is time.clock_settime). Not that straightforward to test without messing up the time of the host system?

Cfr. https://www.python.org/dev/peps/pep-0564/ and https://github.com/python/cpython/pull/3989

Two remarks:

  • I don't fully understand what widen does or when it's necessary, so I imitated existing usage. But please check.
  • rposix.CLOCK_TICKS_PER_SECOND feels like it should be an int rather than float, but since it's in a different module, I didn't dare changing it. Should I still do so?

(was PR #673 (closed) before I stupidly killed my own fork without thinking of open PRs)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: branch/py3.7-pep564