Changes between Initial Version and Version 1 of Ticket #31570, comment 1
- Timestamp:
- May 12, 2020, 5:46:58 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31570, comment 1
initial v1 23 23 Q: What guarantees that the `__code__` object of the [https://github.com/python/cpython/blob/a63c61168588937c482435d0432c753de4844c46/Lib/gettext.py#L176 generated plural functions] evaluates equal or not? (Current status: no idea: it's not as simple as pointer address, but I can't yet find the implementation so... ) 24 24 25 **Update**: 26 27 * https://github.com/python/cpython/blob/master/Objects/codeobject.c 28 * https://github.com/python/cpython/blob/master/Objects/funcobject.c#L236 29 30 Are the relevant sources, but that's not to have followed the flow fully. 31 **endupdate** 32 25 33 There are a number of cases in the existing tests where we enter the different plural forms `else`-block, beyond the test added for #30439, so maybe there is a subtle behaviour change here. I'd be very grateful for that test to be able to pin it down. 26 34