Re: PEP 526 - var annotations and the spirit of python

2018-07-14 Thread Christian Gollwitzer
Am 05.07.18 um 12:04 schrieb Steven D'Aprano: On Thu, 05 Jul 2018 09:17:20 +0200, Christian Gollwitzer wrote: Am 04.07.18 um 17:31 schrieb Steven D'Aprano: On Wed, 04 Jul 2018 13:48:26 +0100, Bart wrote: Presumably one type hint applies for the whole scope of the variable, not just the one a

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Abdur-Rahmaan Janhangeer
@GregoryEwing maybe another word for pep revocation is fork Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ -- https://mail.python.org/mailman/listinfo/python-list

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Gregory Ewing
Paul Rubin wrote: If you see the historical absence of an assignment operator in Python as a mistake, then the introduction of := is a fix for the mistake that only happened because people kept complaining. That's not quite the same thing. There was no a PEP saying that there would never be ass

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Steven D'Aprano
On Sat, 14 Jul 2018 22:54:52 +0300, Marko Rauhamaa wrote: > Ah, that's called "shunning," isn't it? No, shunning is when people simply stop responding to those they don't approve of, turn their back on them in the street, and refuse to acknowledge their existence in any way. -- Steven D'Apra

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 12:55 PM, Steven D'Aprano wrote: > On Sun, 15 Jul 2018 09:07:17 +1000, Chris Angelico wrote: > >> On Sun, Jul 15, 2018 at 8:15 AM, Marko Rauhamaa >> wrote: >>> Chris Angelico : >>> On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa wrote: > True enough. Modern-

Guido's leaving

2018-07-14 Thread Jack Gilbert
To Guido, I wish you much success in all your future endeavors. Jack G Python Newby -- https://mail.python.org/mailman/listinfo/python-list

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Steven D'Aprano
On Sun, 15 Jul 2018 09:07:17 +1000, Chris Angelico wrote: > On Sun, Jul 15, 2018 at 8:15 AM, Marko Rauhamaa > wrote: >> Chris Angelico : >> >>> On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa >>> wrote: True enough. Modern-day protocols as well as Linux file formats and commands intent

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 5:19 AM, Tim Daneliuk wrote: > On 07/14/2018 04:09 AM, Christian Gollwitzer wrote: >> I agree with this observation and it feels quite strange to me. I regularly >> use three languages (C++, Python and Tcl), all three are under active >> development, and IMHO all of them

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Tim Daneliuk
On 07/14/2018 04:09 AM, Christian Gollwitzer wrote: > I agree with this observation and it feels quite strange to me. I regularly > use three languages (C++, Python and Tcl), all three are under active > development, and IMHO all of them have flaws, there are is always something > which is elega

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 8:15 AM, Marko Rauhamaa wrote: > Chris Angelico : > >> On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa wrote: >>> True enough. Modern-day protocols as well as Linux file formats and >>> commands intentionally blur the line between strings and bytes. The >>> software in que

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Marko Rauhamaa
Chris Angelico : > On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa wrote: >> True enough. Modern-day protocols as well as Linux file formats and >> commands intentionally blur the line between strings and bytes. The >> software in question deals with all of the above. It is virtually >> impossibl

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Etienne Robillard
Le 2018-07-14 à 16:02, Chris Angelico a écrit : No, it isn't. Shunning would be killfiling you, which is apparently "more polite" than telling you how utterly and completely wrong you are. What I would like to do is ban you for endemic racism, honestly. By recommending and preferring eight-bi

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 5:54 AM, Marko Rauhamaa wrote: > Chris Angelico : > >> On Sun, Jul 15, 2018 at 4:44 AM, Marko Rauhamaa wrote: >>> Having gone through a recent 2to3 effort that left my conscience >>> stained, I can only lament for the lost paradise which was Python >>> 2.7. There *was* one

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Etienne Robillard
I'm really sad to hear that news! Python is the language which made me gain the most skills in modern software programming ever! I have not encountered a better programming language than Python for quickly becoming a mature developer! I just hope the Python software foundation will continue

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Terry Reedy
On 7/14/2018 2:44 PM, Marko Rauhamaa wrote: Having gone through a recent 2to3 effort that left my conscience stained, I can only lament for the lost paradise which was Python 2.7. I am curious, which release of 2.7 do you apply that to? The initial 2.7.0? Should we have stopped there? The

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Marko Rauhamaa
Chris Angelico : > On Sun, Jul 15, 2018 at 4:44 AM, Marko Rauhamaa wrote: >> Having gone through a recent 2to3 effort that left my conscience >> stained, I can only lament for the lost paradise which was Python >> 2.7. There *was* one real gain: MemoryBIO, but that's not enough to >> bring a smil

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Tim Daneliuk
On 07/14/2018 10:16 AM, Skip Montanaro wrote: >> Is it irrational to wonder whether projects should be looking to migrate to >> new languages? This kind of announcement makes me worry for the future. > > Umm, yeah. The language is stable, widely used packages are stable. > Guido actually has littl

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sun, Jul 15, 2018 at 4:44 AM, Marko Rauhamaa wrote: > Ian Kelly : > >> I think we all can name things we don't like about Python. For >> example, you're not likely to ever convince me that piggybacking >> coroutines onto generators was anything but a terrible hack that >> results in added compl

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Marko Rauhamaa
Ian Kelly : > I think we all can name things we don't like about Python. For > example, you're not likely to ever convince me that piggybacking > coroutines onto generators was anything but a terrible hack that > results in added complexity and leaky abstraction now that the feature > has been str

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Jim Lee
On 07/14/18 02:09, Christian Gollwitzer wrote: Am 14.07.18 um 10:00 schrieb Marko Rauhamaa: Steven D'Aprano : Apparently Marko didn't notice the irony of suggesting that we display excessive commitment to GvR The object of the "cult" isn't GvR, it's Python itself. I agree with this obser

Re: Kindness

2018-07-14 Thread Terry Reedy
On 7/14/2018 3:35 AM, Steven D'Aprano wrote: On Sat, 14 Jul 2018 05:19:36 +0300, Mikhail V wrote: From Marko's check-list: [ ] The group has a polarized us-versus-them mentality Many Python programmers -- perhaps the majority -- know more than one programming language, enjoy some of them, an

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Skip Montanaro
> Is it irrational to wonder whether projects should be looking to migrate to > new languages? This kind of announcement makes me worry for the future. Umm, yeah. The language is stable, widely used packages are stable. Guido actually has little involvement in the larger Python ecosystem. It's not

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Ian Kelly
On Sat, Jul 14, 2018 at 3:12 AM Christian Gollwitzer wrote: > Typical conversation on this list / newsgroup: > > Q: "I could need a ?: operator just like in C. Is there something like > that in Python?" > > A1: "No. You don't want it. It makes the code confusing. You said, you > have a problem, yo

FYI apparmor and lxc in Ubuntu

2018-07-14 Thread CFK
Hi all, this is just an FYI in case anyone else has the same issue I just ran into. If you use python 3.6 or 3.7 under Ubuntu with lxc, you may discover that your site-packages aren't being imported correctly within the container, but when you SSH in, everything works correctly. If that happens, ch

logging from time critical tasks -- QueueListener().stop() takes the whole CPU

2018-07-14 Thread Gerlando Falauto
Hi, I'm adding logging to a time critical task running resource-constrained hardware (Raspberry Pi). I read about the QueueListener/QueueHandler in: https://docs.python.org/3/howto/logging-cookbook.html#dealing-with-handlers-that-block and I'm trying to understand how it really works and what's

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Abdur-Rahmaan Janhangeer
@ChrisAngelico py's dev is not mere whims here and there py does not assume, it waits for peps. peps are not flown direct dustbin, they are reviewed the qna gives the impression of hey python is weird and just brushes suggestions with the back of the hand or defends some parts without justificat

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Bart
On 14/07/2018 10:09, Christian Gollwitzer wrote: Am 14.07.18 um 10:00 schrieb Marko Rauhamaa: Steven D'Aprano : Apparently Marko didn't notice the irony of suggesting that we display excessive commitment to GvR The object of the "cult" isn't GvR, it's Python itself. I agree with this obser

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Thomas Jollans
On 13/07/18 00:20, Roel Schroeven wrote: > Yes, you read that right: Guido van Rossum resigns as Python leader. > > See his mail: > (https://mail.python.org/pipermail/python-committers/2018-July/005664.html) Thanks for posting this here, Roel. Much appreciated. Guido has been fantastic, and he w

Re: OT Why Germany? [was Re: Guido van Rossum resigns as Python leader]

2018-07-14 Thread Larry Martell
On Sat, Jul 14, 2018 at 3:11 AM Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Sat, 14 Jul 2018 07:41:43 +, Bob Martin wrote: > > > in 796624 20180714 064331 Gregory Ewing > > wrote: > >>Larry Martell wrote: > >>> A

Re: Kindness

2018-07-14 Thread Bart
On 14/07/2018 07:04, Gregory Ewing wrote: Joe Pfeiffer wrote: He once went on for *weeks* about C's (yes, this was in c.l.c) failure to have what he regards as a "proper" for-loop. That could only have happened if there were people willing to keep replying to him about it for weeks. So, if it

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Chris Angelico
On Sat, Jul 14, 2018 at 7:47 PM, Abdur-Rahmaan Janhangeer wrote: > @ChristianGollwitzer > > Naa your type of qna is called pep and a pep is not rejected without a > valid reason > I have no idea what you mean here. Can you please clarify? ChrisA -- https://mail.python.org/mailman/listinfo/pytho

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Abdur-Rahmaan Janhangeer
@ChristianGollwitzer Naa your type of qna is called pep and a pep is not rejected without a valid reason Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ > > -- https://mail.python.org/mailman/listinfo/python-list

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Christian Gollwitzer
Am 14.07.18 um 10:00 schrieb Marko Rauhamaa: Steven D'Aprano : Apparently Marko didn't notice the irony of suggesting that we display excessive commitment to GvR The object of the "cult" isn't GvR, it's Python itself. I agree with this observation and it feels quite strange to me. I regula

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Marko Rauhamaa
Steven D'Aprano : > Apparently Marko didn't notice the irony of suggesting that we display > excessive commitment to GvR The object of the "cult" isn't GvR, it's Python itself. Marko -- https://mail.python.org/mailman/listinfo/python-list

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Jan van den Broek
On 2018-07-13, Larry Martell wrote: [Schnipp] > And while we're talking about the Dutch, why is the country called > Holland, but then also The Netherlands, but the people are Dutch? Be careful here, this is a somewhat delicate matter. Strictly speaking Holland is part of Nederland (the Netherl

Re: Kindness

2018-07-14 Thread Steven D'Aprano
On Sat, 14 Jul 2018 05:19:36 +0300, Mikhail V wrote: > From Marko's check-list: > [ ] The group has a polarized us-versus-them mentality Many Python programmers -- perhaps the majority -- know more than one programming language, enjoy some of them, and can appreciate their strengths and the dif

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Jan van den Broek
On 2018-07-13, ElChino wrote: >> The important question we should ask ourselves: Do we have a replacement >> Dutch person to figure out the one obvious way to do things that may not >> be obvious at first? > > Skybuck?! Also Dutch. We try to deny that. It'll probably lead to ending every statemen

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Marko Rauhamaa
Bob Martin : > in 796624 20180714 064331 Gregory Ewing wrote: >>Larry Martell wrote: >>> And while we're talking about the Dutch, why is the country called >>> Holland, but then also The Netherlands, but the people are Dutch? >> >>And Germany is called

OT Why Germany? [was Re: Guido van Rossum resigns as Python leader]

2018-07-14 Thread Steven D'Aprano
On Sat, 14 Jul 2018 07:41:43 +, Bob Martin wrote: > in 796624 20180714 064331 Gregory Ewing > wrote: >>Larry Martell wrote: >>> And while we're talking about the Dutch, why is the country called >>> Holland, but then also The Netherlands, but the people ar