Hi! I am CPython contributor :)
And I've recently noticed that for the last 22 years we have some special casing for org.python.core.PyStringMap.
Here are they:
The question is: do we still need it?
Some concerns:
- It imports code from some third-party module in the stdlib. This is the only place (there might be some other cases that I am not familiar with, please proove me wrong) where we do it. It might be a source of some unexpected results if user has the same package structure. It might be even related to security, because importing third-party modules is never safe in Python
- Jython seems to only support 2.7 a the moment, so we might not need this anymore in our core library 🤔
Please, share your vision on this 🙂
Hi! I am CPython contributor :)
And I've recently noticed that for the last 22 years we have some special casing for
org.python.core.PyStringMap.Here are they:
The question is: do we still need it?
Some concerns:
Please, share your vision on this 🙂