Author hynek
Recipients Arfrever, eric.araujo, ezio.melotti, georg.brandl, hynek, jcea, loewis, mrts, neologix, petri.lehtinen, pitrou, rosslagerwall, schmir, tarek, teamnoir
Date 2012-05-21.07:47:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337586458.84.0.970133099676.issue4489@psf.upfronthosting.co.za>
In-reply-to
Content
A small docs update: I don't list the possible functions for onerror at  all anymore, as that list is likely to grow and is a PITA to maintain. People shouldn’t rely on a certain set of functions here.

Martin proposed <http://mail.python.org/pipermail/python-dev/2012-May/119555.html> to re-implement os.fwalk inside of rmdir which I’m -1 <http://mail.python.org/pipermail/python-dev/2012-May/119556.html> on.

If error reporting is the only issue, I’d rather expand fwalk to supply the function that failed to the caller. Be it using a custom field in exceptions or be it using expanding its onerror.
History
Date User Action Args
2012-05-21 07:47:39hyneksetrecipients: + hynek, loewis, georg.brandl, jcea, pitrou, schmir, tarek, ezio.melotti, eric.araujo, Arfrever, mrts, neologix, teamnoir, rosslagerwall, petri.lehtinen
2012-05-21 07:47:38hyneksetmessageid: <1337586458.84.0.970133099676.issue4489@psf.upfronthosting.co.za>
2012-05-21 07:47:38hyneklinkissue4489 messages
2012-05-21 07:47:38hynekcreate