Re: EuroPython Society: General Assembly 2021

2021-09-26 Thread damien jenman
Please stop e-mailing me On 26 Sep 2021 1:42 am, Marc-Andre Lemburg wrote: As last year, we are holding the General Assembly (GA) of the EuroPython Society (EPS) online for this year. General Assembly In accordance with our bylaws, we are calling

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Ned Deily
On 9/26/21 20:38, Grant Edwards wrote: On 2021-09-26, Ethan Furman wrote: On 9/26/21 10:34 AM, Grant Edwards wrote: On 2021-09-26, Ethan Furman wrote: I am unaware of a change in the newsgroup <--> mailing list policy, and other newsgroup posts were coming through last week (it's been a li

Re: Why does SMTP.send_message() do from mangling?

2021-09-26 Thread Grant Edwards
On 2021-09-27, Grant Edwards wrote: > Why does SMTP.send_message(msg) do from mangling even though msg's > policy has mangle_from_ set to False? I've concluded this is a bug in SMTP.send_message() https://bugs.python.org/issue45299 -- Grant -- https://mail.python.org/mailman/listinfo/pyth

Re: Bug in email.generator.BytesGenerator() [was: Why does SMTP.send_message() do from mangling?]

2021-09-26 Thread Grant Edwards
On 2021-09-27, Grant Edwards wrote: > According to > https://docs.python.org/3/library/email.generator.html#email.generator.BytesGenerator > the default from mangling behavior is _supposed_ to obey the message > policy if no policy or mangle_from_ value was > provided to the call to BytesGenerato

Bug in email.generator.BytesGenerator() [was: Why does SMTP.send_message() do from mangling?]

2021-09-26 Thread Grant Edwards
On 2021-09-27, Grant Edwards wrote: > Why does SMTP.send_message(msg) do from mangling even though msg's > policy has mangle_from_ set to False? The msg policy is > email.policy.SMTP which has mangle_from_ disabled. > > One might expect that SMTP.send_message(msg) would use either msg's > policy o

Why does SMTP.send_message() do from mangling?

2021-09-26 Thread Grant Edwards
Why does SMTP.send_message(msg) do from mangling even though msg's policy has mangle_from_ set to False? The msg policy is email.policy.SMTP which has mangle_from_ disabled. One might expect that SMTP.send_message(msg) would use either msg's policy or email.policy.SMTP to send the message, but it

Re: Subject: Re: Posts from gmane no longer allowed?

2021-09-26 Thread 2QdxY4RzWzUUiLuE
On 2021-09-26 at 17:40:18 -0700, Grant Edwards wrote: > On 2021-09-26, Mats Wichmann wrote: > > On 9/26/21 10:38, 2qdxy4rzwzuui...@potatochowder.com wrote: > >> On 2021-09-26 at 11:21:08 -0500, > > > >> No. I use mbsync (formerly isync) to synchronize my gmail account with > >> a local maildir

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-27, Grant Edwards wrote: >>From the list's POV, gmane.io is a "normal" email subscriber who just > happens to archive all the articles it receives. I should never have > mentioned that gmane.io does NNTP -- it just seems to have confused > everybody. Did SMTP.send_mess

Re: Subject: Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-26, Mats Wichmann wrote: > On 9/26/21 10:38, 2qdxy4rzwzuui...@potatochowder.com wrote: >> On 2021-09-26 at 11:21:08 -0500, > >> No. I use mbsync (formerly isync) to synchronize my gmail account with >> a local maildir folder, and while mbsync does send the app password >> (over TLS) to

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-26, Ethan Furman wrote: > On 9/26/21 10:34 AM, Grant Edwards wrote: > > On 2021-09-26, Ethan Furman wrote: > >>> I am unaware of a change in the newsgroup <--> mailing list policy, >>> and other newsgroup posts were coming through last week (it's been a >>> light weekend). >> >> We're

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-26, Grant Edwards wrote: > >> 2 Every message from the OP in this 'thread' (not others) has broken the >> thread, which indicates a wider problem/change. > > And I apologize for that. It's because I'm reading the list using an > NNTP client (slrn) connected to an NNTP server at gmane.i

Re: Subject: Re: Posts from gmane no longer allowed?

2021-09-26 Thread Mats Wichmann
On 9/26/21 10:38, 2qdxy4rzwzuui...@potatochowder.com wrote: On 2021-09-26 at 11:21:08 -0500, No. I use mbsync (formerly isync) to synchronize my gmail account with a local maildir folder, and while mbsync does send the app password (over TLS) to google every few minutes, it doesn't need the s

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Ethan Furman
On 9/26/21 10:34 AM, Grant Edwards wrote: > On 2021-09-26, Ethan Furman wrote: >> I am unaware of a change in the newsgroup <--> mailing list policy, >> and other newsgroup posts were coming through last week (it's been a >> light weekend). > > We're not talking about the usenet<-->list gateway.

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-26, dn via Python-list wrote: > On 27/09/2021 06.34, Grant Edwards wrote: >> On 2021-09-26, Ethan Furman wrote: >>> On 9/26/21 9:21 AM, Grant Edwards wrote: On 2021-09-26, Chris Angelico wrote: >>> > I'm not sure whether the policy change happened on python-list, > or a

Re: Posts from gmane no longer allowed?

2021-09-26 Thread dn via Python-list
On 27/09/2021 06.34, Grant Edwards wrote: > On 2021-09-26, Ethan Furman wrote: >> On 9/26/21 9:21 AM, Grant Edwards wrote: >>> On 2021-09-26, Chris Angelico wrote: >> I'm not sure whether the policy change happened on python-list, or at gmane. From the look of the error message you got,

io.TextIOWrapper and io.RawIOBase

2021-09-26 Thread Iwan Aucamp
Documentation for `io.TextIOWrapper` [[1]] suggests that the buffer supplied to the constructor should be of `io.BufferedIOBase` type: > A buffered text stream over a `BufferedIOBase` binary stream. Looking at the implementation of `io.TextIOWrapper` in both `Modules/_io/textio.c` [[2]] and `Lib/

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-26, Ethan Furman wrote: > On 9/26/21 9:21 AM, Grant Edwards wrote: > > On 2021-09-26, Chris Angelico wrote: > > >> I'm not sure whether the policy change happened on python-list, or at > >> gmane. From the look of the error message you got, it may have > >> actually been gmane's decisi

Re: Free OCR package in Python and selecting appropriate widget for the GUI

2021-09-26 Thread Mohsen Owzar
Mohsen Owzar schrieb am Donnerstag, 23. September 2021 um 08:53:15 UTC+2: > DFS schrieb am Mittwoch, 22. September 2021 um 09:41:42 UTC+2: > > On 9/22/2021 1:54 AM, Mohsen Owzar wrote: > > > DFS schrieb am Mittwoch, 22. September 2021 um 05:10:30 UTC+2: > > >> On 9/21/2021 10:38 PM, Mohsen Owzar

Re: Subject: Re: Posts from gmane no longer allowed?

2021-09-26 Thread Ethan Furman
On 9/26/21 9:21 AM, Grant Edwards wrote: > On 2021-09-26, Chris Angelico wrote: >> I'm not sure whether the policy change happened on python-list, or at >> gmane. From the look of the error message you got, it may have >> actually been gmane's decision. Haven't heard anything from the list >> ad

Re: Subject: Re: Posts from gmane no longer allowed?

2021-09-26 Thread 2QdxY4RzWzUUiLuE
On 2021-09-26 at 11:21:08 -0500, Grant Edwards wrote: > [...] Do you need the 2nd factor every time you connect to GMail via a > browser or Android Gmail app? Or just the first time for each > browser/device? A bit of studying seems to be in order no matter > what. :) No. I use mbsync (formerl

Subject: Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-26, Chris Angelico wrote: Thanks for the tips on registering an application for oauth2 credentials. It sounds like I should be able to do that if I practice my hoop-jumping a bit more. > (But I'd still recommend an app password. Much easier.) Yes, I really should go with the 2FA and

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Chris Angelico
On Mon, Sep 27, 2021 at 1:10 AM Grant Edwards wrote: > > On 2021-09-26, Chris Angelico wrote: > > > Not sure what the significance of the "application" is - Google has > > different services for where you're using it with your own domain, but > > that shouldn't be relevant. If you want to use Gma

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-26, Chris Angelico wrote: > Not sure what the significance of the "application" is - Google has > different services for where you're using it with your own domain, but > that shouldn't be relevant. If you want to use Gmail with mutt, you > should be able to do that, regardless. (Or yo

Re: Flush / update GUIs in PyQt5 during debugging in PyCharm

2021-09-26 Thread Mohsen Owzar
DFS schrieb am Freitag, 24. September 2021 um 14:52:41 UTC+2: > On 9/24/2021 12:46 AM, Mohsen Owzar wrote: > > Hi Guys > > I've written a GUI using PyQt5 and in there I use StyleSheets (css) for the > > buttons and labels to change their background- and foreground-colors and > > their states as

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Chris Angelico
On Sun, Sep 26, 2021 at 11:37 PM Grant Edwards wrote: > > I've been trying to figure out how to set up mutt with oauth2 for > gmail, but have run into a wall there too: Google doesn't want to let > me create an "application" unless I have my own domain pre-registered > with Google. > > Perhaps aft

Re: Posts from gmane no longer allowed?

2021-09-26 Thread Grant Edwards
On 2021-09-25, Grant Edwards wrote: > I've been reading (and posting to) this list for many years by > pointing an NNTP client at > news://gmane.comp.python.general. Sometime in the past few days > posts started being refused: > > You have tried posting to gmane.comp.python.general, which is