Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread 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 Deutchland? The real question is why do English speakers refer t

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Gregory Ewing
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 Deutchland? -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Kindness

2018-07-13 Thread Joe Pfeiffer
I notice a correlation: the less people have interacted with Bart, the more tolerant they are. 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. -- https://mail.python.org/mailman/listinfo/python-list

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Gregory Ewing
Chris Angelico wrote: and eventually a 99.99% Dutch solution will be produced. Does this mean we need an is_probably_dutch() function? -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Kindness

2018-07-13 Thread Gregory Ewing
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 was a bad thing, you can't say it was entir

Re: Kindness

2018-07-13 Thread Abdur-Rahmaan Janhangeer
is Bart here the same as python-commiters? Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ -- https://mail.python.org/mailman/listinfo/python-list

Re: Kindness

2018-07-13 Thread Steven D'Aprano
On Sat, 14 Jul 2018 00:45:00 +0300, Marko Rauhamaa wrote: > Chris Angelico : >> Oh, sorry, I mean "how Python lacks basic features that your language >> just happens to tick all the boxes on". People who come in and ask >> genuine questions about Python seem to find the group far more >> welcomin

os with python[s]

2018-07-13 Thread Edward Montague
I encounter numerous problems when changing between versions of python ; one possible answer , Fedora 28 Labs python . So far this has been fairly reliable , I installed Geany , as this is my preferred editor for Python. -- https://mail.python.org/mailman/listinfo/python-list

Re: Kindness

2018-07-13 Thread boB Stepp
On Fri, Jul 13, 2018 at 7:54 PM Steven D'Aprano wrote: > It's not helped by do-gooders who by their own admission have no idea of > the context sticking their nose in to tell off those who chastise Bart... I'm not sure if I am one of the "do-gooders" or not in your perspective, Steve. I have be

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Terry Reedy
On 7/13/2018 9:54 AM, Nicholas Cole wrote: Is it irrational to wonder whether projects should be looking to migrate to new languages? At this point, I would say yes. The immediate effect is no more PEP approvals for maybe 3 months. This kind of announcement makes me worry for the future.

Kindness

2018-07-13 Thread Mikhail V
Steven D'Aprano wrote: > Over the many months, I've tried defending Bart, engaging with him, > patiently explaining that his choices and our choices are not always the > same and that there's no objective "right" and "wrong" between them, > making subtle hints, and less subtle hints that he's bein

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

2018-07-13 Thread Steven D'Aprano
On Fri, 13 Jul 2018 17:48:15 -0700, dbd wrote: > On Friday, July 13, 2018 at 4:59:06 PM UTC-7, Steven D'Aprano wrote: ... >> I think that Marko sometimes likes to stir the ants nest by looking >> down at the rest of us and painting himself as the Lone Voice Of Sanity >> in a community gone mad *wi

Re: Kindness

2018-07-13 Thread Steven D'Aprano
On Fri, 13 Jul 2018 19:52:45 +0100, Rhodri James wrote: > Honestly, I don't know why anybody bothers responding to him. Boredom, > I suppose. I respond to Bart because I recognise he does bring a perspective and experience to the community which many of us lack. That makes his troll-like behav

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

2018-07-13 Thread dbd
On Friday, July 13, 2018 at 4:59:06 PM UTC-7, Steven D'Aprano wrote: ... > I think that Marko sometimes likes to stir the ants nest by looking down > at the rest of us and painting himself as the Lone Voice Of Sanity in a > community gone mad *wink* ... You mean he thinks he's Ranting Rick? Dal

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

2018-07-13 Thread Chris Angelico
On Sat, Jul 14, 2018 at 9:56 AM, Steven D'Aprano wrote: > On Fri, 13 Jul 2018 19:04:39 -0400, D'Arcy Cain wrote: > >> On 2018-07-13 05:45 PM, Marko Rauhamaa wrote: >>> Yeah, that is cult behavior. Here's a few boxes to tick on: >>> >>>http://www.csj.org/infoserv_cult101/checklis.htm> >> >> I c

Re: Kindness

2018-07-13 Thread Steven D'Aprano
On Sat, 14 Jul 2018 00:45:00 +0300, Marko Rauhamaa wrote: > Chris Angelico : > >> On Sat, Jul 14, 2018 at 7:16 AM, Bart wrote: >>> This group is openly hostile and unwelcoming. >> >> Have you noticed how a lot of the hostility seems to happen shortly >> after you make your posts about how Python

Re: Kindness

