mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
The Python source (Objects/exceptions.c) explicitly checks for null pointers before using the filename and lineno members. Some libraries, e.g. pkg_resources, set filename and lineno to undefined values if indeed none are appropriate.