Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-13 Thread Tony Oliver
On Wednesday, 13 October 2021 at 16:16:46 UTC+1, jkk wrote: > Selenium 3.141+ > python 3.8+ > ubuntu 20.04 or windows 10 > > I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several > DepreciationWarnings. > > Can someone point me to where I can find the documentation that

Re: spyder does not work under root! [linux]

2021-10-13 Thread Michael Torrie
On 10/13/21 12:09 PM, Paulo da Silva wrote: > spyder and eric are both python editors/debuggers! Why are they related > with web browsers?! Good point. I was going off of the chromium bug report. My bad. I mistook Spyder for Selenium, which is a web scraping scripting engine that does use a real

Re: spyder does not work under root! [linux]

2021-10-13 Thread Peter J. Holzer
On 2021-10-13 19:09:43 +0100, Paulo da Silva wrote: > Às 02:08 de 12/10/21, Michael Torrie escreveu: > > On 10/8/21 4:32 PM, Paulo da Silva wrote: > >> Às 22:56 de 08/10/21, Paulo da Silva escreveu: > >>> I need to debug a python3 script under root. I tried spyder but it does > >>> not work. > >>>

[ANN] PyYAML-6.0 Released

2021-10-13 Thread Ingy dot Net
= Announcing PyYAML-6.0 = A new release of PyYAML is now available: https://github.com/yaml/pyyaml/releases/tag/6.0 The previously-deprecated default loader selection in `yaml.load()` has been removed; `Loader` is now a required argument. Support for Pytho

Re: spyder does not work under root! [linux]

2021-10-13 Thread Paulo da Silva
Às 02:08 de 12/10/21, Michael Torrie escreveu: > On 10/8/21 4:32 PM, Paulo da Silva wrote: >> Às 22:56 de 08/10/21, Paulo da Silva escreveu: >>> Hi! >>> >>> I need to debug a python3 script under root. I tried spyder but it does >>> not work. >>> >>> Running as root without --no-sandbox is not supp

Re: spyder does not work under root! [linux]

2021-10-13 Thread Paulo da Silva
Às 22:54 de 11/10/21, Chris Angelico escreveu: > On Tue, Oct 12, 2021 at 8:52 AM Paulo da Silva > wrote: >> >> Hi! >> >> I need to debug a python3 script under root. I tried spyder but it does >> not work. >> >> Running as root without --no-sandbox is not supported. See >> https://crbug.com/638180

RE: sum() vs. loop

2021-10-13 Thread Avi Gross via Python-list
Yes, Stefan, I realized that and did not test more thoroughly. Chris pointed it out too. I indeed deleted the names but a second reference remained so I may be wrong and the function may just keep track of the position and return one tuple at a time. That would be a good design, unless there was a

Re: Mailing list activity low

2021-10-13 Thread Ken Peng
Maybe bounced by your mail provider. Try changing to another ESP such as gmail. On Wed, Oct 13, 2021 at 1:45 AM Antoon Pardon wrote: > Have I missed something and has the maillinglist been moved. Activity is > very low here, about one message every five days. > > Antoon Pardon. > -- > https://ma

Re: sum() vs. loop

2021-10-13 Thread Oscar Benjamin
On Mon, 11 Oct 2021 at 23:00, Christian Gollwitzer wrote: > > Am 10.10.21 um 10:49 schrieb Steve Keller: > > I have found the sum() function to be much slower than to loop over the > > operands myself: > > > > def sum_products(seq1, seq2): > > return sum([a * b for a, b in zip(seq1, seq2)]) >

Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-13 Thread jkk
Selenium 3.141+ python 3.8+ ubuntu 20.04 or windows 10 I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several DepreciationWarnings. Can someone point me to where I can find the documentation that explains how to to remedy these warnings. What are the new preferred coding pract