2018-07-13 Thread Bart
On 13/07/2018 22:28, Chris Angelico wrote: On Sat, Jul 14, 2018 at 7:16 AM, Bart wrote: This group is openly hostile and unwelcoming. Have you noticed how a lot of the hostility seems to happen shortly after you make your posts about how Python sucks compared to your nameless and unpublished

Cult-like behaviour [was Re: Kindness]

2018-07-13 Thread Steven D'Aprano
On Fri, 13 Jul 2018 19:04:39 -0400, D'Arcy Cain wrote: > On 2018-07-13 05:45 PM, Marko Rauhamaa wrote: >> Yeah, that is cult behavior. Here's a few boxes to tick on: >> >>http://www.csj.org/infoserv_cult101/checklis.htm> > > I couldn't find a single item that applies to this group. What's y

Re: Kindness

2018-07-13 Thread D'Arcy Cain
On 2018-07-13 05:45 PM, Marko Rauhamaa wrote: > Yeah, that is cult behavior. Here's a few boxes to tick on: > >http://www.csj.org/infoserv_cult101/checklis.htm> I couldn't find a single item that applies to this group. What's your point? -- D'Arcy J.M. Cain Vybe Networks Inc. http://www.V

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Rich Shepard
On Fri, 13 Jul 2018, Marko Rauhamaa wrote: The Netherlands is a latter-day innovation. Holland is the central region of the Netherlands. Compare that with the UK and England. As for why they are called Dutch, see https://www.etymonline.com/word/Dutch> Generally Germanic peoples called thems

So assignment expressions in generators…

2018-07-13 Thread ΤΖΩΤΖΙΟΥ
Self correction: assignment expressions in generator comprehensions inside a function body. -- https://mail.python.org/mailman/listinfo/python-list

So assignment expressions in generators…

2018-07-13 Thread ΤΖΩΤΖΙΟΥ
…will normally issue STORE_DEREF opcodes for the assignment? This is what I understand from reading PEP-572, just wanted to ask whether I got it right. Example of what I'm referring to: def f(): return ( (s := x*x) for x in range(5)) -- https://mail.python.org/mailman/listinfo/python-list

Re: Kindness

2018-07-13 Thread Marko Rauhamaa
Chris Angelico : > On Sat, Jul 14, 2018 at 7:16 AM, Bart wrote: >> This group is openly hostile and unwelcoming. > > Have you noticed how a lot of the hostility seems to happen shortly > after you make your posts about how Python sucks compared to your > nameless and unpublished language? That's

Re: Kindness

2018-07-13 Thread Chris Angelico
On Sat, Jul 14, 2018 at 7:16 AM, Bart wrote: > This group is openly hostile and unwelcoming. Have you noticed how a lot of the hostility seems to happen shortly after you make your posts about how Python sucks compared to your nameless and unpublished language? Oh, sorry, I mean "how Python lacks

Re: Kindness

2018-07-13 Thread Bart
On 13/07/2018 21:43, Marko Rauhamaa wrote: Ethan Furman : Does anything good come from engaging with Bart? I haven't seen it yet. Seems to me the solution is not to engage. He must be a very lonely person as he keeps coming here for repeated beatings from the regulars. You are admitting they

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Marko Rauhamaa
Larry Martell : > And while we're talking about the Dutch, why is the country called > Holland, but then also The Netherlands, but the people are Dutch? The Netherlands is a latter-day innovation. Holland is the central region of the Netherlands. Compare that with the UK and England. As for why t

Re: Kindness

2018-07-13 Thread Ethan Furman
On 07/13/2018 11:52 AM, Rhodri James wrote: I should point out that the number of people I have killfiled in all my > Internet dealings can be counted on the fingers of one hand. Your left one? * -- ~Ethan~ * Bonus points for getting the reference. ;) -- https://mail.python.org/mailman/li

Re: Kindness

2018-07-13 Thread Rhodri James
On 13/07/18 19:27, Devin Jeanpierre wrote: On Fri, Jul 13, 2018 at 10:49 AM Mark Lawrence wrote: On 13/07/18 16:16, Bart wrote: On 13/07/2018 13:33, Steven D'Aprano wrote: On Fri, 13 Jul 2018 11:37:41 +0100, Bart wrote: (** Something so radical I've been using them elsewhere since forever.

Re: Kindness

2018-07-13 Thread Ethan Furman
On 07/13/2018 11:37 AM, Steven D'Aprano wrote: On Fri, 13 Jul 2018 11:27:29 -0700, Devin Jeanpierre wrote: [a reminder to be kind] [ignored the reminder] Does anything good come from engaging with Bart? I haven't seen it yet. Seems to me the solution is not to engage. "If you're not pa

