Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

open-like access

Abierto
#4 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

Línea de trabajo

No files or tests are named. Start by reviewing the package's current cache access and iterator behavior, then compare the requested API with Python's builtin open parameters; done means defining supported behavior, preserving one file version during iteration, and raising NotImplementedError for unsupported operations.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Another feature I would like is an API like the builtin open. This is less urgent, and does not even need to be part of this package. If you are not keen, it can exist only in coala.

It might seem a little strange to rewrap the cache in a file open-like API, but it helps ensure our access is strictly an iteraror, and it means the semantics are familiar and not tied to this implementation. The iterator needs to ensure one version of the file is processed, even if the file has been modified, and thus the cache is invalidated.

It can, and should, raise exceptions such as NotImplementedError for open parameters that are not able to be provided for the wrapped file cache object, or the operation is possible but not yet built because it is non-trivial to build properly.

Again, I am happy to build if you are happy for this feature to reside in your package.

Lenguaje dominante
Python
Estrellas
5
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.