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 hynek
Recipients grobian, hynek, ned.deily
Date 2012-04-26.19:46:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335469604.53.0.885659252315.issue14662@psf.upfronthosting.co.za>
In-reply-to
Content
I had this text ready before ned chimed in, I’ll post it anyway because it was a lot of work ;):

You're right, 2.7’s errnos are incomplete compared to 3.2. Antoine added ENOTSUP in c370866f30a7 and it runs as “Solaris-specific”.

So it’s currently in 3.2 and later. Shouldn’t hurt to back port it?

EOPNOTSUP is obviously wrong in your case and it doesn’t really sound right at all by the description. However, maybe on some other architecture (FreeBSD?) it’s the way to go? The commit (2e0d58adadbe) states it’s because of ZFS on OS X.

As the code is unchanged in 3.2+, this bug also applies to them.


Suggestion:

For 3.2+3.3: I’d extend the catch to also catch ENOTSUP
For 2.7: I’d also backport the err code.

NB I’m fine if Fabian wants to do it himself, it’s his issue.
History
Date User Action Args
2012-04-26 19:46:44hyneksetrecipients: + hynek, ned.deily, grobian
2012-04-26 19:46:44hyneksetmessageid: <1335469604.53.0.885659252315.issue14662@psf.upfronthosting.co.za>
2012-04-26 19:46:43hyneklinkissue14662 messages
2012-04-26 19:46:43hynekcreate