]> granicus.if.org Git - python/commit
In PySys_GetObject(), it's possible that tstate->interp->sysdict is
authorGuido van Rossum <guido@python.org>
Tue, 5 Oct 1999 22:17:41 +0000 (22:17 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 5 Oct 1999 22:17:41 +0000 (22:17 +0000)
commitbe2033697f8b9b44656965888d0533bf6d0a8499
tree487d39cb6f51574176800c20993dc586f74f6bca
parentcaf2f8e3c71cad510852939d425581acbff6317b
In PySys_GetObject(), it's possible that tstate->interp->sysdict is
NULL.  In that case, return NULL rather than dumping core.

This fixes PR#91, submitted by Lele Gaifax.
Python/sysmodule.c