This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients Yogesh.Chaudhari, dilettant, ezio.melotti, giampaolo.rodola, kushal.das, nedbat, neologix, pitrou, r.david.murray, serhiy.storchaka, trent, vstinner
Date 2013-05-16.13:39:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368711560.81.0.439143522196.issue17914@psf.upfronthosting.co.za>
In-reply-to
Content
+1 for returning None.
I haven't looked into patches but if needed feel free to borrow some code from psutil:

Linux:
https://code.google.com/p/psutil/source/browse/psutil/_pslinux.py?spec=svn30f3c67322f99ab30ed87205245dc8394f89f0ac&r=c970f35bc9640ac32eb9f09de8c230e7f86a2466#44

BSD / OSX:
https://code.google.com/p/psutil/source/browse/psutil/_psutil_bsd.c?spec=svn30f3c67322f99ab30ed87205245dc8394f89f0ac&r=9b6e780ea6b598a785670c2626c7557f9fef9238#486

Windows:
https://code.google.com/p/psutil/source/browse/psutil/_psutil_mswindows.c?spec=svn30f3c67322f99ab30ed87205245dc8394f89f0ac&r=4d5b0de27024e9d3cd6a3573a493290498afa9c2#426

SunOS:
https://code.google.com/p/psutil/source/browse/psutil/_pssunos.py?spec=svnff76a4e33da359162c28f8c7478f9e6c6dff347b&name=sunos&r=d53e11edfbe18d22f4e08168f72b1952cfaef373#27
History
Date User Action Args
2013-05-16 13:39:20giampaolo.rodolasetrecipients: + giampaolo.rodola, pitrou, vstinner, nedbat, trent, ezio.melotti, r.david.murray, neologix, serhiy.storchaka, kushal.das, dilettant, Yogesh.Chaudhari
2013-05-16 13:39:20giampaolo.rodolasetmessageid: <1368711560.81.0.439143522196.issue17914@psf.upfronthosting.co.za>
2013-05-16 13:39:20giampaolo.rodolalinkissue17914 messages
2013-05-16 13:39:20giampaolo.rodolacreate