New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-39200: Correct the error message for range() empty constructor #17813
Conversation
|
Other option - just use |
I have implemented the switch statement as we would need to do the dance with |
Done in eb9e784 |
e73eab4
to
eb9e784
Compare
|
Btw, as a bonus the constructor of master./python.exe -m pyperf timeit "range(1,3,4)" patched./python.exe -m pyperf timeit "range(1,3,4)" |
Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
|
Thanks @pablogsal for the PR |
…ythonGH-17813) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 4b66fa6) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
GH-17940 is a backport of this pull request to the 3.8 branch. |
|
Thanks @pablogsal for the PR |
…ythonGH-17813) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 4b66fa6) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
GH-17942 is a backport of this pull request to the 3.7 branch. |
…ythonGH-17813) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
https://bugs.python.org/issue39200