| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
|
Also, I think there no need in NEWS entry. But if someone want it - I'll add it. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
There was a problem hiding this comment.
I do not think that silencing TypeError for any operation is right. It can silence some unexpected errors, it is also not very efficient. It would be better to just not try to perform unsupported operation. I suggest to add an optional parameter in _operator_fallbacks() to specify whether try to handle complex numbers or not. We know which operations are not supported by complex.
Sorry, something went wrong.
+1. This sounds like the right approach to me. |
Sorry, something went wrong.
|
Do we need NEWS entry here? It's improves the user experience, so in my opinion - yes. |
Sorry, something went wrong.
There was a problem hiding this comment.
This is a user visible change, so a NEWS entry will not make bad.
It will help if users wonder about confusing error messages in older Python.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, modulo minor nitpick about default value.
Sorry, something went wrong.
…mnDq1.rst Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…ns happens between Fraction and complex objects (pythonGH-102842)
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.