Message407374
I created this issue to disallow macros like PyFloat_AS_DOUBLE() and PyDict_GET_SIZE() as l-value. It seems like this change by itself is controversial.
I proposed one way to implement this change: convert macros to static inline functions. I didn't expect that this conversion would be also controversial. For now, I abandon the static inline approach, to focus on the implementation which keeps macros: modify macros to use _Py_RVALUE() => PR 28976.
Once the PR 28976 will be merged and the PEP 670 will be accepted, we can reconsider converting these macros to static inline functions, then it should be non controversial. |
|
| Date |
User |
Action |
Args |
| 2021-11-30 14:13:03 | vstinner | set | recipients:
+ vstinner, lemburg, rhettinger, mark.dickinson, gdr@garethrees.org, erlendaasland, arhadthedev |
| 2021-11-30 14:13:03 | vstinner | set | messageid: <1638281583.86.0.517867120184.issue45476@roundup.psfhosted.org> |
| 2021-11-30 14:13:03 | vstinner | link | issue45476 messages |
| 2021-11-30 14:13:03 | vstinner | create | |
|