Quel problème ce code indique-t-il ?
Code SystemError · Problème signalé par Python.
Explication traduite
Soulevé lorsque l'interprète trouve une erreur interne, mais la situation ne semble pas si grave pour l'amener à abandonner tout espoir. La valeur associée est une chaîne indiquant ce qui s'est passé mal (en termes de bas niveau). Dans CPython, cela pourrait être soulevé en utilisant incorrectement l'API Python ́s C, par exemple en renvoyant une valeur NULL sans exception. Si vous êtes certain que cette exception n'était pas votre faute, ou la faute d'un paquet que vous utilisez, vous devriez le signaler à l'auteur ou au responsable de votre interprète Python. Assurez-vous de signaler la version de l'interprète Python (sys.version; elle est également imprimée au début d'une session interactive Python), le message d'erreur exact (la valeur associée à l'exception) et, si possible, la source du programme qui a déclenché l'erreur.
OPUS-MT · Helsinki-NLP / CTranslate2 · Il s’agit d’une traduction automatique. Consultez l’original anglais pour les termes techniques et les conditions applicables.
Explication officielle · Texte d’origine
Raised when the interpreter finds an internal error, but the situation does not look so serious to cause it to abandon all hope. The associated value is a string indicating what went wrong (in low-level terms). In CPython, this could be raised by incorrectly using Python’s C API, such as returning a NULL value without an exception set.
If you’re confident that this exception wasn’t your fault, or the fault of a package you’re using, you should report this to the author or maintainer of your Python interpreter. Be sure to report the version of the Python interpreter (sys.version; it is also printed at the start of an interactive Python session), the exact error message (the exception’s associated value) and if possible the source of the program that triggered the error.