`_PyStaticType_Dealloc` should not exist.
Abierto
@ericsnowcurrently ya está trabajando en esto.
Desde el 6/2/2023.
interpreter-core
type-bug
- Lenguaje dominante
- Python
- Estrellas
- 77.2k
- Forks
- 36k
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 558
Descripción
This the twin to https://github.com/python/cpython/issues/96458, and the same reasoning applies.
If something is static it cannot be deallocated.
AFAICT, this clears subclasses of the static type, and doesn't deallocate the class.
The (class, subclass) relation for static types is an attribute of the interpreter not the class, so _PyStaticType_Dealloc needs to be renamed, at least.
_PyStaticType_Dealloc also allocates int objects, which is problematic during interpreter cleanup, as the MemoryError cache may be cleared first.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.