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 sigi
Recipients alexis, eric.araujo, nick.wilson, sigi, tarek
Date 2012-05-14.15:52:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337010762.06.0.482261258133.issue14778@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-05-14 15:52:42sigisetrecipients: + sigi, tarek, eric.araujo, alexis, nick.wilson
2012-05-14 15:52:42sigisetmessageid: <1337010762.06.0.482261258133.issue14778@psf.upfronthosting.co.za>
2012-05-14 15:52:41sigilinkissue14778 messages
2012-05-14 15:52:41sigicreate