On 3/9/22 13:05, Marco Sulla wrote:
> So my laziness pays. I use only LTS distros, and I update only when
> there are security updates.
> PS: any suggestions for a new LTS distro? My Lubuntu is reaching its
> end-of-life. I prefer lightweight debian-like distros.
Maybe Debian itself?
--
https://
I perhaps didn't understand the PEP completely but I think that the goal
of marking some objects as immortal is to remove the refcount from they.
For immutable objects that would make them truly immutable.
However I don't think that the immortality could be applied to any
immutable object by def
On 2022-03-07 06:00:57 -0800, Grant Edwards wrote:
> On 2022-03-07, Peter J. Holzer wrote:
> > On 2022-03-06 18:34:39 -0800, Grant Edwards wrote:
> >> On 2022-03-06, Avi Gross via Python-list wrote:
> >> > Python is named after a snake right?
> >>
> >> No. It's named after a comedy troupe.
> >
>
As title. dict can't be an immortal object, but hashable frozendict
and frozenmap can. I think this can increase their usefulness.
Another advantage: frozen dataclass will be really immutable if they
could use a frozen(dict|map) instead of a dict as __dict__
--
https://mail.python.org/mailman/lis
With the acceptance of PEP 676, the canonical home of the Python Enhancement
Proposal series will shortly move to peps.python.org.
All existing links will redirect when the change is made, this announcement is
to promote awareness of the new domain as canonical.
Thanks,
Adam Turner
PEP Editor a
So my laziness pays. I use only LTS distros, and I update only when
there are security updates.
PS: any suggestions for a new LTS distro? My Lubuntu is reaching its
end-of-life. I prefer lightweight debian-like distros.
On Tue, 8 Mar 2022 at 19:56, Ethan Furman wrote:
>
> https://arstechnica.com/
Hello,
I am wondering about a situation involving typing, Generic and a child
class.
The documentation about "user-defined generic types"[1] says that I can
fix some types on a child class (class MyDict(Mapping[str, T]):) but
doesn't say much about the signature of the methods I need to
imp