跳转到主要内容

Pending removal in Python 3.18

  • No longer accept a boolean value when a file descriptor is expected. (Contributed by Serhiy Storchaka in 82626.)

  • decimal:

    • The non-standard and undocumented ~decimal.Decimal format specifier 'N', which is only supported in the !decimal module's C implementation, has been deprecated since Python 3.13. (Contributed by Serhiy Storchaka in 89902.)
  • Deprecations defined by 829:

    • import lines in {name}.pth files are silently ignored.

    (Contributed by Barry Warsaw in 148641.)