Skip to content

pdb "args" crashes when an arg is not printable #65052

@jneb

Description

@jneb
mannequin
BPO 20853
Nosy @jneb, @bitdancer, @xdegaye, @akulakov
PRs
  • bpo-20853: fixed PDB's args and retval commands to handle objects with broken repr() #28400
  • Files
  • pdb.patch: attempt to patch pdb.py
  • pdb.patch: Simple patch to pdb to allow objects with bad repr
  • safe_repr.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 = None closed_at = None created_at = <Date 2014-03-05.10:45:57.026> labels = ['type-feature', 'library'] title = 'pdb "args" crashes when an arg is not printable' updated_at = <Date 2021-09-17.02:50:21.987> user = 'https://github.com/jneb'

    bugs.python.org fields:

    activity = <Date 2021-09-17.02:50:21.987> actor = 'andrei.avk' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2014-03-05.10:45:57.026> creator = 'jneb' dependencies = [] files = ['34369', '34370', '35326'] hgrepos = [] issue_num = 20853 keywords = ['patch'] message_count = 11.0 messages = ['212759', '212760', '213212', '213214', '213217', '213273', '213593', '213841', '213987', '218975', '401999'] nosy_count = 4.0 nosy_names = ['jneb', 'r.david.murray', 'xdegaye', 'andrei.avk'] pr_nums = ['28400'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue20853' versions = ['Python 2.7', 'Python 3.3']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard 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