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 orsenthil
Recipients orsenthil, pitrou, serhiy.storchaka
Date 2013-03-18.19:03:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363633386.64.0.759626256626.issue17460@psf.upfronthosting.co.za>
In-reply-to
Content
I don't know what is the best way to raise an Exception when we are deprecating an argument.

1. The options are type checking on timeout parameter and then raising an error. This does not look good to me.
2. Making the rest of the arguments as keyword only arguments in order to prevent people doing mistakes. I am okay with this, people upgrading from 3.3, will face a problem if they already dont have a keyword only argument.
History
Date User Action Args
2013-03-18 19:03:06orsenthilsetrecipients: + orsenthil, pitrou, serhiy.storchaka
2013-03-18 19:03:06orsenthilsetmessageid: <1363633386.64.0.759626256626.issue17460@psf.upfronthosting.co.za>
2013-03-18 19:03:06orsenthillinkissue17460 messages
2013-03-18 19:03:06orsenthilcreate