Re: Multiprocessing, join(), and crashed processes

2020-02-05 Thread Cameron Simpson
On 05Feb2020 15:48, Israel Brewster wrote: In a number of places I have constructs where I launch several processes using the multiprocessing library, then loop through said processes calling join() on each one to wait until they are all complete. In general, this works well, with the *apparen

Multiprocessing, join(), and crashed processes

2020-02-05 Thread Israel Brewster
In a number of places I have constructs where I launch several processes using the multiprocessing library, then loop through said processes calling join() on each one to wait until they are all complete. In general, this works well, with the *apparent* exception of if something causes one of th

Re: Documentation of __hash__

2020-02-05 Thread Christian Gollwitzer
Am 05.02.20 um 20:55 schrieb klau...@gmail.com: If not, why should a class not define __hash__, if it does not define __eq__? Hashes are not unique. When you insert or look up something in a hashtable, the hash is computed and used as the index into the table. Because the hash is not necessa

Re: Documentation of __hash__

2020-02-05 Thread klauck2
On Wednesday, February 5, 2020 at 7:41:13 PM UTC+1, Dieter Maurer wrote: > Stefan Halfpap wrote at 2020-2-5 14:57 +0100: > >I do not understand the following statement from the python (2 and 3) > >documentation regarding __hash__ and __eq__ methods: > >"If a class does not define an __eq__() > ><

Re: Documentation of __hash__

2020-02-05 Thread Dieter Maurer
Stefan Halfpap wrote at 2020-2-5 14:57 +0100: >I do not understand the following statement from the python (2 and 3) >documentation regarding __hash__ and __eq__ methods: >"If a class does not define an __eq__() > method it >shoul

Re: How to instlal pyodbc, without pip

2020-02-05 Thread dcwhatthe
On Tuesday, February 4, 2020 at 8:53:10 PM UTC-5, Souvik Dutta wrote: > You might use chocolatey if you like. > > On Tue, 4 Feb, 2020, 11:05 pm , dcwhatthe wrote: > > > Hi, > > > > Pip won't work on my desktop, because of the firewalls we have set up. > > > > I have the version from github. Assu

Documentation of __hash__

2020-02-05 Thread Stefan Halfpap
Hi, I do not understand the following statement from the python (2 and 3) documentation regarding __hash__ and __eq__ methods: "If a class does not define an __eq__() method it should not define a __hash__()