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 ronaldoussoren
Recipients Douglas.Leeder, Nick.Dowell, alexandre.vassalotti, doko, georg.brandl, gregory.p.smith, ned.deily, ngie, ronaldoussoren
Date 2011-03-14.18:59:56
SpamBayes Score 8.402819e-06
Marked as misclassified No
Message-id <1300129199.67.0.594784774189.issue8746@psf.upfronthosting.co.za>
In-reply-to
Content
Tests for the posix module should go in test_posix. The name 'posix' is used very loosely in python, it is basicly used as an alias for 'unixy'.

I'm not too happy about replicating the definition of the flags, as Ned noted the flags are also defined in Lib/stat.py.  I'd keep them out of posixmodule as the current definitions in Lib/stat.py should be valid on all platforms that currently support these flags.

W.r.t testing: there should be some simple smoke tests, basicly just enough to ensure that the function is available and that it links up to the right system call. There is no need to perform un exhaustive test of the system call, that should be done by the os vendor.
History
Date User Action Args
2011-03-14 18:59:59ronaldoussorensetrecipients: + ronaldoussoren, georg.brandl, doko, gregory.p.smith, alexandre.vassalotti, ned.deily, ngie, Nick.Dowell, Douglas.Leeder
2011-03-14 18:59:59ronaldoussorensetmessageid: <1300129199.67.0.594784774189.issue8746@psf.upfronthosting.co.za>
2011-03-14 18:59:56ronaldoussorenlinkissue8746 messages
2011-03-14 18:59:56ronaldoussorencreate