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 eric.araujo
Recipients aikinci, arekm, eric.araujo, georg.brandl, loewis, nadeem.vawda
Date 2012-03-12.21:50:50
SpamBayes Score 1.9541727e-05
Marked as misclassified No
Message-id <1331589051.01.0.933561018869.issue14238@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks you for your contribution!  I hope you’ll find fun bugs to make patches for.

Your patch looks too simplistic; in the discussion, we agreed that if the lookup fails, the site module should not add user site directories (see http://docs.python.org/library/site#site.USER_SITE or PEP 370), and your patch does not seem to do that.

Moreover, this bug has repercussions on the sysconfig module (see my previous message), which needs edits too.

BTW, I don’t know how we can test a patch for this bug; arekm, how do you run Python from a UID without passwd entry?
History
Date User Action Args
2012-03-12 21:50:51eric.araujosetrecipients: + eric.araujo, loewis, georg.brandl, arekm, nadeem.vawda, aikinci
2012-03-12 21:50:51eric.araujosetmessageid: <1331589051.01.0.933561018869.issue14238@psf.upfronthosting.co.za>
2012-03-12 21:50:50eric.araujolinkissue14238 messages
2012-03-12 21:50:50eric.araujocreate