[issue9246] os.getcwd() hardcodes max path len

STINNER Victor report at bugs.python.org
Sat Jul 24 04:09:01 CEST 2010

STINNER Victor <victor.stinner at haypocalc.com> added the comment:

I'm not sure that PyMem_Realloc(NULL, size) is always equivalent to PyMem_Malloc(size). And I don't really know why I'm using PyMem_* instead of malloc() / free() :-) I suppose that Python has a faster memory allocator, or that it has better checks when compiled with pydebug?


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list