Author hniksic
Recipients Barun Parruck, docs@python, hniksic, serhiy.storchaka
Date 2016-01-26.14:29:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453818562.99.0.0301241636143.issue26198@psf.upfronthosting.co.za>
In-reply-to
Content
Barun, Serhiy, thanks for picking this up so quickly.

I would further suggest to avoid using a fixed buffer in abspath (_getfullpathname, but only abspath seems to call it). Other filesystem calls are using the interface where PyArg_ParseTuple allocates the buffer. This makes it easier to handling errors from the native layer by catching OSError or similar, instead of the very generic TypeError (or ValueError).
History
Date User Action Args
2016-01-26 14:29:23hniksicsetrecipients: + hniksic, docs@python, serhiy.storchaka, Barun Parruck
2016-01-26 14:29:22hniksicsetmessageid: <1453818562.99.0.0301241636143.issue26198@psf.upfronthosting.co.za>
2016-01-26 14:29:22hniksiclinkissue26198 messages
2016-01-26 14:29:22hniksiccreate