Title: pathlib: Where does "self._flavour" comes from? (3.11 to 3.12 migration) · Issue #104921 · python/cpython · GitHub
Open Graph Title: pathlib: Where does "self._flavour" comes from? (3.11 to 3.12 migration) · Issue #104921 · python/cpython
X Title: pathlib: Where does "self._flavour" comes from? (3.11 to 3.12 migration) · Issue #104921 · python/cpython
Description: This question is related to Python 3.12. cpython/Lib/pathlib.py Line 319 in 278030a self._raw_path = self._flavour.join(*paths) This is the first occurrence of self._flavour in pathlib.py. I don't see where this object is set. I can't fi...
Open Graph Description: This question is related to Python 3.12. cpython/Lib/pathlib.py Line 319 in 278030a self._raw_path = self._flavour.join(*paths) This is the first occurrence of self._flavour in pathlib.py. I don't ...
X Description: This question is related to Python 3.12. cpython/Lib/pathlib.py Line 319 in 278030a self._raw_path = self._flavour.join(*paths) This is the first occurrence of self._flavour in pathlib.py. I don...
Opengraph URL: https://github.com/python/cpython/issues/104921
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pathlib: Where does \"self._flavour\" comes from? (3.11 to 3.12 migration)","articleBody":"This question is related to Python 3.12.\r\n\r\nhttps://github.com/python/cpython/blob/278030a17d6889731d91a55e9f70cbec0b07dee8/Lib/pathlib.py#L319\r\n\r\nThis is the first occurrence of `self._flavour` in `pathlib.py`. I don't see where this object is set. I can't find the string `self._flavour =` somewhere in the repo. I'm confused.\r\n\r\nBackground:\r\nI 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.","author":{"url":"https://github.com/buhtz","@type":"Person","name":"buhtz"},"datePublished":"2023-05-25T07:59:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/104921/cpython/issues/104921"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:98ad6b1b-374a-d2e2-3d42-0e7c69c91259 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEAE:CADE5:432DC7:5987BE:69697E71 |
| html-safe-nonce | ee1fc586c7d9bf3bcf991e7e33255e552f303c72df04a8f8a11028b22b690b85 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUFFOkNBREU1OjQzMkRDNzo1OTg3QkU6Njk2OTdFNzEiLCJ2aXNpdG9yX2lkIjoiMzEyNzYwMTA0OTM0NjA4MDM2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 73655a7c66e28044dbf637072e1fcb187e1507d824133fbb1446116b6e5a3a3d |
| hovercard-subject-tag | issue:1725294196 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/104921/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5483ccccbb09d8e4a96d060f94e9b659d272b2b86ffb1c7501208c6181123111/python/cpython/issues/104921 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5483ccccbb09d8e4a96d060f94e9b659d272b2b86ffb1c7501208c6181123111/python/cpython/issues/104921 |
| og:image:alt | This question is related to Python 3.12. cpython/Lib/pathlib.py Line 319 in 278030a self._raw_path = self._flavour.join(*paths) This is the first occurrence of self._flavour in pathlib.py. I don't ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | buhtz |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width