Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Addis_integer to fractions.Fraction #100488

Closed
Labels
type-featureA feature request or enhancement
@hauntsaninja

Description

@hauntsaninja

Requested by@mdickinson in#100268 (comment)

The case for:

  • Improves duck type compatibility between Fraction and float (and now int)
  • Simple to implement; hopefully low maintenance cost

The case against:

  • Not aware of much demand for it from users
  • The case for int.is_integer is much stronger, since the PEP 484 type system conflatesfloat andint | float

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp