Message195566
Attached the patch to accommodate R. David Murray's request. Accessing invalid attributes such as sp_nam and sp_pwd from spwd tuple will generate deprecation warning message.
Also, I added test function so we can run spwd module directly. This is useful because I don't think we can unit test spwd module. (This module can be used only if you are root.)
The Modules/spwdmodule.c file is supposed to be Modules/_spwdmodule.c following tradition but that will make the review process harder. If this patch is good to go, I'll rename the module file later. |
|
Date |
User |
Action |
Args |
2013-08-18 15:04:48 | vajrasky | set | recipients:
+ vajrasky, r.david.murray |
2013-08-18 15:04:48 | vajrasky | set | messageid: <1376838288.72.0.127543910866.issue18678@psf.upfronthosting.co.za> |
2013-08-18 15:04:48 | vajrasky | link | issue18678 messages |
2013-08-18 15:04:48 | vajrasky | create | |
|