Le samedi 26 octobre 2019 17:49:57 UTC+2, Peter Otten a écrit :
> Pascal wrote:
>
> > I have a small python (3.7.4) script that should open a log file and
> > display its content but as you can see, an encoding error occurs :
> >
> > ---
> >
> > import fileinput
> > import sy
On Sun, Oct 27, 2019 at 6:26 PM Steve White wrote:
> As near as I can tell, returning the id() in __hash__() results in a
> perfect hash key. I really want to know if that is true.
> Because if it is true, any further layer is simply covering for a
> failing in the documentation.
Only if your __
Hi,
Yes, there are several options, but they all involve an extra layer
that detracts between the interface I am building and my user's code.
In this situation, the objects being used as keys are conceptually the
unique entities that the user deals with, even if their data is
non-unique. And I do