Re: Time we switched to unicode? (was Explanation of this Python language feature?)

2014-03-25 Thread Chris Angelico
On Wed, Mar 26, 2014 at 1:10 PM, Terry Reedy wrote: >> dicts are more fundamental than sets. > > One can easily implement floats from complex numbers by making the .imag > part always 0. It would be much harder to implement complex numbers from > floats, for the same reasons that it would be hard

Re: unicode as valid naming symbols

2014-03-25 Thread MRAB
On 2014-03-25 22:47, Ethan Furman wrote: On 03/25/2014 12:29 PM, Mark H Harris wrote: On 3/25/14 2:24 PM, MRAB wrote: It's explained in PEP 3131. Basically, a name should to start with a letter (this has been extended to include Chinese characters, etc) or an underscore. λ is a classified as

Re: unicode as valid naming symbols

2014-03-25 Thread Chris Angelico
On Wed, Mar 26, 2014 at 1:56 PM, MRAB wrote: >> No, it shouldn't. Doing so would mean we could not use √ as the square >> root operator in the future. >> > Or as a root operator, e.g. 3 √ x (the cube root of x). Or both! It could be like unary negation and binary subtraction. ChrisA -- https:/

Re: Time we switched to unicode? (was Explanation of this Python language feature?)

2014-03-25 Thread Terry Reedy
On 3/25/2014 8:12 PM, Steven D'Aprano wrote: On Tue, 25 Mar 2014 19:55:39 -0400, Terry Reedy wrote: On 3/25/2014 11:18 AM, Steven D'Aprano wrote: The thing is, we can't just create a ∑ function, because it doesn't work the way the summation operator works. The problem is that we would want sy

Re: Time we switched to unicode? (was Explanation of this Python language feature?)

2014-03-25 Thread Rustom Mody
On Wednesday, March 26, 2014 10:00:21 AM UTC+5:30, Terry Reedy wrote: > On 3/25/2014 8:12 PM, Steven D'Aprano wrote: > > On Tue, 25 Mar 2014 19:55:39 -0400, Terry Reedy wrote: > >> On 3/25/2014 11:18 AM, Steven D'Aprano wrote: > >>> The thing is, we can't just create a ∑ function, because it doesn'

Hold wxframe (GUI)

2014-03-25 Thread Jaydeep Patil
I constructed Two frames. One frame consist of GUI which consist of one Ok button. Afer click on OK button another GUI calls. But after Second gui calling, It wont stop further procesees. I need to stop futher proceeses. How can i hold second gui? Please reply Sample Code is: import wx cla

Re: Hold wxframe (GUI)

2014-03-25 Thread Jaydeep Patil
On Wednesday, 26 March 2014 10:34:26 UTC+5:30, Jaydeep Patil wrote: > I constructed Two frames. > > One frame consist of GUI which consist of one Ok button. > > > > Afer click on OK button another GUI calls. But after Second gui calling, It > wont stop further procesees. I need to stop futher

Re: Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list)

2014-03-25 Thread alex23
On 25/03/2014 12:39 PM, Mark H Harris wrote: my version semantically is "how it is perceived" by the user Could you please stop claiming to have insight into the comprehension of anyone other than yourself? Hasty generalisations don't help your argument. -- https://mail.python.org/mailman/lis

<    1   2