embedded python seg faulting on Ubuntu

Hi all,

I’ve been previously intermittently and now very consistently hitting an issue where the python readline module ends up seg faulting via a null memory access. I’m not entirely sure what is making it happen more on my system now, but regardless, I’ve got a patch into python.org to attempt to get it resolved.

If you hit a case where the embedded python interpreter is seg faulting within readline.c, see the following patch here made against the Python 2.7.6 source. Assuming I can get this patch in, I will attempt to get the fix incorporated into Linux distributions.