Re: Kindness

2018-07-13 Thread Steven D'Aprano
On Fri, 13 Jul 2018 11:27:29 -0700, Devin Jeanpierre wrote: > I don't know who Bart is or what their language is Or apparently any of the context of the last six months (nine? twelve? how long has Bart been annoying people here? practically since his first post) of his interaction with the comm

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Larry Martell
On Fri, Jul 13, 2018 at 2:26 PM, Chris Angelico wrote: > On Sat, Jul 14, 2018 at 4:14 AM, Larry Martell > wrote: >> On Fri, Jul 13, 2018 at 2:05 PM, Chris Angelico wrote: >>> On Sat, Jul 14, 2018 at 3:37 AM, Alexandre Brault >>> wrote: The important question we should ask ourselves: Do w

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Chris Angelico
On Sat, Jul 14, 2018 at 4:14 AM, Larry Martell wrote: > On Fri, Jul 13, 2018 at 2:05 PM, Chris Angelico wrote: >> On Sat, Jul 14, 2018 at 3:37 AM, Alexandre Brault >> wrote: >>> The important question we should ask ourselves: Do we have a replacement >>> Dutch person to figure out the one obvio

Kindness

2018-07-13 Thread Devin Jeanpierre
On Fri, Jul 13, 2018 at 10:49 AM Mark Lawrence wrote: > > On 13/07/18 16:16, Bart wrote: > > On 13/07/2018 13:33, Steven D'Aprano wrote: > >> On Fri, 13 Jul 2018 11:37:41 +0100, Bart wrote: > >> > >>> (** Something so radical I've been using them elsewhere since forever.) > >> > >> And you just ca

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Larry Martell
On Fri, Jul 13, 2018 at 2:05 PM, Chris Angelico wrote: > On Sat, Jul 14, 2018 at 3:37 AM, Alexandre Brault > 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? >> >

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Chris Angelico
On Sat, Jul 14, 2018 at 3:37 AM, Alexandre Brault 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? > We'll use distributed computing.. I, for example, had two Dutch g

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Alexandre Brault
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? Alex -- https://mail.python.org/mailman/listinfo/python-list

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Mark Lawrence
On 13/07/18 16:16, Bart wrote: On 13/07/2018 13:33, Steven D'Aprano wrote: On Fri, 13 Jul 2018 11:37:41 +0100, Bart wrote: (** Something so radical I've been using them elsewhere since forever.) And you just can't resist making it about you and your language. And you can't resist having a

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Mark Lawrence
On 13/07/18 17:14, Mario R. Osorio wrote: On Friday, July 13, 2018 at 11:16:44 AM UTC-4, Bart wrote: On 13/07/2018 13:33, Steven D'Aprano wrote: On Fri, 13 Jul 2018 11:37:41 +0100, Bart wrote: You've made it a current affair issue... Please don't feed the troll, it's obvious that he's clu

Re: Google weirdness

2018-07-13 Thread Skip Montanaro
> btw google wants to hide even the mention of it? -- https://mail.python.org/mailman/listinfo/python-list

Re: Google weirdness

2018-07-13 Thread Abdur-Rahmaan Janhangeer
btw google wants to hide even the mention of it? Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ -- https://mail.python.org/mailman/listinfo/python-list

Re: Google weirdness

2018-07-13 Thread Abdur-Rahmaan Janhangeer
exact found it ! thanks ! Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ On Fri, 13 Jul 2018, 20:19 Skip Montanaro, wrote: > > euhh where is the original mail, may i ask? > > Gmail routed the original to my spam folder. > > Skip > -- https://mail.python.org/mailman/listinfo/python-

Re: Google weirdness

2018-07-13 Thread Skip Montanaro
> euhh where is the original mail, may i ask? Gmail routed the original to my spam folder. Skip -- https://mail.python.org/mailman/listinfo/python-list

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Mario R. Osorio
On Friday, July 13, 2018 at 11:16:44 AM UTC-4, Bart wrote: > On 13/07/2018 13:33, Steven D'Aprano wrote: > > On Fri, 13 Jul 2018 11:37:41 +0100, Bart wrote: > > > >> (** Something so radical I've been using them elsewhere since forever.) > > > > And you just can't resist making it about you and y

Re: Python 3.6 can find cairo libs but not Python 2.7

