[issue20517] Support errors with two filenames for errno exceptions

Larry Hastings report at bugs.python.org
Thu Feb 6 09:00:29 CET 2014


Larry Hastings added the comment:

Serhiy: I'm not sure if it's the language barrier, but that came across kind of mean.  It's not that I can do whatever I want as release manager, but that I have the say in whether something is a "bug fix" or a "new feature", which is how we decide whether or not something is allowed into Python after feature freeze.

This issue has been on my radar for a while (originally #16074).  But I wasn't paying strong attention to it.  Nobody in that issue came up with a solution I liked.  Finally when you posted your patch I said "ugh, can't we do better" and had to think about it before I realized we should just display both filenames.  If somebody had posted a patch with that two months ago I would have happily accepted it and we wouldn't be having this conversation now.

Vajrasky: My goal is that Python is nicer to use than PHP or Perl.  And it's more than a month before 3.4 final is scheduled to be released.  This patch is a pretty mechanical change--create new function, accept extra parameter, make the tuple one entry longer.  I don't expect it to be destabilizing.

However, I *was* hoping that one of the original authors of the code in question would come forth and say a) whether or not they think it's a good idea in general, and b) if they think the specific approach is fine.

The patch is a bit stalled because of higher-priority Argument Clinic changes.  I could post a partial patch if someone wanted to pick it up and finish it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20517>
_______________________________________


More information about the Python-bugs-list mailing list