Re: except block isn't catching exception

2015-08-08 Thread Chris Angelico
On Sat, Aug 8, 2015 at 4:56 PM, Ian Kelly wrote: > On Fri, Aug 7, 2015 at 8:44 PM, Chris Angelico wrote: >> The exception isn't happening inside sock.accept(), as I explained. So >> you can't catch it there. > > Where does the exception happen then? Your explanation only covered > why the blockin

Re: Linux users: please run gui tests

2015-08-08 Thread Peter Otten
Laura Creighton wrote: >>This leads me to believe that your tests and the tkinter shared library >>may not match. Does >> >>$ python3 -c 'import _tkinter; print(_tkinter)' >>>dynload/_tkinter.cpython-34m-x86_64-linux-gnu.so'> >> >>show something suspicious? > > lac@smartwheels:~$ python3 -c 'impo

Re: except block isn't catching exception

2015-08-08 Thread Cameron Simpson
On 08Aug2015 17:08, Chris Angelico wrote: On Sat, Aug 8, 2015 at 4:56 PM, Ian Kelly wrote: On Fri, Aug 7, 2015 at 8:44 PM, Chris Angelico wrote: The exception isn't happening inside sock.accept(), as I explained. So you can't catch it there. Where does the exception happen then? Your expla

Re: except block isn't catching exception

2015-08-08 Thread Chris Angelico
On Sat, Aug 8, 2015 at 6:11 PM, Cameron Simpson wrote: > From: > > > https://docs.python.org/3/library/signal.html#execution-of-python-signal-handlers > > we have: > > A Python signal handler does not get executed inside the low-level (C) > signal handler. Instead, the low-level signal handler s

python-matplotlib changes very often?

2015-08-08 Thread Cecil Westerhof
On openSUSE I see python-matplotlib updated very often. Sometimes more as once a week. It is also not very small (almost 40 MB). Is there a reason for this, or is there a problem at SUSE? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof -- https://m

Re: except block isn't catching exception

2015-08-08 Thread Cameron Simpson
On 08Aug2015 18:17, Chris Angelico wrote: On Sat, Aug 8, 2015 at 6:11 PM, Cameron Simpson wrote: From: https://docs.python.org/3/library/signal.html#execution-of-python-signal-handlers we have: A Python signal handler does not get executed inside the low-level (C) signal handler. Instead

Re: python-matplotlib changes very often?

2015-08-08 Thread Laura Creighton
In a message of Sat, 08 Aug 2015 10:41:39 +0200, Cecil Westerhof writes: >On openSUSE I see python-matplotlib updated very often. Sometimes more >as once a week. It is also not very small (almost 40 MB). Is there a >reason for this, or is there a problem at SUSE? > >-- >Cecil Westerhof >Senior Sof

Re: python-matplotlib changes very often?

2015-08-08 Thread Todd
On Aug 8, 2015 10:46, "Cecil Westerhof" wrote: > > On openSUSE I see python-matplotlib updated very often. Sometimes more > as once a week. It is also not very small (almost 40 MB). Is there a > reason for this, or is there a problem at SUSE? I assume you are using tumbleweed and/or devel:langua

Re: python-matplotlib changes very often?

2015-08-08 Thread Cecil Westerhof
On Saturday 8 Aug 2015 11:17 CEST, Laura Creighton wrote: > In a message of Sat, 08 Aug 2015 10:41:39 +0200, Cecil Westerhof > writes: >> On openSUSE I see python-matplotlib updated very often. Sometimes >> more as once a week. It is also not very small (almost 40 MB). Is >> there a reason for th

Re: Linux users: please run gui tests

2015-08-08 Thread Laura Creighton
Ok, I moved to debian unstable (stretch/sid) lac@smartwheels:~$ lsb_release -a LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd

Re: Linux users: please run gui tests

2015-08-08 Thread Laura Creighton
Tried this on a different debian unstable system. lac@fido:~$ lsb_release -a No LSB modules are available. Distributor ID:Debian Description: Debian GNU/Linux unstable (sid) Release: unstable Codename: sid lac@fido:~$ Same 3 errors. (So it is not just me.) Laura -

Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-08 Thread Laurent Pointal
Terry Reedy wrote: > There have been discussions, such as today on Idle-sig , about who uses > Idle and who we should design it for. If you use Idle in any way, or > know of or teach classes using Idle, please answer as many of the > questions below as you are willing, and as are appropriate I t

Re: Devanagari int literals [was Re: Should non-security 2.7 bugs be fixed?]

2015-08-08 Thread Marko Rauhamaa
Marko Rauhamaa : > Steven D'Aprano : > >> The contemporary standard approach is from Zermelo-Fraenkel set >> theory: define 0 as the empty set, and the successor to n as the >> union of n and the set containing n: >> >> 0 = {} (the empty set) >> n + 1 = n ∪ {n} > > That definition barely captures

Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-08 Thread random832
On Sat, Aug 8, 2015, at 13:59, Laurent Pointal wrote: > > Level? > > Graduate (post-Bac in france) Yours or your students? > > 1. Are you > > grade school (1=12)? > > (sorry, I dont know correspondance in france) Grade 12 refers to 17-18 year old students, each grade is one year. > > undergra

Is Django the way to go for a newbie?

2015-08-08 Thread Dwight GoldWinde
I am both new to Python and I haven¹t even touched Django yet. I understand I that I need Django or something like it to develop my website. >From what I have read, Python and Django somewhat go together. Is that true? Or is there another development platform better for someone like me than Dja

Re: Is Django the way to go for a newbie?

2015-08-08 Thread Chris Angelico
On Sun, Aug 9, 2015 at 2:08 PM, Dwight GoldWinde wrote: > I am both new to Python and I haven’t even touched Django yet. > > I understand I that I need Django or something like it to develop my > website. > > From what I have read, Python and Django somewhat go together. > > Is that true? > > Or i

Re: Is Django the way to go for a newbie?

2015-08-08 Thread Dwight GoldWinde
Thank you, Chris! Good input. I was a computer software consulting for 20 years, ending in 1987, whrn I changed my career to life coaching (which I have now done happily for 28 years). So now I going back to learn a new language freshly (much different than COBOL and BASIC!). I am working on a lo

Re: Is Django the way to go for a newbie?

2015-08-08 Thread Laura Creighton
There are lots of Web Frameworks. https://wiki.python.org/moin/WebFrameworks lists some of them. I wouldn't place too much faith in the classification of some as 'Popular' and others as 'Regarded as Less Popular' -- I keep getting the itch to put a wikipedia style footnote (by whom) -- in my cor