2018-07-13 Thread Peter Otten
D'Arcy Cain wrote: > On 2018-07-13 10:28 AM, Peter Otten wrote: >> As far as I can see -- without having access to a netbsd machine -- this > > Would it help if I gave you a login on one? Sorry, no. > Interestingly, I don't have this issue on my NetBSD machine built from > HEAD. Maybe it is s

Re: Google weirdness

2018-07-13 Thread Abdur-Rahmaan Janhangeer
euhh where is the original mail, may i ask? Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ On Fri, 13 Jul 2018, 16:42 Steven D'Aprano, < steve+comp.lang.pyt...@pearwood.info> wrote: > On Thu, 12 Jul 2018 22:31:35 -0400, Travis McGee wrote: > > > I somehow managed to trigger the dialo

EuroPython 2018: Conference App available

2018-07-13 Thread M.-A. Lemburg
We will be switching to the late bird rates for tickets on Monday next week (July 16), so this is your last chance to get tickets at the regular rate, which is about 30% less than the late bird rate. * EuroPython 2018 Tickets * https://ep2018.europython.eu/en/registrati

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Bart
On 13/07/2018 13:33, Steven D'Aprano wrote: On Fri, 13 Jul 2018 11:37:41 +0100, Bart wrote: (** Something so radical I've been using them elsewhere since forever.) And you just can't resist making it about you and your language. And you can't resist having a personal dig. You and others ha

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Nicholas Cole
On Fri, 13 Jul 2018 at 10:31, Jim Oberholtzer wrote: > Nicholas: > > I am relatively new to Python, and my system of choice, IBM i on POWER, > now supports Python directly. The open source movement is so strong that I > think Python will be just fine. I've been a system programmer for 35 > yea

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Nicholas Cole
On Fri, 13 Jul 2018 at 10:04, Chris Angelico wrote: > On Fri, Jul 13, 2018 at 11:54 PM, Nicholas Cole > 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. > > > > The Python committe

Re: Python 3.6 can find cairo libs but not Python 2.7

2018-07-13 Thread D'Arcy Cain
On 2018-07-13 10:28 AM, Peter Otten wrote: > As far as I can see -- without having access to a netbsd machine -- this Would it help if I gave you a login on one? Interestingly, I don't have this issue on my NetBSD machine built from HEAD. Maybe it is something that was fixed but not pulled up t

Re: Google weirdness

