PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie)

Abierto
#61,776 55 comentarios 0 reacciones 1 asignado Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

3.10 3.15 3.9 (EOL) interpreter-core topic-C-API type-bug
BPO 17576
Nosy @warsaw, @brettcannon, @rhettinger, @mdickinson, @ncoghlan, @vstinner, @alex, @ethanfurman, @ericsnowcurrently, @serhiy-storchaka, @manueljacob
PRs
  • python/cpython#13740
  • Files
  • issue17576.patch
  • issue17576_v2.patch
  • issue17576_v3.patch
  • issue17576_v4.patch
  • 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/ethanfurman'
    closed_at = None
    created_at = <Date 2013-03-29.22:25:11.167>
    labels = ['interpreter-core', 'type-bug', '3.9', '3.10']
    title = 'PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie)'
    updated_at = <Date 2021-08-31.15:42:26.900>
    user = 'https://github.com/warsaw'
    

    bugs.python.org fields:

    activity = <Date 2021-08-31.15:42:26.900>
    actor = 'vstinner'
    assignee = 'ethan.furman'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2013-03-29.22:25:11.167>
    creator = 'barry'
    dependencies = []
    files = ['31147', '31149', '33077', '33093']
    hgrepos = []
    issue_num = 17576
    keywords = ['patch']
    message_count = 54.0
    messages = ['185522', '185523', '185530', '185531', '185532', '188791', '188810', '194335', '194337', '194347', '195713', '195747', '195759', '195764', '195772', '195824', '200171', '200229', '205733', '205735', '205793', '205802', '205856', '205862', '205870', '205889', '205890', '205896', '205916', '205919', '205921', '206199', '207293', '236493', '236502', '236526', '236528', '236880', '336045', '344266', '344275', '344308', '344384', '344386', '344406', '344681', '349562', '370171', '370177', '370190', '381639', '400674', '400707', '400747']
    nosy_count = 14.0
    nosy_names = ['barry', 'brett.cannon', 'rhettinger', 'mark.dickinson', 'ncoghlan', 'vstinner', 'Arfrever', 'alex', 'docs@python', 'ethan.furman', 'python-dev', 'eric.snow', 'serhiy.storchaka', 'mjacob']
    pr_nums = ['13740']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17576'
    versions = ['Python 3.9', 'Python 3.10']
    

    Lenguaje dominante
    Python
    Estrellas
    77.2k
    Forks
    36k
    Merge medio
    1 d 9 h
    PR fusionados (30 d)
    558

    Guía de contribución

    Abrir la guía de contribución

    Primeros pasos

    1. Lee el issue completo y luego la guía de contribución del proyecto.
    2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
    3. Haz un fork del repositorio y trabaja en una rama.
    4. Abre un pull request que haga referencia al número del issue.

    Más de python/cpython

    Todos los issues de python/cpython

    Issues similares

    Más issues de Python

    Recibe los nuevos issues en tu correo

    Un resumen breve de issues de GitHub para principiantes.