Make module suggestion avaliable on built-in modules
Abierto
Nadie ha tomado este issue todavía.
stdlib
type-feature
- Lenguaje dominante
- Python
- Estrellas
- 77.2k
- Forks
- 35.9k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
Feature or enhancement
Proposal:
Add BuiltinImporter.discover to make it:
class BuiltinImporter:
@staticmethod
def discover(spec=None):
if spec is not None: # assume that built-in modules have no submodule
return
yield from sys.builtin_module_names
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
- gh-146421
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.
Línea de trabajo
Start at the BuiltinImporter.discover entry point described in the issue and inspect how built-in module discovery is handled. Done means built-in module names are discoverable without treating submodules as supported; check the linked PR gh-146421 before starting because the work may already be underway.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 30/100