SIGN IN SIGN UP

This fixes issue7900 by adding code that deals

with the fact that getgroups(2) might return
more that MAX_GROUPS on OSX.

See the issue (and python-dev archives) for the
gory details. Summarized: OSX behaves rather oddly
and Apple says this is intentional.
R
Ronald Oussoren committed
b6ee4f5bfcaad3c63055ec0e99c0382ff23548d8
Parent: a57edd0