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 eric.araujo, hynek, petri.lehtinen, tarek
Date 2011-08-11.14:57:22
SpamBayes Score 5.93039e-06
Marked as misclassified No
Message-id <1313074643.2.0.819140414967.issue12721@psf.upfronthosting.co.za>
In-reply-to
Content
I’ll make one change before committing:

Lib/test/test_shutil.py:69: if isinstance(path, (list, tuple)):
Using a list for path components does not make sense.  I have changed a similar helper function in packaging to allow only tuples.

Petri: these helper functions are all about convenienve.  I would reject a patch for a function just doing open+read, but here I think that doing os.path.join+open+read is worth a function.  We use such helpers all the time in packaging tests and it helps reducing boilerplate, without being very hard to understand.
History
Date User Action Args
2011-08-11 14:57:23eric.araujosetrecipients: + eric.araujo, tarek, petri.lehtinen, hynek
2011-08-11 14:57:23eric.araujosetmessageid: <1313074643.2.0.819140414967.issue12721@psf.upfronthosting.co.za>
2011-08-11 14:57:22eric.araujolinkissue12721 messages
2011-08-11 14:57:22eric.araujocreate