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 edison.abahurire
Recipients anthonypjshaw, edison.abahurire, rahul-kumi, remi.lapeyre
Date 2020-05-20.16:37:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, This is unexpected

In the first case:
Supplying an empty string can also mean no code has been supplied. So it could be better treated as 'pass'.

In the second case:
 Error messages are meant to inform you of what you have done wrong so that you fix it. I think raising an Indentation error is far from what a user who is calling that method would be expecting, it does not help them at-all.

In the third case:
Supplying an empty string to timeit directly in bash ```python -m timeit '' ``` raises no such error. so we could say that fixing this will align the behavior in the two ways the function is run to be the same.
Date User Action Args
2020-05-20 16:37:05edison.abahuriresetrecipients: + edison.abahurire, anthonypjshaw, remi.lapeyre, rahul-kumi
2020-05-20 16:37:05edison.abahuriresetmessageid: <>
2020-05-20 16:37:05edison.abahurirelinkissue40670 messages
2020-05-20 16:37:05edison.abahurirecreate