[Python-ideas] Working with Path objects: p-strings?

Jonathan Goble jcgoble3 at gmail.com
Wed Mar 30 14:02:39 EDT 2016


(I have no interest in this subject of this thread, but wanted to
point this out.)

On Wed, Mar 30, 2016 at 1:51 PM, Koos Zevenhoven <k7hoven at gmail.com> wrote:
> I have wished for base.mkdir("subdir") too, but the addition to
> pathlib would be backwards incompatible for people that give the mode
> argument as a positional argument.
>
>> [snip]
>
> I wonder if it is still possible to rename pathlib attributes (and
> keep the old ones as deprecated aliases for a while), now that the
> adoption of pathlib is still limited.

pathlib is still provisional (PEP 411), thus any changes can be made
if deemed necessary, including backward incompatible changes. The bar
for such changes is described by PEP 411 as "quite high", but they can
occur.


More information about the Python-ideas mailing list