Change in behaviour Python 3.7 > 3.8

2020-02-06 Thread Frank Millman
Hi all I have noticed a change in behaviour in Python 3.8 compared with previous versions of Python going back to at least 2.7. I am pretty sure that it is not a problem, and is caused by my relying on a certain sequence of events at shutdown, which of course is not guaranteed. However, any c

Re: Change in behaviour Python 3.7 > 3.8

2020-02-06 Thread Barry
> On 6 Feb 2020, at 13:01, Frank Millman wrote: > > Hi all > > I have noticed a change in behaviour in Python 3.8 compared with previous > versions of Python going back to at least 2.7. I am pretty sure that it is > not a problem, and is caused by my relying on a certain sequence of events

Re: Change in behaviour Python 3.7 > 3.8

2020-02-06 Thread Souvik Dutta
You might find this helpful. https://docs.python.org/3/reference/datamodel.html Thank you 😊😙 On Thu, Feb 6, 2020, 6:29 PM Frank Millman wrote: > Hi all > > I have noticed a change in behaviour in Python 3.8 compared with > previous versions of Python going back to at least 2.7. I am pretty sur

Re: Change in behaviour Python 3.7 > 3.8

2020-02-06 Thread Serhiy Storchaka
06.02.20 14:58, Frank Millman пише: I have noticed a change in behaviour in Python 3.8 compared with previous versions of Python going back to at least 2.7. I am pretty sure that it is not a problem, and is caused by my relying on a certain sequence of events at shutdown, which of course is not

Re: Documentation of __hash__

2020-02-06 Thread klauck2
The default __eq__ method (object identity) is compatible with all (reasonable) self-defined __hash__ method. Stefan -- https://mail.python.org/mailman/listinfo/python-list

Re: Change in behaviour Python 3.7 > 3.8

2020-02-06 Thread Frank Millman
On 2020-02-06 2:58 PM, Frank Millman wrote: [...] I have a module (A) containing common objects shared by other modules. I have a module (B) which imports one of these common objects - a set(). [...] This has worked for years, but now when the __del__ method is called, the common object,