Catch situations where currentframe() returns None. See SF patch #1447410, this is...
tree9e01fef68d7e55a830b0deb9e26bb739bb07be55
drwxr-xr-x - Demo
drwxr-xr-x - Doc
drwxr-xr-x - Grammar
drwxr-xr-x - Include
-rw-r--r-- 13428 LICENSE
drwxr-xr-x - Lib
drwxr-xr-x - Mac
-rw-r--r-- 33481 Makefile.pre.in
drwxr-xr-x - Misc
drwxr-xr-x - Modules
drwxr-xr-x - Objects
drwxr-xr-x - PC
drwxr-xr-x - PCbuild
drwxr-xr-x - Parser
drwxr-xr-x - Python
-rw-r--r-- 50249 README
drwxr-xr-x - RISCOS
drwxr-xr-x - Tools
-rwxr-xr-x 628047 configure
-rw-r--r-- 90632 configure.in
-rwxr-xr-x 7122 install-sh
-rw-r--r-- 25431 pyconfig.h.in
-rw-r--r-- 61189 setup.py