Skip to content

Allow namedtuple to be JSON encoded as dict #67661

Description

@Zack
mannequin
BPO23473
Nosy@rhettinger, @pitrou, @ericvsmith, @ezio-melotti, @serhiy-storchaka
Superseder
  • bpo-12657: Cannot override JSON encoding of basic type subclasses
  • 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=<Date2015-02-18.15:11:02.259>created_at=<Date2015-02-17.16:52:36.166>labels= ['type-bug']
    title='Allow namedtuple to be JSON encoded as dict'updated_at=<Date2015-02-18.15:11:02.257>user='https://bugs.python.org/Zack'

    bugs.python.org fields:

    activity=<Date2015-02-18.15:11:02.257>actor='serhiy.storchaka'assignee='none'closed=Trueclosed_date=<Date2015-02-18.15:11:02.259>closer='serhiy.storchaka'components= []
    creation=<Date2015-02-17.16:52:36.166>creator='Zack--'dependencies= []
    files= []
    hgrepos= []
    issue_num=23473keywords= []
    message_count=4.0messages= ['236139', '236170', '236171', '236177']
    nosy_count=6.0nosy_names= ['rhettinger', 'pitrou', 'eric.smith', 'ezio.melotti', 'serhiy.storchaka', 'Zack--']
    pr_nums= []
    priority='normal'resolution='duplicate'stage=Nonestatus='closed'superseder='12657'type='behavior'url='https://bugs.python.org/issue23473'versions= ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions