Re: Pickling issue.

2020-12-21 Thread Bob Gailer
On Mon, Dec 21, 2020, 3:03 PM Vincent Vande Vyvre < vincent.vande.vy...@telenet.be> wrote: > Hi, > > I've an object that I want to serialise with pickle. > When I reload the object the attributes of this object are correctly > fixed except one of these. > > This attribute (value) define a simple s

RE: How do you find what exceptions a class can throw?

2020-12-21 Thread Avi Gross via Python-list
I agree Chris, that your original question is quite to the point. But is it always? If you do something that tries to read a file (such as opening a database to send queries) on a remote server, how many different things might time out for various reasons? Some may resolve if you keep trying an

Problem running Pygame Zero

2020-12-21 Thread peter walker
Hi I hope you can help. I am trying to use pygame zero (working with my 10 year old grandson) but it won't run anything ( I did have it running for a little while now nothing). Below are the results of: 1. Installing pygame zero 2. Running a listing (whatever I run I get the same resul

Pickling issue.

2020-12-21 Thread Vincent Vande Vyvre
Hi, I've an object that I want to serialise with pickle. When I reload the object the attributes of this object are correctly fixed except one of these. This attribute (value) define a simple string. Example: - tag =  XmpTag('Xmp.dc.format', 'image/

Re: How do you find what exceptions a class can throw?

2020-12-21 Thread Terry Reedy
On 12/21/2020 4:06 AM, Chris Green wrote: Avi Gross wrote: The original question sounded like someone was asking what errors might be thrown for a routine they wrote that used other components that might directly throw exceptions or called yet others, ad nauseum. OP here. The original questi

Re: How do you find what exceptions a class can throw?

2020-12-21 Thread Grant Edwards
On 2020-12-21, Chris Angelico wrote: > On Mon, Dec 21, 2020 at 1:11 PM Julio Di Egidio wrote: >> > Gathering evidence is indeed part of science, and computer science is >> > indeed mathematics, but alas programmering is just a craft and software >> > engineering often ... isn't. >> >> Programming

[RELEASE] Python 3.8.7 is now available

2020-12-21 Thread Łukasz Langa
Python 3.8.7 is the seventh maintenance release of Python 3.8. Go get it here: https://www.python.org/downloads/release/python-387/ Note: this is a bugfix release for the 3.8 series which was superseded by Python 3.9, currently the latest fe

Python pyrebase user auth

2020-12-21 Thread Sadaka Technology
Hello guys, how can I get user auth refresh token and local id ? -- https://mail.python.org/mailman/listinfo/python-list

Re: How do you find what exceptions a class can throw?

2020-12-21 Thread Chris Angelico
On Tue, Dec 22, 2020 at 12:32 AM Larry Martell wrote: > > On Sun, Dec 20, 2020 at 9:36 PM Chris Angelico wrote: > > > > On Mon, Dec 21, 2020 at 1:11 PM Julio Di Egidio wrote: > > > > Gathering evidence is indeed part of science, and computer science is > > > > indeed mathematics, but alas progra

Re: How do you find what exceptions a class can throw?

2020-12-21 Thread Larry Martell
On Sun, Dec 20, 2020 at 9:36 PM Chris Angelico wrote: > > On Mon, Dec 21, 2020 at 1:11 PM Julio Di Egidio wrote: > > > Gathering evidence is indeed part of science, and computer science is > > > indeed mathematics, but alas programmering is just a craft and software > > > engineering often ... is

Re: How do you find what exceptions a class can throw?

2020-12-21 Thread Chris Green
Avi Gross wrote: > The original question sounded like someone was asking what errors might be > thrown for a routine they wrote that used other components that might > directly throw exceptions or called yet others, ad nauseum. > OP here. The original question was because I wanted to trap timout