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 vstinner
Recipients barry, ethan.furman, gvanrossum, methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-10-05.10:18:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Serhiy: "PR 3867 looks unpythonic to me. We usually don't check the type of arguments. This complicate and slow down a code. Do you have a realistic example when the current behavior harms?"

No, I don't have any realistic example. I just noticed the bug and I was surprised. In practice, flags=2.0 instead of flags=2 is not totally wrong, it's okish to accept 2.0. Let's just forget this corner case. I abandon my change.
Date User Action Args
2017-10-05 10:18:23vstinnersetrecipients: + vstinner, gvanrossum, barry, rhettinger, methane, ethan.furman, serhiy.storchaka
2017-10-05 10:18:23vstinnersetmessageid: <>
2017-10-05 10:18:23vstinnerlinkissue31671 messages
2017-10-05 10:18:23vstinnercreate