[Error-Handling]: instructions are unclear, and wrong programs pass the tests
Evaluación
Este issue todavía no se ha evaluado.
Descripción
I just did the error-handling exercise, and had several issues:
- It was unclear at first what to do with inputs. Looking at the tests, it seemed that trying to convert the input to
intwas the right thing to try, but this is not mentioned in the readme or the stubs. - The test for whether a method throws an exception will pass any error that might occur, not just if it's intentionally raised:
def handle_error_by_throwing_exception():
raise "(╯°□°)╯︵ ┻━┻" # Raising a string is a TypeError, but passes the test
- When returning a tuple, which element should be the result and which one the status? What should the result element be when it fails? No suggestion
- No mention of advantages or disadvantages of the different kinds of error handling, or what is idiomatic Python.
- Lenguaje dominante
- Python
- Estrellas
- 2.5k
- Forks
- 1.5k
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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.
Más de exercism/python
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
Current status of approachesAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
[General Docs] Audit/Cleanup of Track General/Shared DocsPosiblemente ocupada @Yrahcaz7 la tomó hace 6 días. Abierto
-
[Decimals]: New Concept and Concept ExerciseQuizá libre de nuevo @BethanyG la tomó hace 516 días y no hay ningún pull request abierto. Abierto
Todos los issues de exercism/python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
bug difficulty:2
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
MakazhanAlpamys/Soup#3167 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
snap-stanford/Biomni#380 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
jsboige/CoursIA#27768 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Resource]: Math ParadoxesAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
rossant/awesome-math#206 ·