[issue32642] add support for path-like objects in sys.path
Noam Cohen
report at bugs.python.org
Sat Mar 26 06:06:24 EDT 2022
Noam Cohen <noam at noam.me> added the comment:
So I've got in mind a PyListObject subclass with calls to PyOS_FSPath before insert, append, extend and __getitem__.
But I feel like this is an overkill; also, extend function might be trickier to implement.
Do any of you have better idea?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32642>
_______________________________________
More information about the Python-bugs-list
mailing list