[ANN] Zeus IDE – Version 3.98k Released

2017-08-20 Thread jumppanen . jussi
Zeus is a language neutral programmer's editor/IDE which includes support for the Python language. Python related changes new to this release include: * New feature allowing user input for tools * User input feature adds Python IDLE shell inside editor * Updated Jedi for Python autocomplete and

Re: A question on modification of a list via a function invocation

2017-08-20 Thread Steve D'Aprano
On Sat, 19 Aug 2017 12:04 am, Ben Bacarisse wrote: [...] >> Look at Scott Stanchfield's extremely influential post. It is *not* >> called: >> >> "Java is call by value where the value is an invisible object reference, >> dammit!" >> >> http://javadude.com/articles/passbyvalue.htm >> >> and consequ

Re: Proposed new syntax

2017-08-20 Thread Steve D'Aprano
On Fri, 18 Aug 2017 04:16 pm, Paul Rubin wrote: [...] > Similarly we occasionally have to be aware of the procedural nature > of Python list comprehensions, but most of the time we think of them > in terms of the mathematical abstraction they are designed to resemble. Thanks Paul, you've given m

Re: Proposed new syntax

2017-08-20 Thread Chris Angelico
On Mon, Aug 21, 2017 at 12:19 PM, MRAB wrote: > On 2017-08-21 03:00, Steve D'Aprano wrote: >> >> On Fri, 18 Aug 2017 04:55 pm, Marko Rauhamaa wrote: >> >>> Is a Python implementation >>> allowed to parallelize or otherwise reorder the evaluation loop? >> >> >> No. >> > [snip] > > Well, I suppose a

Re: Proposed new syntax

2017-08-20 Thread MRAB
On 2017-08-21 03:00, Steve D'Aprano wrote: On Fri, 18 Aug 2017 04:55 pm, Marko Rauhamaa wrote: Is a Python implementation allowed to parallelize or otherwise reorder the evaluation loop? No. [snip] Well, I suppose an implementation _could_ parallelise, or whatever, _provided that_ it gave

Re: Ask for help about a tkinter problem

2017-08-20 Thread MRAB
On 2017-08-21 01:28, jf...@ms4.hinet.net wrote: Peter Otten at 2017/8/20 UTC+8 PM 5:52:24 wrote: [snip] That is just a peculiarity of TCL; a "-" is added to the option by the Python wrapper before passing it along This extra "-" confuses people when showing up in the Traceback info. Can't f

Re: Proposed new syntax

2017-08-20 Thread Steve D'Aprano
On Fri, 18 Aug 2017 04:55 pm, Marko Rauhamaa wrote: > Is a Python implementation > allowed to parallelize or otherwise reorder the evaluation loop? No. I initially was going to just say "Read the PEP, read the What's New from 2.0, read the docs, notice the deliberate use of the same terminology

Re: Ask for help about a tkinter problem

2017-08-20 Thread jfong
Peter Otten at 2017/8/20 UTC+8 PM 5:52:24 wrote: > jf...@ms4.hinet.net wrote: > > > I am running a tkinter tutor downloaded from web, > > https://github.com/daleathan/widget-tour-py3. there are two files > > involved: > > > > > > #file button.py > > > > from tkinter import *

Re: Ask for help about a tkinter problem

2017-08-20 Thread Peter Otten
jf...@ms4.hinet.net wrote: > I am running a tkinter tutor downloaded from web, > https://github.com/daleathan/widget-tour-py3. there are two files > involved: > > > #file button.py > > from tkinter import * > from tkinter.ttk import * > import infrastructure > ... > class Bu

Ask for help about a tkinter problem

2017-08-20 Thread jfong
I am running a tkinter tutor downloaded from web, https://github.com/daleathan/widget-tour-py3. there are two files involved: #file button.py from tkinter import * from tkinter.ttk import * import infrastructure ... class ButtonsDemoWindow( infrastructure.DemoWindow ): .

Re: Cross-language comparison: function map and similar

2017-08-20 Thread Stephan Houben
Op 2017-08-16, Steve D'Aprano schreef : > Are there language implementations which evaluate the result of map() > (or its equivalent) in some order other than the obvious left-to-right > first-to-last sequential order? Is that order guaranteed by the > language, or is it an implementation detail? >