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 ezio.melotti
Recipients ezio.melotti, mark.dickinson, serhiy.storchaka
Date 2012-11-23.18:36:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353695766.23.0.0206793377869.issue16543@psf.upfronthosting.co.za>
In-reply-to
Content
> do you know of any other cases where this gives a misleading error message?

Actually my concern was about cases where the new error might be wrong/misleading, but I haven't checked yet.  If there are no such cases I think we should fix it; the error message will be better in the few cases we have in the stdlib and for all the external libs that are using the function.

Another thing that I haven't checked is if there are similar functions (e.g. to parse kwargs) that needs the same treatment (#16520 might be one such example).
History
Date User Action Args
2012-11-23 18:36:06ezio.melottisetrecipients: + ezio.melotti, mark.dickinson, serhiy.storchaka
2012-11-23 18:36:06ezio.melottisetmessageid: <1353695766.23.0.0206793377869.issue16543@psf.upfronthosting.co.za>
2012-11-23 18:36:06ezio.melottilinkissue16543 messages
2012-11-23 18:36:05ezio.melotticreate