Message306263
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. |
|
Date |
User |
Action |
Args |
2017-11-15 10:49:52 | vstinner | set | recipients:
+ vstinner, xdegaye, serhiy.storchaka |
2017-11-15 10:49:52 | vstinner | set | messageid: <1510742992.38.0.213398074469.issue32033@psf.upfronthosting.co.za> |
2017-11-15 10:49:52 | vstinner | link | issue32033 messages |
2017-11-15 10:49:52 | vstinner | create | |
|