[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> On 2 Oct 2019, at 23:58, DL Neil via Python-list <python-list at python.org> wrote:
> In my mind, I'm wondering if it will come to that (having 'got past' the original observation/issue, I'm concerned by .rename()'s silent errors, for example). However, that 'outside' research, eg StackOverflow, shows that sub-classing pathlib is problematic, and quite possibly not part of the design (this is repeating 'gossip' - I'm not going to try to justify the comment or the claim). That said, last night my code sub-classing Path() seemed to work quite happily (albeit only tested on a 'Posix' box). The yawning chasm/gaping jaws below, however, are that I've probably made yet another 'assumption' about how things 'should' work. Run for the hills!

What silent error? It raise expects if the rename does not work.

Or do you mean it does not mutate the path on a rename? Thats a feature not a bug.