Christoph Sieghart <s...@0x2a.at> added the comment:

I took a look at the code and I don't think that adding an argument to the 
IrrationalVersionError constructor is the right way to go. 

The exception is raised in places where we don't know for which project we are 
raising the exception (eg in packaging.version.NormalizedVersion).

Wouldn't it be better to make packaging.pypi.xmlrpc.Client just print the
package name with the exception?

I would be glad to contribute a patch.

----------
nosy: +sigi

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14778>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to