Skip to content

Add compact=True flag to json.dump/dumps #73726

@AlexGordon

Description

@AlexGordon
BPO 29540
Nosy @brettcannon, @rhettinger, @etrepum, @vstinner, @bitdancer, @benhoyt, @berkerpeksag, @serhiy-storchaka, @andrewnester
PRs
  • bpo-29863: Add json.COMPACT constant #72
  • 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 = 'https://github.com/etrepum'
    closed_at = <Date 2017-03-14.05:11:28.407>
    created_at = <Date 2017-02-13.02:04:34.589>
    labels = ['3.7', 'type-feature', 'library']
    title = 'Add compact=True flag to json.dump/dumps'
    updated_at = <Date 2017-03-14.17:06:54.835>
    user = 'https://bugs.python.org/AlexGordon'

    bugs.python.org fields:

    activity = <Date 2017-03-14.17:06:54.835>
    actor = 'benhoyt'
    assignee = 'bob.ippolito'
    closed = True
    closed_date = <Date 2017-03-14.05:11:28.407>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2017-02-13.02:04:34.589>
    creator = 'Alex Gordon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29540
    keywords = []
    message_count = 21.0
    messages = ['287663', '287685', '287707', '287716', '287739', '287740', '287746', '287773', '287774', '287786', '287827', '288026', '288030', '288161', '288162', '289543', '289547', '289564', '289581', '289603', '289608']
    nosy_count = 10.0
    nosy_names = ['brett.cannon', 'rhettinger', 'bob.ippolito', 'vstinner', 'r.david.murray', 'benhoyt', 'berker.peksag', 'serhiy.storchaka', 'Alex Gordon', 'andrewnester']
    pr_nums = ['72']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29540'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibStandard 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