pathlib: Where does "self._flavour" comes from? (3.11 to 3.12 migration) #104921
Labels
3.12
bugs and security fixes
pending
The issue will be closed if no feedback is provided
stdlib
Python modules in the Lib dir
topic-pathlib
This question is related to Python 3.12.
cpython/Lib/pathlib.py
Line 319 in 278030a
This is the first occurrence of
self._flavour
inpathlib.py
. I don't see where this object is set. I can't find the stringself._flavour =
somewhere in the repo. I'm confused.Background:
I try to figuring out why
pathlib._Flavour.parse_parts()
(and the whole class) was removed from Python 3.11 to 3.12. I can not see this in the CHANGELOG. And I'm not skilled enough with git to find the related commit.The text was updated successfully, but these errors were encountered: