[Python-Dev] os.getgroups() on MacOS X Was: red buildbots on 2.7
Tres Seaver
tseaver at palladion.com
Wed Jun 23 17:37:53 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belopolsky wrote:
> In my view, getgroups and getgrouplist are two fundamentally different
> operations and both should be provided by the os module. Redefining
> os.getgroups to invoke getgrouplist instead of system getgroups on one
> particular platform to work around that platform's system call
> limitation is not right.
+1. syscall wrappers should err on the side of thinness, even to the
point of anorexia.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkwiKlEACgkQ+gerLs4ltQ4vKwCg3JwpWvivq8Dk7PYy2iPrKq/E
88gAn1lfeEcDJlfGm+F0jEbxsv1BfQJW
=JzHS
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list