Sridhar Ratnakumar <sridh...@activestate.com> added the comment: Interesting. If add the line:
newmode = PyMem_MALLOC(4); next to the existing line: newmode = PyMem_MALLOC(strlen(mode) + 3); there is no MemoryError! ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6600> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com