From ronaldoussoren at mac.com Mon Jun 5 14:26:15 2006 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Mon, 5 Jun 2006 14:26:15 +0200 Subject: [Idle-dev] Request for review: IDLE L&F on OSX Message-ID: Hi, I'd really it if someone could have a look at patch 1491759 (www.python.org/sf/1491759). This patch improves the L&F of IDLE on MacOS X. I'd like to have this in before 2.5b1 ;-) Ronald From guido at python.org Mon Jun 5 19:16:53 2006 From: guido at python.org (Guido van Rossum) Date: Mon, 5 Jun 2006 10:16:53 -0700 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: References: Message-ID: On 6/5/06, Ronald Oussoren wrote: > I'd really it if someone could have a look at patch 1491759 > (www.python.org/sf/1491759). This patch improves the L&F of IDLE on > MacOS X. I'd like to have this in before 2.5b1 ;-) I gave it a quick try. It still needs work I think (unless for some strange reason it was executing the old version?) - very strange: when I start it from Terminal, it keeps coming up in the background (maybe beacuse the X server is already running?) - it comes up with the Windows bindings as defaults (and yes, I threw away ~/.idlerc) - when I change the bindings, they are messed up until I restart (option-command-N instead of command-N etc) - even then, option-2 doesn't zoom the window height as promised by the Windows menu; it inserts a TM sign - other option-shortcuts similar - when I invoke zoom height from the Widnows menu, the title bar hides behind the menu bar - "About" says "About Tcl * Tk..." - The run menu promises that F5 will run the module, but not so -- it's volume up :-) This was on a ~6mo old PowerBook running OS X 10.4.6. -- --Guido van Rossum (home page: http://www.python.org/~guido/) From ronaldoussoren at mac.com Mon Jun 5 21:00:14 2006 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Mon, 5 Jun 2006 21:00:14 +0200 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: References: Message-ID: On 5-jun-2006, at 19:16, Guido van Rossum wrote: > On 6/5/06, Ronald Oussoren wrote: >> I'd really it if someone could have a look at patch 1491759 >> (www.python.org/sf/1491759). This patch improves the L&F of IDLE on >> MacOS X. I'd like to have this in before 2.5b1 ;-) > > I gave it a quick try. It still needs work I think (unless for some > strange reason it was executing the old version?) > > - very strange: when I start it from Terminal, it keeps coming up in > the background (maybe beacuse the X server is already running?) That's expected behaviour due to the way OSX works. There's a Makefile for building an application bundle (IDLE.app) in Mac/OSX/ IDLE. The easiest way to get the application bundle is to install a framework build, that will install IDLE.app in /Application/MacPython 2.5. I've tried to ensure that my changes do nothing when IDLE wasn't started from that application bundle, so you shouldn't have seen anything new ;-). I should have mentioned that in the patch description. Sorry about the confusion. > > - it comes up with the Windows bindings as defaults (and yes, I threw > away ~/.idlerc) That's one of the open issues for this patch. I've no idea to override the default keybindings for just one platform. > > - when I change the bindings, they are messed up until I restart > (option-command-N instead of command-N etc) > > - even then, option-2 doesn't zoom the window height as promised by > the Windows menu; it inserts a TM sign I'll see if I can find what's causing this. I hope it isn't generic AquaTk suckage. > > - other option-shortcuts similar > > - when I invoke zoom height from the Widnows menu, the title bar hides > behind the menu bar That one seems to be easy to fix. > > - "About" says "About Tcl * Tk..." That's probably related to being started outside of an application bundle. > > - The run menu promises that F5 will run the module, but not so -- > it's volume up :-) > > This was on a ~6mo old PowerBook running OS X 10.4.6. Unless you've changed your keyboard settings in System Preferences that's expected behaviour. With the default settings you have to use fn+F5 to actually cause an F5 keyboard event (that is the function keys are the alternate choice, chaning hardware settings is the default binding for those keys). Thanks for looking at this, Ronald > > -- > --Guido van Rossum (home page: http://www.python.org/~guido/) From guido at python.org Mon Jun 5 22:09:16 2006 From: guido at python.org (Guido van Rossum) Date: Mon, 5 Jun 2006 13:09:16 -0700 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: References: Message-ID: On 6/5/06, Ronald Oussoren wrote: > That's expected behaviour due to the way OSX works. There's a > Makefile for building an application bundle (IDLE.app) in Mac/OSX/ > IDLE. The easiest way to get the application bundle is to install a > framework build, that will install IDLE.app in /Application/MacPython > 2.5. Can you give me quick instructions on how to do this? You should assume I've never used OSX before (I'm a Linux weenie with a PowerBook laptop). -- --Guido van Rossum (home page: http://www.python.org/~guido/) From ronaldoussoren at mac.com Mon Jun 5 22:18:53 2006 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Mon, 5 Jun 2006 22:18:53 +0200 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: References: Message-ID: <02DE6638-156F-4D25-B736-B14F05573F50@mac.com> On 5-jun-2006, at 22:09, Guido van Rossum wrote: > On 6/5/06, Ronald Oussoren wrote: >> That's expected behaviour due to the way OSX works. There's a >> Makefile for building an application bundle (IDLE.app) in Mac/OSX/ >> IDLE. The easiest way to get the application bundle is to install a >> framework build, that will install IDLE.app in /Application/MacPython >> 2.5. > > Can you give me quick instructions on how to do this? You should > assume I've never used OSX before (I'm a Linux weenie with a PowerBook > laptop). That should be easy :-). With the current trunk you just have to add '--enable-framework' to the command-line for configure. The usual 'make; sudo make install' then installs the framework and applications. Ronald From ronaldoussoren at mac.com Mon Jun 5 22:22:20 2006 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Mon, 5 Jun 2006 22:22:20 +0200 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: References: Message-ID: <8DB69AAF-A8C2-4464-8943-91989E2CC65C@mac.com> On 5-jun-2006, at 21:00, Ronald Oussoren wrote: > > On 5-jun-2006, at 19:16, Guido van Rossum wrote: > >> >> - it comes up with the Windows bindings as defaults (and yes, I threw >> away ~/.idlerc) > > That's one of the open issues for this patch. I've no idea to > override the default keybindings for just one platform. I intend to "fix" this by patching the various configuration files when doing a framework install. > >> >> - when I change the bindings, they are messed up until I restart >> (option-command-N instead of command-N etc) >> >> - even then, option-2 doesn't zoom the window height as promised by >> the Windows menu; it inserts a TM sign > > I'll see if I can find what's causing this. I hope it isn't generic > AquaTk suckage. >> >> - other option-shortcuts similar I've uploaded a new patch that partially fixes this. The problem is that AquaTk doesn't like keybindings that use the Alt key, which is used in the default binding for Windows->Zoom Height. I've worked around this by replacing all keybindings that use the Alt key by keybindings that use the Option key. That doesn't completely solve the Zoom issue though, is the default binding for inserting the TM sign and that side-effect still happens. >> >> - when I invoke zoom height from the Widnows menu, the title bar >> hides >> behind the menu bar > > That one seems to be easy to fix. The new patch also fixes this. It's not perfect because I don't know how to avoid placing the bottom of the window below the panel. Ronald From guido at python.org Mon Jun 5 23:16:26 2006 From: guido at python.org (Guido van Rossum) Date: Mon, 5 Jun 2006 14:16:26 -0700 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: <02DE6638-156F-4D25-B736-B14F05573F50@mac.com> References: <02DE6638-156F-4D25-B736-B14F05573F50@mac.com> Message-ID: On 6/5/06, Ronald Oussoren wrote: > > On 5-jun-2006, at 22:09, Guido van Rossum wrote: > > > On 6/5/06, Ronald Oussoren wrote: > >> That's expected behaviour due to the way OSX works. There's a > >> Makefile for building an application bundle (IDLE.app) in Mac/OSX/ > >> IDLE. The easiest way to get the application bundle is to install a > >> framework build, that will install IDLE.app in /Application/MacPython > >> 2.5. > > > > Can you give me quick instructions on how to do this? You should > > assume I've never used OSX before (I'm a Linux weenie with a PowerBook > > laptop). > > That should be easy :-). With the current trunk you just have to add > '--enable-framework' to the command-line for configure. The usual > 'make; sudo make install' then installs the framework and applications. I think you meant "frameworkinstall". It now seems to work -- except the things I mentioned before (which don't seem to be new?). -- --Guido van Rossum (home page: http://www.python.org/~guido/) From ronaldoussoren at mac.com Tue Jun 6 08:18:05 2006 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Tue, 6 Jun 2006 08:18:05 +0200 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: References: <02DE6638-156F-4D25-B736-B14F05573F50@mac.com> Message-ID: <5EEB681E-D089-4285-BE13-31DCD4473BBB@mac.com> On 5-jun-2006, at 23:16, Guido van Rossum wrote: > On 6/5/06, Ronald Oussoren wrote: >> >> On 5-jun-2006, at 22:09, Guido van Rossum wrote: >> >> > On 6/5/06, Ronald Oussoren wrote: >> >> That's expected behaviour due to the way OSX works. There's a >> >> Makefile for building an application bundle (IDLE.app) in Mac/OSX/ >> >> IDLE. The easiest way to get the application bundle is to >> install a >> >> framework build, that will install IDLE.app in /Application/ >> MacPython >> >> 2.5. >> > >> > Can you give me quick instructions on how to do this? You should >> > assume I've never used OSX before (I'm a Linux weenie with a >> PowerBook >> > laptop). >> >> That should be easy :-). With the current trunk you just have to add >> '--enable-framework' to the command-line for configure. The usual >> 'make; sudo make install' then installs the framework and >> applications. > > I think you meant "frameworkinstall". It now seems to work -- except > the things I mentioned before (which don't seem to be new?). With the trunk make install should also work, I'll check if that's still true. I've changed this a while back because of yet another user that did "make install" and was surprised things didn't work. Ronald From guido at python.org Tue Jun 6 16:53:31 2006 From: guido at python.org (Guido van Rossum) Date: Tue, 6 Jun 2006 07:53:31 -0700 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: <5EEB681E-D089-4285-BE13-31DCD4473BBB@mac.com> References: <02DE6638-156F-4D25-B736-B14F05573F50@mac.com> <5EEB681E-D089-4285-BE13-31DCD4473BBB@mac.com> Message-ID: On 6/5/06, Ronald Oussoren wrote: > > I think you meant "frameworkinstall". It now seems to work -- except > > the things I mentioned before (which don't seem to be new?). > > With the trunk make install should also work, I'll check if that's > still true. I've changed this a while back because of yet another > user that did "make install" and was surprised things didn't work. Well, I first tried "make altinstall" and that gave me a warning I had to use "frameworkinstall" instead. Then I didn't try "make install" so you're probably right. Maybe you can fix "altinstall" while you're at it? -- --Guido van Rossum (home page: http://www.python.org/~guido/) From ronaldoussoren at mac.com Tue Jun 6 17:06:23 2006 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Tue, 6 Jun 2006 17:06:23 +0200 Subject: [Idle-dev] Request for review: IDLE L&F on OSX In-Reply-To: References: <02DE6638-156F-4D25-B736-B14F05573F50@mac.com> <5EEB681E-D089-4285-BE13-31DCD4473BBB@mac.com> Message-ID: <807A1463-6A6A-4E27-B0A1-698B01FD128D@mac.com> On 6-jun-2006, at 16:53, Guido van Rossum wrote: > On 6/5/06, Ronald Oussoren wrote: >> > I think you meant "frameworkinstall". It now seems to work -- >> except >> > the things I mentioned before (which don't seem to be new?). >> >> With the trunk make install should also work, I'll check if that's >> still true. I've changed this a while back because of yet another >> user that did "make install" and was surprised things didn't work. > > Well, I first tried "make altinstall" and that gave me a warning I had > to use "frameworkinstall" instead. Then I didn't try "make install" so > you're probably right. Maybe you can fix "altinstall" while you're at > it? With a framework install you basically install every version of python in its own prefix, which makes altinstall less useful. But now that you mention it, 'make install' still installs some symlinks in / usr/local and those are relevant for altinstall. I'll fix this. Ronald From Chetan.Kumar.Tammala at deshaw.com Wed Jun 7 15:56:10 2006 From: Chetan.Kumar.Tammala at deshaw.com (Tammala, Chetan_Kumar) Date: Wed, 7 Jun 2006 19:26:10 +0530 Subject: [Idle-dev] What is Python for windows latest version. Message-ID: <55307856764CB44A89689CC8231C217246D61E@mshyd3.hyd.deshaw.com> Hi there, Could you please let me know what is the latest version of Python for windows and download location. Thanks, Chetan. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/idle-dev/attachments/20060607/a2b0a315/attachment.htm From bbands at gmail.com Thu Jun 22 16:34:29 2006 From: bbands at gmail.com (BBands) Date: Thu, 22 Jun 2006 07:34:29 -0700 Subject: [Idle-dev] Revision 47068 Message-ID: <6e8360ad0606220734w6ca81ef1n7c9c1d75c3c48b02@mail.gmail.com> This revision causes idle to fail silently on win2k with 2.4.3. jab -- John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. From talonspotter at gmail.com Thu Jun 22 17:32:11 2006 From: talonspotter at gmail.com (spotter .) Date: Thu, 22 Jun 2006 11:32:11 -0400 Subject: [Idle-dev] Idle 1.1.2 Message-ID: <74a945120606220832x270e042cxefe838ce348ac78a@mail.gmail.com> Hi, I am not sure if this is the right place to ask this, but here goes. I am using python 2.4.2 and idle version 1.1.2. When I was typing some code, I realized that when I typed #set, the syntax highlighting was off. The color of the # was black and the set was a maroon color, but if I put a space between # set, then the syntax highlight changed to all red, as comments usually appear. Is this normal behavior for that? Does set have special meaning? I was just wondering. Thanks, spot . From noamraph at gmail.com Fri Jun 23 00:02:36 2006 From: noamraph at gmail.com (Noam Raphael) Date: Fri, 23 Jun 2006 01:02:36 +0300 Subject: [Idle-dev] Idle 1.1.2 In-Reply-To: <74a945120606220832x270e042cxefe838ce348ac78a@mail.gmail.com> References: <74a945120606220832x270e042cxefe838ce348ac78a@mail.gmail.com> Message-ID: Hello, There's no special meaning to "#set" or "# set" - they are just comments. What you describe is a bug in the syntax colouring system. Noam 2006/6/22, spotter . : > Hi, > > I am not sure if this is the right place to ask this, but here goes. > I am using python 2.4.2 and idle version 1.1.2. When I was typing some code, > I realized that when I typed #set, the syntax highlighting was off. > The color of the # was black and the set was a maroon color, but if I > put a space between # set, then the syntax highlight changed to all > red, as comments usually appear. > > Is this normal behavior for that? Does set have special meaning? I was > just wondering. > > Thanks, > spot . > _______________________________________________ > IDLE-dev mailing list > IDLE-dev at python.org > http://mail.python.org/mailman/listinfo/idle-dev > From bbands at gmail.com Tue Jun 27 18:55:36 2006 From: bbands at gmail.com (BBands) Date: Tue, 27 Jun 2006 09:55:36 -0700 Subject: [Idle-dev] 46805 Message-ID: <6e8360ad0606270955o2c1aefd9p1183d55c6cf85299@mail.gmail.com> After this revision IDLE fails to launch silently. Win 2k -- build 2195 -- SP4 2.4.3 jab -- John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. From isdale at hrl.com Thu Jun 29 02:23:54 2006 From: isdale at hrl.com (isdale) Date: Wed, 28 Jun 2006 17:23:54 -0700 (PDT) Subject: [Idle-dev] Check Module fails w IndentationError Message-ID: <5095222.post@talk.nabble.com> I was having problems using IDLE on a python file. If I dont have a shell open and try to Check Module, nothing happens. If I first open a shell, then check, I get a traceback printed. Here is a simple python script that causes the error: msg = "testing Idle indent z bug" print msg for c in msg: if c == "z": print "Found z" print c --- notice the "print c" is not indented the same as the if line here is the traceback from a shell with IDLE... Exception in Tkinter callback Traceback (most recent call last): File "C:\Python24\lib\lib-tk\Tkinter.py", line 1347, in __call__ return self.func(*args) File "C:\Python24\lib\idlelib\ScriptBinding.py", line 63, in check_module_event if not self.tabnanny(filename): File "C:\Python24\lib\idlelib\ScriptBinding.py", line 70, in tabnanny tabnanny.process_tokens(tokenize.generate_tokens(f.readline)) File "C:\Python24\lib\tabnanny.py", line 277, in process_tokens for (type, token, start, end, line) in tokens: File "C:\Python24\lib\tokenize.py", line 229, in generate_tokens raise IndentationError( IndentationError: unindent does not match any outer indentation level Traceback (most recent call last): File "C:\Python24\lib\logging\__init__.py", line 738, in emit self.flush() File "C:\Python24\lib\logging\__init__.py", line 716, in flush self.stream.flush() IOError: [Errno 9] Bad file descriptor -- View this message in context: http://www.nabble.com/Check-Module-fails-w-IndentationError-tf1864880.html#a5095222 Sent from the Python - idle-dev forum at Nabble.com. From johnjohnusa at hotmail.com Thu Jun 29 23:53:11 2006 From: johnjohnusa at hotmail.com (John John) Date: Thu, 29 Jun 2006 17:53:11 -0400 Subject: [Idle-dev] GUI program won't run via DOS prompt Message-ID: An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/idle-dev/attachments/20060629/92ad59ec/attachment.htm