I really like this feature suggestion and I would definitely use it if it
were available.
It might be easiest to have the repr helper do as much as it can, but give
the user the flexibility to override things with varying levels of
precision. For example:
def kwargs(obj,
keys: Opti
On Tuesday, December 3, 2019 at 7:54:03 PM UTC-5, Jan Bakuwel wrote:
>
> Hi Guido,
>
> On 4/12/19 1:06 pm, Guido van Rossum wrote:
> > I was playing the devil's advocate in jest. There is no way this will
> > be added to Python, for a large variety of sociological and software
> > engineering
Thanks everyone for your responses.
I would like to take all the information you gave me and do some research on
it. I'll try to get it done this weekend or beginning of next week.
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe
Pickling uses an extensible protocol that lets any class determine how its
instances can be deconstructed and reconstructed. Both `pickle` and `copy` use
this protocol, but it could be useful more generally. Unfortunately, to use it
more generally requires relying on undocumented details. I thin