Author vajrasky
Recipients r.david.murray, vajrasky
Date 2013-08-18.15:04:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376838288.72.0.127543910866.issue18678@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-08-18 15:04:48vajraskysetrecipients: + vajrasky, r.david.murray
2013-08-18 15:04:48vajraskysetmessageid: <1376838288.72.0.127543910866.issue18678@psf.upfronthosting.co.za>
2013-08-18 15:04:48vajraskylinkissue18678 messages
2013-08-18 15:04:48vajraskycreate