Skip to content

Avoid raising OverflowError in truncate() if possible#74005

@serhiy-storchaka

Description

@serhiy-storchaka
BPO29819
Nosy@vstinner, @benjaminp, @serhiy-storchaka, @orenmn, @nanjekyejoannah
Dependencies
  • bpo-29852: Argument Clinic: add common converter to Py_ssize_t that accepts None
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee=Noneclosed_at=Nonecreated_at=<Date2017-03-15.15:11:06.614>labels= ['3.7', 'type-feature', 'library', 'expert-IO'] title='Avoid raising OverflowError in truncate() if possible'updated_at=<Date2019-05-27.16:44:36.338>user='https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity=<Date2019-05-27.16:44:36.338>actor='nanjekyejoannah'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)', 'IO'] creation=<Date2017-03-15.15:11:06.614>creator='serhiy.storchaka'dependencies= ['29852'] files= [] hgrepos= [] issue_num=29819keywords= [] message_count=2.0messages= ['289677', '289848'] nosy_count=6.0nosy_names= ['vstinner', 'benjamin.peterson', 'stutzbach', 'serhiy.storchaka', 'Oren Milman', 'nanjekyejoannah'] pr_nums= [] priority='normal'resolution=Nonestage='needs patch'status='open'superseder=Nonetype='enhancement'url='https://bugs.python.org/issue29819'versions= ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytopic-IOtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions