On Mon, 28 Jun 2021, 11:54 pm Nick Coghlan, <ncoghlan@gmail.com> wrote:
So my vote would be to revert both the repr() and str() changes on IntEnum (et al) for 3.10, and then switch to the new str() approach for those classes in 3.11.
Sorry, I missed including the requested rationale: * if the str() change is postponed to 3.11, then existing code will upgrade seamlessly to 3.10, and there is a full year for notification of the coming change to filter out. The cost is another year of the "drop in replacement" promise not being kept * code that was already updated to cope with the module name disappearing from str presumably still handles it being present for compatibility with older versions, so shouldn't be hard to adapt to the prefix coming back (My opinion would likely be different if we were earlier in the beta cycle). Cheers, Nick.