| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
(from python#111996) * PyNumber_AsSsize_t: remove inaccessible code (PyLong_AsSsize_t raises OverflowError) * Drop checks for broken float subclasses (like for PyNumber_Long in 31a6554) * Ternary ops (currently only pow/ipow) don't use __r*__ dunders, thus removal of testing last slot in ternary_op() * Use BINARY_FUNC macro for some remaining ops * Add UNARY_FUNC macro to define unary PyNumber_* functions
|
CC @serhiy-storchaka, this was abstract.c diff from the referenced pr. I hope this can skip issue and news entry... |
Sorry, something went wrong.
There was a problem hiding this comment.
It deserves 4 or 5 separate issues.
Sorry, something went wrong.
Huh. Is it worth or code should be kept intact? Reusing old or adding new macros is a secondary issue. All others related to a dead code (for different reasons). So, having something in common. |
Sorry, something went wrong.
|
@serhiy-storchaka, now this has only UNARY/BINARY_FUNC stuff. Probably this not worth an issue and can skip news. Description was updated. |
Sorry, something went wrong.
…es for BINARY_FUNC) (pythonGH-112145) * Use BINARY_FUNC macro for some remaining ops * Add UNARY_FUNC macro to define unary PyNumber_* functions
…es for BINARY_FUNC) (pythonGH-112145) * Use BINARY_FUNC macro for some remaining ops * Add UNARY_FUNC macro to define unary PyNumber_* functions
| Back | FazBrowse Home | New Git URL |
// from #111996