bpo-44136: pathlib: merge _Flavour.make_uri()
into PurePath.as_uri()
by barneygale · Pull Request #30320 · python/cpython (original) (raw)
So why do this? I noticed as_uri()
wasn't moved under PurePosixPath
, so why the half move? And what's going to be gained by doing this? I know the issue mentioned potential future benefits, but I would rather make the actual change with the future benefit rather than in hopes of the benefit materializing.
Basically the code doesn't read any simpler/cleaner, and with PurePosixPath
not changed I'm not finding it more readable, so it feels a bit too much like code churn without understanding the deeper motivation.