qb-cea added the comment:
Hi,
Thanks for reviving this! Feel free to reuse any code I wrote in my PR (or the
whole PR itself), I do not think I will ever get around to finishing this work
myself.
--
___
Python tracker
<https://bugs.python.
qb-cea <quentin.bou...@cea.fr> added the comment:
> What about AbstractPath instead of _PurePath ?
I will use this, thanks.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
qb-cea <quentin.bou...@cea.fr> added the comment:
Hi all,
I made a pull request proposing a fix for this issue. There is still quite a
lot to be done:
- I exposed some variables (and probably methods too) that used to be hidden;
- I did not update the documentation;
- I did not add a
Change by qb-cea <quentin.bou...@cea.fr>:
--
keywords: +patch
pull_requests: +5981
stage: -> patch review
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
Change by qb-cea <quentin.bou...@cea.fr>:
--
nosy: +qb-cea
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue24132>
___
__
qb-cea <quentin.bou...@cea.fr> added the comment:
Typo in the code of the previous comment:
- __slots__ = ("new_attr",)
+ __slots__ = ("_new_attr",)
--
type: -> behavior
___
Python tracker <rep...@bugs.pyth
New submission from qb-cea <quentin.bou...@cea.fr>:
Hi,
I tried subclassing pathlib.Path and provide it with a new attribute (basically
an accessor to an extended attribute). I am rather new to the concept of
__slots__ and __new__() but here is how I pictured it should look:
from