json encoder unable to handle decimal

Aperta
#60,739 25 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reviewing the referenced json_decimal.patch and the linked BPO issue discussion to understand the proposed Decimal handling and unresolved decisions. Confirm the intended JSON encoding behavior and identify the relevant CPython library tests before making changes; the issue is complete only when the behavior is agreed and covered by tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

stdlib type-feature
BPO 16535
Nosy @rhettinger, @jcea, @etrepum, @mdickinson, @pitrou, @tiran, @ezio-melotti, @merwok, @serhiy-storchaka, @lesinigo
Files
  • json_decimal.patch: Patch file generated via "hg diff"
  • 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 2012-11-22.22:45:38.401>
    labels = ['type-feature', 'library', '3.10']
    title = 'json encoder unable to handle decimal'
    updated_at = <Date 2022-03-03.10:12:29.632>
    user = 'https://github.com/merwok'
    

    bugs.python.org fields:

    activity = <Date 2022-03-03.10:12:29.632>
    actor = 'luca.lesinigo'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-11-22.22:45:38.401>
    creator = 'eric.araujo'
    dependencies = []
    files = ['30836']
    hgrepos = []
    issue_num = 16535
    keywords = ['patch']
    message_count = 16.0
    messages = ['176135', '176136', '176158', '176161', '176398', '179869', '192520', '213381', '214733', '214737', '224032', '224096', '274026', '289010', '349250', '383559']
    nosy_count = 16.0
    nosy_names = ['rhettinger', 'jcea', 'bob.ippolito', 'mark.dickinson', 'pitrou', 'christian.heimes', 'ezio.melotti', 'eric.araujo', 'Arfrever', 'zzzeek', 'cvrebert', 'serhiy.storchaka', 'ralhei', 'mjensen', 'risa2000', 'luca.lesinigo']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue16535'
    versions = ['Python 3.10']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.