Skip to content

textwrap.wrap: add control for fonts with different character widths#56708

@parent5446

Description

@parent5446
mannequin
BPO12499
Nosy@birkenfeld, @amauryfa, @merwok, @serhiy-storchaka, @xi
PRs
  • gh-56708: support custom len function in textwrap.wrap #28136
  • Files
  • textwrap.py-widthfunction-2011-07-04_22-57-49_r71219+.diff: Addition of custom width function to textwrap.py.
  • 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=<Date2011-07-05.03:03:24.379>labels= ['type-feature', 'library', '3.11'] title='textwrap.wrap: add control for fonts with different character widths'updated_at=<Date2021-09-03.18:32:07.776>user='https://bugs.python.org/parent5446'

    bugs.python.org fields:

    activity=<Date2021-09-03.18:32:07.776>actor='eric.araujo'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2011-07-05.03:03:24.379>creator='parent5446'dependencies= [] files= ['22574'] hgrepos= [] issue_num=12499keywords= ['patch', 'needs review'] message_count=6.0messages= ['139828', '139829', '139881', '139894', '231092', '401011'] nosy_count=6.0nosy_names= ['georg.brandl', 'amaury.forgeotdarc', 'eric.araujo', 'parent5446', 'serhiy.storchaka', 'xi2'] pr_nums= ['28136'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='enhancement'url='https://bugs.python.org/issue12499'versions= ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions