Message364313
The proposed change will affect many builtin types: bytes, bytearray, str, but also other types like collections.UserString. Would it make sense to summarize what has been said in the python-ideas thread into a PEP? It may good to specify things like:
>>> x = "A"*10**6
>>> x.cutprefix("B") is x
True
The specification can be just "that's an implementation detail" or "CPython implementation specific" :-)
I don't expect such PEP to be long nor controversial, but it may help to write it down. |
|
Date |
User |
Action |
Args |
2020-03-16 13:04:34 | vstinner | set | recipients:
+ vstinner, gvanrossum, rhettinger, eric.smith, steven.daprano, xtreak, Dennis Sweeney |
2020-03-16 13:04:33 | vstinner | set | messageid: <1584363873.81.0.921271882373.issue39939@roundup.psfhosted.org> |
2020-03-16 13:04:33 | vstinner | link | issue39939 messages |
2020-03-16 13:04:33 | vstinner | create | |
|