STINNER Victor <victor.stin...@gmail.com> added the comment: Hum, I changed my mind a little bit :-)
> (2) to modify the sets() function in Modules/pwdmodule.c to set an empty > string instead of None when the member of the passwd structure is a NULL > pointer. I checked the doc: pwd doesn't mention None at all :-( https://docs.python.org/dev/library/pwd.html For practical reasons, maybe (2) is nicer option. It would avoid to have all existing code just for Android. I'm not sure that it's very useful to distinguish NULL and an empty char* string. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32033> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com