Index: Python/ast.c =================================================================== --- Python/ast.c (revision 67444) +++ Python/ast.c (working copy) @@ -3100,6 +3100,7 @@ int imflag; #endif + assert(s != NULL); errno = 0; end = s + strlen(s) - 1; #ifndef WITHOUT_COMPLEX