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 added the comment:
> What about AbstractPath instead of _PurePath ?
I will use this, thanks.
--
___
Python tracker
<https://bugs.python.org/issu
qb-cea 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 proper test.
I will try to
Change by qb-cea :
--
keywords: +patch
pull_requests: +5981
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue24132>
___
___
Python-
Change by qb-cea :
--
nosy: +qb-cea
___
Python tracker
<https://bugs.python.org/issue24132>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
qb-cea added the comment:
Typo in the code of the previous comment:
- __slots__ = ("new_attr",)
+ __slots__ = ("_new_attr",)
--
type: -> behavior
___
Python tracker
<https://
New submission from qb-cea :
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 errno import ENODATA
from os