mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
gh-129407: Clarify that a SystemError isn't always CPython's fault (#129410)
This commit is contained in:
parent
632ca56821
commit
39b754a359
1 changed files with 6 additions and 2 deletions
|
|
@ -562,9 +562,13 @@ The following exceptions are the exceptions that are usually raised.
|
|||
|
||||
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).
|
||||
string indicating what went wrong (in low-level terms). In :term:`CPython`,
|
||||
this could be raised by incorrectly using Python's C API, such as returning
|
||||
a ``NULL`` value without an exception set.
|
||||
|
||||
You should report this to the author or maintainer of your Python interpreter.
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue