Re: trying idle

2014-10-10 Thread Mark H Harris
On 10/9/14 7:21 AM, wxjmfa...@gmail.com wrote: My audience consists of people having linux and windows and macbooks. Does Idle run on all these? --- No. Huh? -- https://mail.python.org/mailman/listinfo/python-list

Re: trying idle

2014-10-10 Thread Mark H Harris
On 10/9/14 7:47 AM, random...@fastmail.us wrote: I believe control-click, but Macs users could say better. Control-click was the canonical way to do it when right click menus were introduced in Mac OS itself. Some programs (notably Netscape) supported them via click-hold before that. And it's

Re: trying idle

2014-10-09 Thread Rustom Mody
e having linux and windows and macbooks. > >>> Does Idle run on all these? > >> If macbook runs OSX, and the linux has recent tcl/tk installed, the > >> answer should be Yes > > I get this traceback on closing idle. Otherwise seems to be working. > [snip] >

Re: trying idle

2014-10-09 Thread Terry Reedy
On 10/9/2014 9:12 AM, Rustom Mody wrote: On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote: On 10/9/2014 2:52 AM, Rustom Mody wrote: My audience consists of people having linux and windows and macbooks. Does Idle run on all these? If macbook runs OSX, and the linux has

Re: trying idle

2014-10-09 Thread Rustom Mody
On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote: > On 10/9/2014 2:52 AM, Rustom Mody wrote: > > My audience consists of people having linux and windows and macbooks. > > Does Idle run on all these? > If macbook runs OSX, and the linux has recent tcl/tk instal

Re: trying idle

2014-10-09 Thread Rustom Mody
On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote: > > Specific: > > Is there a way to cut-paste a snippet from the interpreter window > > containing ">>> " "... " into the file window and auto-remove the prompts? > > [I have a vague recollection of Terry showing somethin...] > I

Re: trying idle

2014-10-09 Thread random832
On Thu, Oct 9, 2014, at 05:26, Terry Reedy wrote: > On 10/9/2014 2:52 AM, Rustom Mody wrote: > > Particularly with macs my knowledge is at the level: > > "How the ^%*)( do you right click without a right-click button?" > > I believe control-click, but Macs users could say better. Control-click wa

Re: trying idle

2014-10-09 Thread Terry Reedy
On 10/9/2014 2:52 AM, Rustom Mody wrote: Been using emacs for over 20 years and teaching python for 10. And getting fed up that my audience looks at me like Rip van Winkle each time I start up emacs... So trying out Idle... Some specific and some general questions: My audience consists of

trying idle

2014-10-08 Thread Rustom Mody
Been using emacs for over 20 years and teaching python for 10. And getting fed up that my audience looks at me like Rip van Winkle each time I start up emacs... So trying out Idle... Some specific and some general questions: My audience consists of people having linux and windows and macbooks

Re: Python docs not accessible from IDLE

2014-09-19 Thread Terry Reedy
On 9/17/2014 8:46 PM, Ned Deily wrote: In article , Terry Reedy wrote: Ned, is there any reason to not add the trailing '/' to the url for 3.4.2? I verified that it is being added by python.org when connecting from win7 with FF. How about adding the 's' for 'https'? There is no reason not t

Re: Python docs not accessible from IDLE

2014-09-17 Thread Ned Deily
In article , Terry Reedy wrote: > Ned, is there any reason to not add the trailing '/' to the url for > 3.4.2? I verified that it is being added by python.org when connecting > from win7 with FF. How about adding the 's' for 'https'? There is no reason not to add both at this point, although

Re: Python docs not accessible from IDLE

2014-09-17 Thread Terry Reedy
On 9/17/2014 2:08 PM, Ned Deily wrote: In article , Wolfgang Maier wrote: On 09/17/2014 01:15 PM, Peter Otten wrote: Wolfgang Maier wrote: 2) curl shows that the first redirect (from http://docs.python.org/3.4) gives HTTP/1.1 301 Moved Permanently as the first response from the server, bu

Re: Python docs not accessible from IDLE

2014-09-17 Thread Ned Deily
In article , Wolfgang Maier wrote: > On 09/17/2014 01:15 PM, Peter Otten wrote: > > Wolfgang Maier wrote: > >> On 09/17/2014 11:45 AM, Peter Otten wrote: > >>> Wolfgang Maier wrote: > >>> > >>>> since a few days, when I select Help

Re: Python docs not accessible from IDLE

2014-09-17 Thread Wolfgang Maier
On 09/17/2014 01:15 PM, Peter Otten wrote: Wolfgang Maier wrote: On 09/17/2014 11:45 AM, Peter Otten wrote: Wolfgang Maier wrote: since a few days, when I select Help -> Python Docs from the IDLE menu, the link to the documentation that it tries to open in my browser isn't working

Re: Python docs not accessible from IDLE

2014-09-17 Thread Peter Otten
Wolfgang Maier wrote: > On 09/17/2014 11:45 AM, Peter Otten wrote: >> Wolfgang Maier wrote: >> >>> since a few days, when I select Help -> Python Docs from the IDLE menu, >>> the link to the documentation that it tries to open in my browser isn't >>&

Re: Python docs not accessible from IDLE

2014-09-17 Thread Wolfgang Maier
On 09/17/2014 11:45 AM, Peter Otten wrote: Wolfgang Maier wrote: since a few days, when I select Help -> Python Docs from the IDLE menu, the link to the documentation that it tries to open in my browser isn't working anymore. The URL IDLE uses (copied from the browser address

Re: Python docs not accessible from IDLE

2014-09-17 Thread Peter Otten
Wolfgang Maier wrote: > since a few days, when I select Help -> Python Docs from the IDLE menu, > the link to the documentation that it tries to open in my browser isn't > working anymore. > The URL IDLE uses (copied from the browser address bar) is : > docs.python.org/3.4

Python docs not accessible from IDLE

2014-09-17 Thread Wolfgang Maier
Dear all, since a few days, when I select Help -> Python Docs from the IDLE menu, the link to the documentation that it tries to open in my browser isn't working anymore. The URL IDLE uses (copied from the browser address bar) is : docs.python.org/3.4 and you have to add a terminal s

Re: bicyclerepairman python24 windows idle :(

2014-09-04 Thread Rustom Mody
On Friday, September 5, 2014 2:22:37 AM UTC+5:30, Ned Batchelder wrote: > On 9/4/14 1:51 PM, Stewart Graff (Visual Concepts) wrote: > > Lines 304 - 318 contain non-ascii characters. > > You need to rewrite all of the leading whitespace for the function > > def confirm_buffer_is_saved(self, editwin)

Re: bicyclerepairman python24 windows idle :(

2014-09-04 Thread John Ladasky
On Thursday, September 4, 2014 1:52:37 PM UTC-7, Ned Batchelder wrote: > This seems like enough of a non-sequitur that I wonder if you posted it > in the wrong place? Maybe someone is trying out a new chatbot program? -- https://mail.python.org/mailman/listinfo/python-list

Re: bicyclerepairman python24 windows idle :(

2014-09-04 Thread Ned Batchelder
On 9/4/14 1:51 PM, Stewart Graff (Visual Concepts) wrote: Lines 304 – 318 contain non-ascii characters. You need to rewrite all of the leading whitespace for the function def confirm_buffer_is_saved(self, editwin): Make sure you also replace the “&nbs p; “ with spaces on line 313. This se

bicyclerepairman python24 windows idle :(

2014-09-04 Thread Stewart Graff (Visual Concepts)
Lines 304 - 318 contain non-ascii characters. You need to rewrite all of the leading whitespace for the function def confirm_buffer_is_saved(self, editwin): Make sure you also replace the "&nbs p; " with spaces on line 313. -- https://mail.python.org/mailman/listinfo/python-list

Re: To modify IDLE source code

2014-08-28 Thread Terry Reedy
On 8/28/2014 6:34 AM, Abhiram R wrote: Hi, I've got the IDLE source code from IDLElib online. It also come with Python unless a distribution removes it. Now I want to modify it so as to improve upon it i.e > I have a feature in mind I want to add into it. If I may ask, what? For

Re: To modify IDLE source code

2014-08-28 Thread Mark Lawrence
On 28/08/2014 11:34, Abhiram R wrote: Hi, I've got the IDLE source code from IDLElib online. Now I want to modify it so as to improve upon it i.e I have a feature in mind I want to add into it. Is there any documentation that will help me make sense (more easily) of each of the py files in

To modify IDLE source code

2014-08-28 Thread Abhiram R
Hi, I've got the IDLE source code from IDLElib online. Now I want to modify it so as to improve upon it i.e I have a feature in mind I want to add into it. Is there any documentation that will help me make sense (more easily) of each of the py files in said library? Thanks Abhiram --

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-27 Thread Twirlip2
there > must be a more logically secure way, one more integral to the > language itself. Does the interaction below (copied from an IDLE session) show a safe and reliable way to do it? >>> from importlib.util import find_spec >>> find_spec('code') ModuleSpec(name='

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-27 Thread Twirlip2
On Wednesday, 27 August 2014 05:03:10 UTC+1, Terry Reedy wrote: > On 8/26/2014 9:11 PM, Twirlip2 wrote: > > > Firefox can't find the server at news.gmane.com. > > sorry. .org > > This is gmane.comp.python.general Found it now, thanks. I'll take my time and learn how to use it. I hope it's OK

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-27 Thread Twirlip2
On Wednesday, 27 August 2014 09:12:07 UTC+1, Chris "Kwpolska" Warrick wrote: > On Wed, Aug 27, 2014 at 2:58 AM, Twirlip2 wrote: > > > > > I have plenty of ideas for improving the program, but first I have to > > re-organise the present spaghetti code in a more logical fashion. > > I have a bet

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-27 Thread Twirlip2
On Wednesday, 27 August 2014 05:55:28 UTC+1, Chris Angelico wrote: > On Wed, Aug 27, 2014 at 1:13 PM, Rustom Mody wrote: > > On Wednesday, August 27, 2014 8:06:24 AM UTC+5:30, Chris Angelico wrote: > >> On Wed, Aug 27, 2014 at 10:58 AM, Twirlip2 wrote: > >> > > >> > So, please give me a few week

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-27 Thread Chris “Kwpolska” Warrick
On Wed, Aug 27, 2014 at 2:58 AM, Twirlip2 wrote: > It just pulls a lot of HTML and XML from the website, and extracts the > addresses of various other pages, and eventually *.WMA streams, and > hands the stream URLs over to XMPlay . > > It 'knows' what pages to visit, beca

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-26 Thread Chris Angelico
On Wed, Aug 27, 2014 at 1:13 PM, Rustom Mody wrote: > On Wednesday, August 27, 2014 8:06:24 AM UTC+5:30, Chris Angelico wrote: >> On Wed, Aug 27, 2014 at 10:58 AM, Twirlip2 wrote: >> > So, please give me a few weeks to improve my code, before posting it. (I >> > recently came across somewhere on

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Terry Reedy
On 8/26/2014 9:11 PM, Twirlip2 wrote: On Wednesday, 27 August 2014 01:51:20 UTC+1, Terry Reedy wrote: On 8/26/2014 7:29 PM, Twirlip2 wrote: On Wednesday, 27 August 2014 00:20:56 UTC+1, Mark Lawrence wrote: Another lesson is that google grops is crap [...] You read my mind! (See parenthetica

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-26 Thread Rustom Mody
On Wednesday, August 27, 2014 8:06:24 AM UTC+5:30, Chris Angelico wrote: > On Wed, Aug 27, 2014 at 10:58 AM, Twirlip2 wrote: > > So, please give me a few weeks to improve my code, before posting it. (I > > recently came across somewhere on the Web where you can post code, but I > > forget where.)

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-26 Thread Chris Angelico
On Wed, Aug 27, 2014 at 10:58 AM, Twirlip2 wrote: > So, please give me a few weeks to improve my code, before posting it. (I > recently came across somewhere on the Web where you can post code, but I > forget where.) If you're looking for hosting, I recommend one of the source control hosting sit

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Wednesday, 27 August 2014 01:51:20 UTC+1, Terry Reedy wrote: > On 8/26/2014 7:29 PM, Twirlip2 wrote: > > On Wednesday, 27 August 2014 00:20:56 UTC+1, Mark Lawrence wrote: > >> Another lesson is that google grops is crap [...] > > You read my mind! (See parenthetical note at end of my most rece

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-26 Thread Twirlip2
On Wednesday, 27 August 2014 01:58:16 UTC+1, Twirlip2 wrote: > It's a mess, but > it does at least keep local dependencies in a configuration file. (I > had no trouble getting it to run on two different PCs, under both XP > and Win98SE - and, if I recall correctly, also Vista, but I never use > t

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-26 Thread Twirlip2
e Python in order to listen to my beloved radio > >> > programmes reliably (don't get me started on the subject of the > >> > thrice-accursed BBC website!), I therefore have IDLE running all the > >> > time, very probably sometimes for weeks on end. > >

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Terry Reedy
On 8/26/2014 7:29 PM, Twirlip2 wrote: On Wednesday, 27 August 2014 00:20:56 UTC+1, Mark Lawrence wrote: Another lesson is that google grops is crap [...] You read my mind! (See parenthetical note at end of my most recent post.) You can access python-list (and a few thousand other tech list

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-26 Thread Chris Angelico
started on the subject of the thrice-accursed BBC >> > website!), I therefore have IDLE running all the time, very probably >> > sometimes for weeks on end. >> >> Well, don't keep us in suspenders, tell us what you use! > > Sorry, I don't understand. &

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Chris Angelico
for the package itself). But yes, there are a lot. > I think it is a serious design flaw that the standard library and user code > co-exist in a single namespace. There are two concerns here. One is that if you create a "random.py", you can't yourself import the normal random

Re: Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-26 Thread Twirlip2
On Wednesday, 27 August 2014 01:04:18 UTC+1, Steven D'Aprano wrote: > Twirlip2 wrote: > > > Since I require Python in order to listen to my beloved radio programmes > > reliably (don't get me started on the subject of the thrice-accursed BBC > > website!), I t

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Wednesday, 27 August 2014 01:01:22 UTC+1, Steven D'Aprano wrote: > Gregory Ewing wrote: > > > Although shadowing builtin module names is never a good > > idea, either! > > /s/builtin/standard library/ > > Quick! Name all the standard library modules, stat! > > In Python 3.3, there are some

Python conquors the BBC [was Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?]

2014-08-26 Thread Steven D'Aprano
Twirlip2 wrote: > Since I require Python in order to listen to my beloved radio programmes > reliably (don't get me started on the subject of the thrice-accursed BBC > website!), I therefore have IDLE running all the time, very probably > sometimes for weeks on end. Well,

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Steven D'Aprano
Gregory Ewing wrote: > Although shadowing builtin module names is never a good > idea, either! /s/builtin/standard library/ Quick! Name all the standard library modules, stat! In Python 3.3, there are something like 410 modules in the standard library. There's a reasonable chance that you've sh

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Chris Angelico
ing 24/7 > (shutting it down only when I'm away from home overnight). Since I require > Python in order to listen to my beloved radio programmes reliably (don't get > me started on the subject of the thrice-accursed BBC website!), I therefore > have IDLE running all the

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Wednesday, 27 August 2014 00:20:56 UTC+1, Mark Lawrence wrote: > Another lesson is that google grops is crap [...] You read my mind! (See parenthetical note at end of my most recent post.) I'm a recovered Usenet addict, of long standing. My excuse is that it was a near-emergency - I'd been

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Wednesday, 27 August 2014 00:07:03 UTC+1, Chris Angelico wrote: > On Wed, Aug 27, 2014 at 4:01 AM, Twirlip2 wrote: > > > I've been using IDLE with Python 3.4.0 on Windows XP (SP3), since March > > this year, and since May I've been running IDLE almost continuou

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Mark Lawrence
On 26/08/2014 20:44, Twirlip2 wrote: On Tuesday, 26 August 2014 20:20:22 UTC+1, Twirlip2 wrote: Mercifully, it looks like Python is not broken, but I have done something Silly! [...] What I don't yet understand is why Python is trying to execute anything at all. But I'm sure there's a simp

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Chris Angelico
On Wed, Aug 27, 2014 at 4:01 AM, Twirlip2 wrote: > I've been using IDLE with Python 3.4.0 on Windows XP (SP3), since March this > year, and since May I've been running IDLE almost continuously, using it > scores of times every day, > Just to clarify: When you say "

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Tuesday, 26 August 2014 23:03:20 UTC+1, Gregory Ewing wrote: > Twirlip2 wrote: > > > There is probably some lesson I should learn from this. > > > > The lesson is probably that you shouldn't put the code > > you're developing somewhere that's on the default import path. Most of what I wa

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Gregory Ewing
Twirlip2 wrote: There is probably some lesson I should learn from this. The lesson is probably that you shouldn't put the code you're developing somewhere that's on the default import path. Although shadowing builtin module names is never a good idea, either! -- Greg -- https://mail.python.or

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Mark Lawrence
On 26/08/2014 20:58, Twirlip2 wrote: On Tuesday, 26 August 2014 20:44:35 UTC+1, Twirlip2 wrote: Meanwhile, let me try renaming my module, and see what happens ... Whoopee, IDLE is back! I need to sit down for a while, and just relax. Oh look, there's a nice comfy chair! Surely no

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Tuesday, 26 August 2014 20:44:35 UTC+1, Twirlip2 wrote: > Meanwhile, let me try renaming my module, and see what happens ... Whoopee, IDLE is back! I need to sit down for a while, and just relax. Oh look, there's a nice comfy chair! Surely nothing unexpected can happen now. -

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Zachary Ware
27; > ^ > SyntaxError: EOL while scanning string literal It looks like the problem is that you've named your module 'code.py', which is the name of a standard library module used by IDLE. So, when IDLE tries to 'from code import In

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Tuesday, 26 August 2014 20:20:22 UTC+1, Twirlip2 wrote: > Mercifully, it looks like Python is not broken, but I have done something > Silly! > > [...] > > What I don't yet understand is why Python is trying to execute anything at > all. > > > > But I'm sure there's a simple explanation,

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Tuesday, 26 August 2014 19:46:55 UTC+1, Terry Reedy wrote: > On 8/26/2014 2:01 PM, Twirlip2 wrote: > > > [...] Here are the aforementioned error messages (sorry, I didn't realise I could simply "select all" and "copy" text from a command window) - I hope the formatting doesn't get messed up

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
On Tuesday, 26 August 2014 19:46:55 UTC+1, Terry Reedy wrote: > On 8/26/2014 2:01 PM, Twirlip2 wrote: > > > I've been using IDLE with Python 3.4.0 on Windows XP (SP3), > > ... > > > > Does all non-Python stuff seem to be working? Yes. > > For

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Grant Edwards
On 2014-08-26, Twirlip2 wrote: Careful. If you hit it with a big stick it might fall on your head and give you a concussion making it hard to remember to not mention the war. -- Grant Edwards grant.b.edwardsYow! I hope the at

Re: IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Terry Reedy
On 8/26/2014 2:01 PM, Twirlip2 wrote: I've been using IDLE with Python 3.4.0 on Windows XP (SP3), ... Does all non-Python stuff seem to be working? For a few days, I'd been frequently running a second instance of IDLE, to test a new version of the same script. Today, having c

IDLE has suddenly become FAWLTY - so should I be hitting it with a big stick, or what?

2014-08-26 Thread Twirlip2
I've been using IDLE with Python 3.4.0 on Windows XP (SP3), since March this year, and since May I've been running IDLE almost continuously, using it scores of times every day, mostly to run the same script (for running a media player on BBC WMA streams, to bypass the dreaded iPl

Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding

2014-08-19 Thread Chris Angelico
On Wed, Aug 20, 2014 at 7:44 AM, Terry Reedy wrote: > Whoops, I pasted the wrong (which is to say, correct) output. > The right (worse incorrect) interactive output is > > U+20AC is is 0x80 in CP-1252 > The console interpreter gives me > u"U+20AC is ? is 0x80 in CP-1252" Ah! You had me highly con

Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding

2014-08-19 Thread Terry Reedy
On 8/19/2014 5:23 AM, Chris Angelico wrote: On Tue, Aug 19, 2014 at 7:03 PM, Terry Reedy wrote: On 8/18/2014 7:44 PM, Chris Angelico wrote: u"U+20AC is € is 0x80 in CP-1252" u'U+20AC is \x80 is 0x80 in CP-1252' Better than what I get on my 3.4.1 Win7 U+20AC is € is 0x80 in CP-1252 How

Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding

2014-08-19 Thread Chris Angelico
r more information. >>>>> >>>>> # -*- coding: utf-8 -*- > > > I don't think this has any lasting effect in interactive mode. Each > statement is compiled and executed separatedly. In Idle, this is done with > exec(). I didn't think it would, but

Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding

2014-08-19 Thread Terry Reedy
ts" or "license()" for more information. # -*- coding: utf-8 -*- I don't think this has any lasting effect in interactive mode. Each statement is compiled and executed separatedly. In Idle, this is done with exec(). u"U+20AC is € is 0x80 in CP-1252" u

Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding

2014-08-18 Thread Chris Angelico
)" for more information. >>> # -*- coding: utf-8 -*- >>> u"U+20AC is € is 0x80 in CP-1252" u'U+20AC is \x80 is 0x80 in CP-1252' The pasted-in character is encoded CP-1252 instead of being a Unicode literal. Beginning the session with the coding cookie does

Re: Idle crashes when using accentuated letters in Mac OS X

2014-08-10 Thread Ned Deily
In article , Christian Gollwitzer wrote: > Am 10.08.14 15:03, schrieb Anamaria Martins Moreira > > I am facing a problem with using accentuated characters in idle (2.7.6 > > or 2.7.8). When I type the accent, idle crashes. If I call python from a > > terminal, there is no s

Re: Idle crashes when using accentuated letters in Mac OS X

2014-08-10 Thread Christian Gollwitzer
Am 10.08.14 15:03, schrieb Anamaria Martins Moreira I am facing a problem with using accentuated characters in idle (2.7.6 or 2.7.8). When I type the accent, idle crashes. If I call python from a terminal, there is no such problem. Try updating your Tcl/Tk to the latest version, e.g. via

Idle crashes when using accentuated letters in Mac OS X

2014-08-10 Thread Anamaria Martins Moreira
Hi! I am facing a problem with using accentuated characters in idle (2.7.6 or 2.7.8). When I type the accent, idle crashes. If I call python from a terminal, there is no such problem. I looked around and saw that there are a number of issues with utf-8-python-mac, but I could not find the

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Terry Reedy
on which is considered to be wrong. Of course, sometime the doc is absent, partial, ambiguous, or confusing. People (such as Rick) proposing enhancements often consider matching code and doc to be buggy by design. But this is different type of issue. For Idle, the doc briefly specifies beha

Re: Idle's Shell: prompts and indents (was ...) Idle users please read

2014-07-21 Thread Chris Angelico
On Tue, Jul 22, 2014 at 4:30 AM, Terry Reedy wrote: > It would be a lot of work for close to 0 gain. It could not work consistent > without special-casing sys assignments. The latter doesn't much matter (this is just a theory to help people realize what they've done, not an actual preventative -

Re: Idle's Shell: prompts and indents (was ...) Idle users please read

2014-07-21 Thread Terry Reedy
On 7/21/2014 6:56 AM, Chris Angelico wrote: On Mon, Jul 21, 2014 at 7:00 PM, Terry Reedy wrote: In general, Idle should execute user code the same way that the interpreter does, subject to the limitations of the different execution environment. Agreed, but I think the setting of prompts is a

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Chris Angelico
On Tue, Jul 22, 2014 at 2:55 AM, Grant Edwards wrote: > On 2014-07-21, Chris Angelico wrote: >> >> When you send email, you have to have a valid envelope-from address, >> which can be found in the headers. But the From: address doesn't >> technically have to be valid. > > Note that a lot of mail

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Lele Gaifax
Steven D'Aprano writes: >> Granted, the readline library exposes a "operate-and-get-next" function, >> by default bound to \C-o, with the same behaviour as the cmd.exe one. I >> find it very handy in the scenario you picted. So again, "feature" and >> "bug" may be effectively subjective :-) > > H

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Grant Edwards
On 2014-07-21, Grant Edwards wrote: > On 2014-07-21, Shiyao Ma wrote: >> No intent to pollute this thread. >> >> But really interested in the invalid@invalid.invalid mailing address. >> And,,, obviously, I cannot send to invalid@invalid.invalid, so > > FWIW, my real e-mail address is at the botto

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Steven D'Aprano
On Mon, 21 Jul 2014 17:57:22 +0200, Lele Gaifax wrote: > Chris Angelico writes: > >> Take, for instance, the behaviour of Windows's cmd.exe editing keys: >> enter three commands, then up-arrow three times and hit enter, then >> press down, enter, down, enter. You'll repeat the three commands. In

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Grant Edwards
On 2014-07-21, Mark Lawrence wrote: > On 21/07/2014 15:27, Grant Edwards wrote: >> On 2014-07-21, Chris Angelico wrote: >> >>> You call it a bug because you can't think of any way it could be >>> beneficial. That's the wrong way of looking at it. Something isn't a >>> bug because you find it anno

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Grant Edwards
On 2014-07-21, Chris Angelico wrote: > On Tue, Jul 22, 2014 at 12:40 AM, Shiyao Ma wrote: >> No intent to pollute this thread. >> >> But really interested in the invalid@invalid.invalid mailing address. >> And,,, obviously, I cannot send to invalid@invalid.invalid, so >> >> How does you(he) make

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Grant Edwards
On 2014-07-21, Shiyao Ma wrote: > No intent to pollute this thread. > > But really interested in the invalid@invalid.invalid mailing address. > And,,, obviously, I cannot send to invalid@invalid.invalid, so FWIW, my real e-mail address is at the bottom of every post. > How does you(he) make this

RE: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Coll-Barth, Michael
> -Original Message- > From: Python-list [mailto:python-list-bounces+michael.coll- > barth=verizonwireless@python.org] On Behalf Of Grant Edwards > Sent: Monday, July 21, 2014 10:27 AM > To: python-list@python.org > Subject: Re: PyWart(2.7.8) IDLE is more buggy tha

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Chris Angelico
On Tue, Jul 22, 2014 at 1:57 AM, Lele Gaifax wrote: > Granted, the readline library exposes a "operate-and-get-next" function, > by default bound to \C-o, with the same behaviour as the cmd.exe > one. I find it very handy in the scenario you picted. So again, > "feature" and "bug" may be effective

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Lele Gaifax
Chris Angelico writes: > Take, for instance, the behaviour of Windows's cmd.exe > editing keys: enter three commands, then up-arrow three times and hit > enter, then press down, enter, down, enter. You'll repeat the three > commands. In other interfaces (eg GNU readline), you'd do the same job >

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Chris Angelico
On Tue, Jul 22, 2014 at 1:19 AM, Mark Lawrence wrote: > On 21/07/2014 15:27, Grant Edwards wrote: >> >> On 2014-07-21, Chris Angelico wrote: >> >>> You call it a bug because you can't think of any way it could be >>> beneficial. That's the wrong way of looking at it. Something isn't a >>> bug bec

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Mark Lawrence
On 21/07/2014 15:27, Grant Edwards wrote: On 2014-07-21, Chris Angelico wrote: You call it a bug because you can't think of any way it could be beneficial. That's the wrong way of looking at it. Something isn't a bug because you find it annoying; it's a bug because it fails to implement the pr

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Monte Milanuk
On 2014-07-21, Shiyao Ma wrote: > But really interested in the invalid@invalid.invalid mailing address. > And,,, obviously, I cannot send to invalid@invalid.invalid, so > > How does you(he) make this? Some usenet clients, such as slrn which it looks like Grant is using according to the message he

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Chris Angelico
On Tue, Jul 22, 2014 at 12:40 AM, Shiyao Ma wrote: > No intent to pollute this thread. > > But really interested in the invalid@invalid.invalid mailing address. > And,,, obviously, I cannot send to invalid@invalid.invalid, so > > How does you(he) make this? When you send email, you have to have a

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Chris Angelico
doesn't even matter. In theory, version x.y.? releases should have bug fixes but not feature additions, but sometimes some bug fix might potentially break code, so it's deferred till the next x.? release. Or a feature addition is allowed to be backported, because it's Idle, not the core

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Shiyao Ma
No intent to pollute this thread. But really interested in the invalid@invalid.invalid mailing address. And,,, obviously, I cannot send to invalid@invalid.invalid, so How does you(he) make this? 2014-07-21 22:27 GMT+08:00 Grant Edwards : > I was always taught that it's a "bug" is when a program

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Grant Edwards
On 2014-07-21, Chris Angelico wrote: > You call it a bug because you can't think of any way it could be > beneficial. That's the wrong way of looking at it. Something isn't a > bug because you find it annoying; it's a bug because it fails to > implement the programmer's intentions and/or the docs

Re: Idle's Shell: prompts and indents (was ...) Idle users please read

2014-07-21 Thread Chris Angelico
On Mon, Jul 21, 2014 at 7:00 PM, Terry Reedy wrote: > In general, Idle should execute user code the same way that the interpreter > does, subject to the limitations of the different execution environment. Agreed, but I think the setting of prompts is a "different execution enviro

Re: Idle's Shell: prompts and indents (was ...) Idle users please read

2014-07-21 Thread Terry Reedy
On 7/20/2014 11:34 PM, Chris Angelico wrote: On Mon, Jul 21, 2014 at 1:28 PM, Terry Reedy wrote: A few users have noticed (and complained) that setting sys.ps1 and sys.ps2 *in the batch mode user process* has no effect. The Idle doc should better explain why this is and should be. User code

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Martin S
2014-07-21 4:30 GMT+02:00 Tim Chase : > On 2014-07-20 19:06, Rick Johnson wrote: >> >> STEPS TO REPRODUCE BUG 1: "Attack of the clones!" >> >

Re: Idle's Shell: prompts and indents (was ...) Idle users please read

2014-07-20 Thread Terry Reedy
y integrated with one another. I myself appreciate the finger saving principles of "DRY", however, sometimes, two distinct functionalities just cannot be implemented *IN A CLEAR MANNER* without repeating *some* of the code. We need to understand that IDLE is split into two distinct "

Re: Idle's Shell: prompts and indents (was ...) Idle users please read

2014-07-20 Thread Chris Angelico
On Mon, Jul 21, 2014 at 1:28 PM, Terry Reedy wrote: > A few users have noticed (and complained) that setting sys.ps1 and sys.ps2 > *in the batch mode user process* has no effect. The Idle doc should better > explain why this is and should be. User code should not affect the > opera

Re: Idle's Shell: prompts and indents (was ...) Idle users please read

2014-07-20 Thread Terry Reedy
return 'something' : f(3) --- got it : Idle users other than Rick, any comments on the possible improvements? Note that single multiline statements can be directly copied for pasting by the normal method. I can't comment on how it interacts with the editor half of Idl

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-20 Thread Chris Angelico
On Mon, Jul 21, 2014 at 1:05 PM, Terry Reedy wrote: > On 7/20/2014 10:38 PM, Chris Angelico wrote: > >> on Windows. The file dialog appears in the alt-tab list, which seems >> perfectly sane and sensible, and in fact alt-tab is the most logical >> way to move between maximized windows anyway. > >

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-20 Thread Terry Reedy
On 7/20/2014 10:38 PM, Chris Angelico wrote: on Windows. The file dialog appears in the alt-tab list, which seems perfectly sane and sensible, and in fact alt-tab is the most logical way to move between maximized windows anyway. Thank you for the fact, and the suggestion. -- Terry Jan Reedy

Idle open file dialogs (was ...)

2014-07-20 Thread Terry Reedy
esign bugs, I do not know that any are implementation bugs. They are definitely minor issues compared to some other Idle issues. Modal dialogs *MUST* be limited to a "one dialog at a time" These are not modal. If for some reason IDLE is not using the tkFileDialogs, Easily investiga

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-20 Thread Mark Lawrence
[snipped to bits] On 21/07/2014 03:38, Chris Angelico wrote: On Mon, Jul 21, 2014 at 12:06 PM, Rick Johnson wrote: STEPS TO REPRODUCE BUG 1: "Attack of the clones!" This is not an Idle bug at all. It's a window manager issue. ChrisA Attack of the clown? -- My fellow P

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-20 Thread Chris Angelico
On Mon, Jul 21, 2014 at 12:06 PM, Rick Johnson wrote: > STEPS TO REPRODUCE BUG 1: "Attack of the clones!" > > 1. Open the IDLE application > 2. Maximize the window that appears > 3. Go to the "File Menu" and choose the "Open" command > > Now rep

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-20 Thread Tim Chase
On 2014-07-20 19:06, Rick Johnson wrote: > > STEPS TO REPRODUCE BUG 1: "Attack of the clones!" > ==== > > 1. Open the IDLE application > 2. Maximize

<    1   2   3   4   5   6   7   8   9   10   >