2018-07-13 Thread Bill Deegan
I also got such. I'm guessing your track record of searches has flagged you as someone they might want to hire. On Fri, Jul 13, 2018 at 5:36 AM, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Thu, 12 Jul 2018 22:31:35 -0400, Travis McGee wrote: > > > I somehow managed to trig

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Steven D'Aprano
On Fri, 13 Jul 2018 11:37:41 +0100, Bart wrote: > (** Something so radical I've been using them elsewhere since forever.) And you just can't resist making it about you and your language. "Hey Bart, did you hear? Nuclear war just broke out between Russia and Britain. Dozens of cities are aflame

RE: Guido van Rossum resigns as Python leader

2018-07-13 Thread Jim Oberholtzer
Nicholas: I am relatively new to Python, and my system of choice, IBM i on POWER, now supports Python directly. The open source movement is so strong that I think Python will be just fine. I've been a system programmer for 35 years, and this tooling (along with the 1000's APIs that IBM has p

Re: Python 3.6 can find cairo libs but not Python 2.7

2018-07-13 Thread Peter Otten
D'Arcy Cain wrote: > On 2018-07-13 08:05 AM, Peter Otten wrote: >> D'Arcy Cain wrote: >>> Nope. Both are 64 bit. >> >> Just to be 100% sure, what does >> >> $ python2.7 -c 'import struct; print(struct.calcsize("l"))' >> >> $ python3.6 -c 'import struct; print(struct.calcsize("l"))' >> >> prin

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Chris Angelico
On Fri, Jul 13, 2018 at 11:54 PM, Nicholas Cole 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. > The Python committers are currently in charge. If you don't trust them, you should have

Re: variable scope in try ... EXCEPT block.

2018-07-13 Thread Chris Angelico
On Fri, Jul 13, 2018 at 10:43 PM, Ed Kellett wrote: > On 2018-07-12 18:00, Chris Angelico wrote: >> What do you mean by "fix"? Make the 'x' bind eagerly? That would break >> basically every other use of closures. > > No. I mean make each x a new variable--closures would work as before, > for-loops

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Nicholas Cole
On Fri, 13 Jul 2018 at 08:51, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Fri, 13 Jul 2018 22:29:29 +1000, Chris Angelico wrote: > > > To be quite frank, the proposal would have quietly died on python-ideas > > if it hadn't been for Guido's explicit support early on. (I kno

Re: Python 3.6 can find cairo libs but not Python 2.7

2018-07-13 Thread D'Arcy Cain
On 2018-07-13 08:05 AM, Peter Otten wrote: > D'Arcy Cain wrote: >> Nope. Both are 64 bit. > > Just to be 100% sure, what does > > $ python2.7 -c 'import struct; print(struct.calcsize("l"))' > > $ python3.6 -c 'import struct; print(struct.calcsize("l"))' > > print? $ python2.7 -c 'import stru

Enabling and disabling custom wanings

2018-07-13 Thread Steven D'Aprano
I have a warning that my code generates using the warning module: https://docs.python.org/3/library/warnings.html def spam(n): if n < 10: warnings.warn("not enough spam!") return "spam" * n By default, I want this warning to be disabled, but I want the user to be able to enabl

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Steven D'Aprano
On Fri, 13 Jul 2018 22:29:29 +1000, Chris Angelico wrote: > To be quite frank, the proposal would have quietly died on python-ideas > if it hadn't been for Guido's explicit support early on. (I know this > for sure because the same proposal HAS quietly died, more than once.) > The controversy came

Re: variable scope in try ... EXCEPT block.

2018-07-13 Thread Ed Kellett
On 2018-07-12 18:00, Chris Angelico wrote: > What do you mean by "fix"? Make the 'x' bind eagerly? That would break > basically every other use of closures. No. I mean make each x a new variable--closures would work as before, for-loops would change. If we have subscopes, it seems natural that ent

Re: Google weirdness

2018-07-13 Thread Steven D'Aprano
On Thu, 12 Jul 2018 22:31:35 -0400, Travis McGee wrote: > I somehow managed to trigger the dialog below by typing in a certain > Python phrase to Google. Is the phrase a secret? > Anyone know what it's about? My guess is that either: 1) You have accidentally discovered a back door through G

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Chris Angelico
On Fri, Jul 13, 2018 at 8:37 PM, Bart wrote: > On 13/07/2018 01:44, MRAB wrote: >> >> On 2018-07-12 23: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

Re: Hey Ranting Rick, this is your moment to shine!

2018-07-13 Thread Mark Lawrence
On 13/07/18 02:57, Steven D'Aprano wrote: Hey Rick, if you're reading this, now that Guido has resigned, this is your opportunity to declare yourself as the true Heir and take over as BDFL. I though that he'd done this years ago. Are you aware that the 11th commandment is "Thou shalt not extra

Re: Python 3.6 can find cairo libs but not Python 2.7

2018-07-13 Thread Peter Otten
D'Arcy Cain wrote: > On 2018-07-12 07:41 PM, Peter Otten wrote: >> Wild guess: one Python is 64 bit and the other is 32 bit, and you have >> only one version of the library installed. > > Nope. Both are 64 bit. Just to be 100% sure, what does $ python2.7 -c 'import struct; print(struct.calcsiz

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Bart
On 13/07/2018 01:44, MRAB wrote: On 2018-07-12 23: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) [snip] That's very sad news. And all over PEP 572 wh

Re: Python 3.6 can find cairo libs but not Python 2.7

2018-07-13 Thread D'Arcy Cain
On 2018-07-12 07:41 PM, Peter Otten wrote: > Wild guess: one Python is 64 bit and the other is 32 bit, and you have only > one version of the library installed. Nope. Both are 64 bit. -- D'Arcy J.M. Cain Vybe Networks Inc. http://www.VybeNetworks.com/ IM:da...@vex.net VoIP: sip:da...@vybenetwo

Re: Python 3.6 can find cairo libs but not Python 2.7

2018-07-13 Thread D'Arcy Cain
On 2018-07-12 04:17 PM, Terry Reedy wrote: > On 7/12/2018 3:52 PM, D'Arcy Cain wrote: >> $ python2.7 -c "import ctypes.util; >> print(ctypes.util.find_library('cairo'))" >> libcairo.so.2 >> $ python3.6 -c "import ctypes.util; >> print(ctypes.util.find_library('cairo'))" >> None >> >> I have the 3.6

Generic OAuth2 authorization inside view-based decorator/middleware?

2018-07-13 Thread Etienne Robillard
Hi! This is quick post about my current attempt to develop a specific GoogleController extension for django-hotsauce 0.9.6 in order to allow OAuth2 authentication and authorization on a regular Django view. Code: from notmm.controllers.wsgi import WSGIController, sessionmanager from wsgi_oau