From noreply@sourceforge.net Tue Jul 1 06:55:26 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Mon, 30 Jun 2003 22:55:26 -0700 Subject: [Idle-dev] [ idlefork-Bugs-761557 ] Rebinding text-completion from Ctrl-/ to Ctrl-space is broke Message-ID: Bugs item #761557, was opened at 2003-06-26 20:01 Message generated for change (Settings changed) made by kbk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=761557&group_id=9579 Category: None Group: None Status: Open >Resolution: Accepted Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Kurt B. Kaiser (kbk) Summary: Rebinding text-completion from Ctrl-/ to Ctrl-space is broke Initial Comment: Rebinding Text completion from Ctrl-/ to Ctrl-space gives the following stack trace: Exception in Tkinter callback Traceback (most recent call last): File "F:\PYTHON23\lib\lib-tk\Tkinter.py", line 1337, in __call__ return self.func(*args) File "F:\PYTHON23\Lib\site- packages\idleforklib\configDialog.py", line 1168, n Ok self.Apply() File "F:\PYTHON23\Lib\site- packages\idleforklib\configDialog.py", line 1173, n Apply self.ActivateConfigChanges() File "F:\PYTHON23\Lib\site- packages\idleforklib\configDialog.py", line 1161, n ActivateConfigChanges instance.ResetKeybindings() File "F:\PYTHON23\Lib\site- packages\idleforklib\EditorWindow.py", line 530, i ResetKeybindings self.apply_bindings() File "F:\PYTHON23\Lib\site- packages\idleforklib\EditorWindow.py", line 798, i apply_bindings apply(text.event_add, (event,) + tuple(keylist)) File "F:\PYTHON23\lib\lib-tk\Tkinter.py", line 1291, in event_add self.tk.call(args) TclError: bad event type or keysym "Space" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=761557&group_id=9579 From noreply@sourceforge.net Tue Jul 1 06:59:24 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Mon, 30 Jun 2003 22:59:24 -0700 Subject: [Idle-dev] [ idlefork-Bugs-755647 ] Save Copy As control keys do not function Message-ID: Bugs item #755647, was opened at 2003-06-16 20:53 Message generated for change (Comment added) made by kbk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=755647&group_id=9579 Category: None Group: None Status: Open >Resolution: Accepted Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Kurt B. Kaiser (kbk) Summary: Save Copy As control keys do not function Initial Comment: The control keys for Save Copy As (Alt+Shift+S) do not function. Simple to reproduce: Just open up a new buffer, type some text, and hit the 3-key control combo. Manually using Save Copy As works as expected. Although this bug is trivial, it means a bunch to lazy people like myself:) ---------------------------------------------------------------------- >Comment By: Kurt B. Kaiser (kbk) Date: 2003-07-01 00:59 Message: Logged In: YES user_id=149084 None of the bindings with a Shift modifier work because it is then necessary to use the upper case keysym. IDLE is using the lower case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=755647&group_id=9579 From noreply@sourceforge.net Tue Jul 1 07:30:16 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Mon, 30 Jun 2003 23:30:16 -0700 Subject: [Idle-dev] [ idlefork-Bugs-763524 ] Colorizing/Beeps/Focus/Crashes RFE/Bugs Message-ID: Bugs item #763524, was opened at 2003-06-30 17:20 Message generated for change (Comment added) made by kbk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=763524&group_id=9579 Category: None Group: None Status: Open >Resolution: Accepted Priority: 5 Submitted By: Guido van Rossum (gvanrossum) Assigned to: Nobody/Anonymous (nobody) >Summary: Colorizing/Beeps/Focus/Crashes RFE/Bugs Initial Comment: I've been using the latest version from Python CVS on Win9: quite intensively over the last week. Some observations: - When reusing a blank untitled window to edit a Text file, it keeps using Python coloring. - When saving a Python with a non-Python extension (e.g. .txt), it keeps the coloring. - When switching off coloring by saving an untitle buffer as a non-Python extension (e.g. .txt), it keeps existing coloring. - When opening a file reuses a blank untitled window, it doesn't set the focus on the window. - I take back my earlier request to do something when the stack viewer window can't find a traceback. It beeps, but I had my sound off. - When right click -> Go to file/line can't find something, perhaps it should just beep rather than pop up a dialog. - Maybe anything that can't do something that's pretty obvious should just beep? Or maybe errors should be displayed somehow but not require clicking OK? - Selecting a window from the Windows menu doesn't set the focus on the selected window! - Keyboard shortcut for Redo (Ctl-Shift-Z) doesn't actually work! - Is there any way to set a breakpoint programmatically? (the IDLE debugger equivalent of pdb.set_trace()) - I think I crashed it by using the stack viewer after closing the PyShell. - It also crashed occasionally when using the debugger (after many successful debug sessions). - stack browser window needs title (currently says "idle") - debugger doesn't always pop up when started - source window doesn't always pop up when double clicking in debugger - want a "save all" in file menu. - suspending win98 has high probability of crashing idle when a subprocess exists (?) ---------------------------------------------------------------------- >Comment By: Kurt B. Kaiser (kbk) Date: 2003-07-01 01:30 Message: Logged In: YES user_id=149084 1. Rather than aggravate the list with endless copies of this tracker every time one gets fixed, I'm going to add the items to the TODO with a final disposition here when all fixed (or not :) 2. I can't reproduce the first item. What does "reusing a blank, untitled..." mean? Exactly what did you do to get to that point? 3. Generally, I like a quiet interface. I don't like dialogs popping up when I'm just being stupid or trying something to see if it's possible. Beeps are ok, I just turn the sound down. Of course some people like to listen to music, so I suppose we'll need a config option at some point. 4. In my experience, suspending W98 has a high probability of crashing, period. I'm not sure how I'd attack that one. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=763524&group_id=9579 From noreply@sourceforge.net Tue Jul 1 12:40:51 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Tue, 01 Jul 2003 04:40:51 -0700 Subject: [Idle-dev] [ idlefork-Bugs-763524 ] Colorizing/Beeps/Focus/Crashes RFE/Bugs Message-ID: Bugs item #763524, was opened at 2003-06-30 18:20 Message generated for change (Comment added) made by gvanrossum You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=763524&group_id=9579 Category: None Group: None Status: Open Resolution: Accepted Priority: 5 Submitted By: Guido van Rossum (gvanrossum) Assigned to: Nobody/Anonymous (nobody) Summary: Colorizing/Beeps/Focus/Crashes RFE/Bugs Initial Comment: I've been using the latest version from Python CVS on Win9: quite intensively over the last week. Some observations: - When reusing a blank untitled window to edit a Text file, it keeps using Python coloring. - When saving a Python with a non-Python extension (e.g. .txt), it keeps the coloring. - When switching off coloring by saving an untitle buffer as a non-Python extension (e.g. .txt), it keeps existing coloring. - When opening a file reuses a blank untitled window, it doesn't set the focus on the window. - I take back my earlier request to do something when the stack viewer window can't find a traceback. It beeps, but I had my sound off. - When right click -> Go to file/line can't find something, perhaps it should just beep rather than pop up a dialog. - Maybe anything that can't do something that's pretty obvious should just beep? Or maybe errors should be displayed somehow but not require clicking OK? - Selecting a window from the Windows menu doesn't set the focus on the selected window! - Keyboard shortcut for Redo (Ctl-Shift-Z) doesn't actually work! - Is there any way to set a breakpoint programmatically? (the IDLE debugger equivalent of pdb.set_trace()) - I think I crashed it by using the stack viewer after closing the PyShell. - It also crashed occasionally when using the debugger (after many successful debug sessions). - stack browser window needs title (currently says "idle") - debugger doesn't always pop up when started - source window doesn't always pop up when double clicking in debugger - want a "save all" in file menu. - suspending win98 has high probability of crashing idle when a subprocess exists (?) ---------------------------------------------------------------------- >Comment By: Guido van Rossum (gvanrossum) Date: 2003-07-01 07:40 Message: Logged In: YES user_id=6380 2. There's a special feature that if you have a blank, unchanged, untitled window (e.g. created by ^N) and then from within that window open a file, the opened file reuses the blank window rather than creating a new window like it normally does. Apparently a few settings aren't correctly set/reset in this case. 3. Agreed. 4. So true. It's fine to ignore it. ---------------------------------------------------------------------- Comment By: Kurt B. Kaiser (kbk) Date: 2003-07-01 02:30 Message: Logged In: YES user_id=149084 1. Rather than aggravate the list with endless copies of this tracker every time one gets fixed, I'm going to add the items to the TODO with a final disposition here when all fixed (or not :) 2. I can't reproduce the first item. What does "reusing a blank, untitled..." mean? Exactly what did you do to get to that point? 3. Generally, I like a quiet interface. I don't like dialogs popping up when I'm just being stupid or trying something to see if it's possible. Beeps are ok, I just turn the sound down. Of course some people like to listen to music, so I suppose we'll need a config option at some point. 4. In my experience, suspending W98 has a high probability of crashing, period. I'm not sure how I'd attack that one. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=763524&group_id=9579 From plyuistaex@clickweb.bz Tue Jul 1 14:32:57 2003 From: plyuistaex@clickweb.bz (plyuistaex@clickweb.bz) Date: Tue, 1 Jul 2003 08:32:57 -0500 Subject: [Idle-dev] I cannot believe a 18 years old girl can handle a horses cock in her pussy! Watch this clip! Message-ID: <1057062777.9317@mail228.jellyjam.biz> You think you have seen some pretty crazy porn on the internet? YOU HAVEN'T SEEN SHIT! I saw the most unbelievable movie clip ever to grace the internet! These guys put up a clip of a beautiful teen farm girl who actually fucks her horse! NO BULLSHIT, SHE ACTUALLY FUCKS A HORSE WITH A 20+ INCH COCK! ( can't tell you the exact size cuz that's part of the game ) THE MOVIE QUALITY IS GREAT AND HAS SOUND TOO! IT IS UNBELIEVABLE! http://www.xtrameg.com/farm5/ THIS LITTLE SLUTS CAN REALLY HANDLE A GIANT HORSE COCK IN HER TIGHT LITTLE TEEN PUSSY LIKE YOU WOULD NOT BELIEVE! YOU HAV TO WATCH THIS CLIP BEFORE SOMEONE FINDS IT AND TAKE IT OFF. HERES THE GOOD PART. THESE GUYS AREN'T A NORMAL PORN SITE SO THEY DON'T WANT MONEY TO LET US WATCH SO ITS FREE. BUT WHAT THEY DO IS MAKE YOU TAKE THIS TEST THAT ASKS HOW BIG A HORSE DICK IS. THAT'S SOMETHING THAT ONLY PEOPLE INTO ANIMAL SEX WOULD KNOW. SO I THINK THEY ARE JUST TRYING TO MAKE SURE YOU ARE SOMEONE WHOS INTO THIS STUFF..NOT SOMEONE WHO WANTS TO BUST THEM. SO IF YOU'RE LIKE ME AND DON'T KNOW ANYTHING ABOUT ANIMALS JUST GUESS THE SIZE. THERE ARE ONLY 3 CHOICES AND IF YOU GET IT RIGHT YOU'RE IN. YOU GET TO WATCH THE WHOLE CLIP..AND HEY DO NOT FORGET TO SAVE IT CUZ YOU'LL WANT TO WATCH IT AGAIN OR SHOW IT TO YOUR FRIENDS LATER! http://www.xtrameg.com/farm5/ CLICK ON THE LINK TO WATCH THIS LITTLE SLUT FUCK HER HORSE FOR 8 MINUTES! DO NOT FORGET TO SAVE IT SO YOU CAN WATCH IT AGAIN LATER! vqyrsbex^hfref(fbheprsbetr(arg From noreply@sourceforge.net Tue Jul 1 22:18:06 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Tue, 01 Jul 2003 14:18:06 -0700 Subject: [Idle-dev] [ idlefork-Bugs-683123 ] An extension's event binding doesn't work Message-ID: Bugs item #683123, was opened at 2003-02-09 00:54 Message generated for change (Comment added) made by noamr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=683123&group_id=9579 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Noam Raphael (noamr) Assigned to: Nobody/Anonymous (nobody) Summary: An extension's event binding doesn't work Initial Comment: in config-extensions.def, is binded to CallTips' calltip-cancel event. It doesn't work - open a shell window, and type 'dir('. A yellow tip is displayed, but it you press the Escape button, it doesn't go away. It does go away if you click the shell window with the mouse, which is, I think, because the event is also binded to calltip-cancel. I'm using Debian woody, Python 2.2.1 with IDLEfork from the CVS. ---------------------------------------------------------------------- >Comment By: Noam Raphael (noamr) Date: 2003-07-02 00:18 Message: Logged In: YES user_id=679426 This is because another function is already binded to the event , and Tk only calls one function per event. I wrote a module (called MultiCall) with a function which returns a class which inherits from a Tk widget, but wraps the event-handling methods so that all the matching functions will be called for each event, not just the most specific one. It works great for me, and integrates into IDLE very easily (a change of two lines). I already changed the ParenMatch extension to utilize this (and enhanced it a little), and I'm about to rewrite the CallTips extension so that it will provide attribute completion in the spirit of Visual C++, and use a smart Python parsing (the parsing part I already wrote). I hope I didn't spam you too much (at least it's better than the horses), Noam ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=683123&group_id=9579 From postmaster@msg1s.netvision.net.il Mon Jul 7 07:13:25 2003 From: postmaster@msg1s.netvision.net.il (Internet Mail Delivery) Date: Mon, 07 Jul 2003 09:13:25 +0300 (IDT) Subject: [Idle-dev] Delivery Notification: Delivery has failed Message-ID: <0HHN00J6P5ADHJ@msg1s.netvision.net.il> --Boundary_(ID_A6ROzT/ZerC0gLS3VjAy0g) Content-type: text/plain; charset=us-ascii Content-language: en-US Content-transfer-encoding: 7BIT This report relates to a message you sent with the following header fields: Return-path: Received: from ims-ms-daemon.msg1s.netvision.net.il by msg1s.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0HHN00J6L5ADHJ@msg1s.netvision.net.il> (original mail from idle-dev@python.org); Mon, 7 Jul 2003 09:13:25 +0300 (IDT) Received: from mxin3.netvision.net.il ([194.90.9.23]) by msg1s.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HHN00JI25ADG7@msg1s.netvision.net.il>; Mon, 07 Jul 2003 09:13:25 +0300 (IDT) Received: from mxtlv.netvision.net.il ([199.203.4.207]) by mxin3.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HHN00ACW5AC7C@mxin3.netvision.net.il> for andro1@netvision.net.il (ORCPT andro1@netvision.net.il); Mon, 07 Jul 2003 09:13:25 +0300 (IDT) Received: from CHENLI ([61.236.134.65]) by mxtlv.netvision.net.il (8.9.3/8.9.3) with ESMTP id JAA21367 for ; Mon, 07 Jul 2003 09:13:08 +0300 (IDT) Date: Mon, 07 Jul 2003 14:13:28 +0800 From: idle-dev@python.org Subject: Re: Movie To: andro1@netvision.net.il Message-id: <200307070613.JAA21367@mxtlv.netvision.net.il> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: multipart/mixed; boundary="Boundary_(ID_V3OS9UjuyCXnqSOYDGiPVQ)" Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Your message cannot be delivered to the following recipients: Recipient address: andro1@netvision.net.il Original address: andro1@netvision.net.il Reason: Over quota --Boundary_(ID_A6ROzT/ZerC0gLS3VjAy0g) Content-type: message/delivery-status Reporting-MTA: dns;msg1s.netvision.net.il (ims-ms-daemon) Original-recipient: rfc822;andro1@netvision.net.il Final-recipient: rfc822;andro1@netvision.net.il Action: failed Status: 5.2.2 (Over quota) --Boundary_(ID_A6ROzT/ZerC0gLS3VjAy0g) Content-type: TEXT/RFC822-HEADERS Return-path: Received: from ims-ms-daemon.msg1s.netvision.net.il by msg1s.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0HHN00J6L5ADHJ@msg1s.netvision.net.il> (original mail from idle-dev@python.org); Mon, 7 Jul 2003 09:13:25 +0300 (IDT) Received: from mxin3.netvision.net.il ([194.90.9.23]) by msg1s.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HHN00JI25ADG7@msg1s.netvision.net.il>; Mon, 07 Jul 2003 09:13:25 +0300 (IDT) Received: from mxtlv.netvision.net.il ([199.203.4.207]) by mxin3.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HHN00ACW5AC7C@mxin3.netvision.net.il> for andro1@netvision.net.il (ORCPT andro1@netvision.net.il); Mon, 07 Jul 2003 09:13:25 +0300 (IDT) Received: from CHENLI ([61.236.134.65]) by mxtlv.netvision.net.il (8.9.3/8.9.3) with ESMTP id JAA21367 for ; Mon, 07 Jul 2003 09:13:08 +0300 (IDT) Date: Mon, 07 Jul 2003 14:13:28 +0800 From: idle-dev@python.org Subject: Re: Movie To: andro1@netvision.net.il Message-id: <200307070613.JAA21367@mxtlv.netvision.net.il> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: TEXT/PLAIN Content-transfer-encoding: QUOTED-PRINTABLE Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal --Boundary_(ID_A6ROzT/ZerC0gLS3VjAy0g)-- From noreply@sourceforge.net Mon Jul 7 23:13:06 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Mon, 07 Jul 2003 15:13:06 -0700 Subject: [Idle-dev] [ idlefork-Bugs-767396 ] Waiting for keyboard or mouse Message-ID: Bugs item #767396, was opened at 2003-07-07 22:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=767396&group_id=9579 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Bruce Sherwood (bsherwood) Assigned to: Nobody/Anonymous (nobody) Summary: Waiting for keyboard or mouse Initial Comment: With the idlelib included in Python 2.3b2 I find that the following simple program "misbehaves" on Windows but not on Linux: from visual import * box() scene.mouse.getclick() If with the graphics window open I go back to the edit window and press F5, the first window stays up (and if I keep doing this I get lots of them). If I click in one of these old windows, it closes. A similar thing happens with a wait for keyboard input: from visual import * box() s = scene.kb.getkey() print s Does this indicate something wrong in Visual that I need to fix? Or is there some general issue with idlelib in the case where a window is waiting for keyboard or mouse input? This problem doesn't occur with Idle_VPython. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=767396&group_id=9579 From kbk@users.sourceforge.net Wed Jul 9 21:47:47 2003 From: kbk@users.sourceforge.net (Kurt B. Kaiser) Date: Wed, 09 Jul 2003 13:47:47 -0700 Subject: [Idle-dev] CVS: idle OutputWindow.py,1.8,1.9 Message-ID: Update of /cvsroot/idlefork/idle In directory sc8-pr-cvs1:/tmp/cvs-serv5822 Modified Files: OutputWindow.py Log Message: IDLEfork Patch 615312 "Forwardport Locale Encoding I/O Patch" There was no need to forwardport this. Index: OutputWindow.py =================================================================== RCS file: /cvsroot/idlefork/idle/OutputWindow.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** OutputWindow.py 31 Dec 2002 15:59:14 -0000 1.8 --- OutputWindow.py 9 Jul 2003 20:47:45 -0000 1.9 *************** *** 3,6 **** --- 3,7 ---- import re import tkMessageBox + import IOBinding class OutputWindow(EditorWindow): *************** *** 35,38 **** --- 36,47 ---- def write(self, s, tags=(), mark="insert"): + # Tk assumes that byte strings are Latin-1; + # we assume that they are in the locale's encoding + if isinstance(s, str): + try: + s = unicode(s, IOBinding.encoding) + except UnicodeError: + # some other encoding; let Tcl deal with it + pass self.text.insert(mark, s, tags) self.text.see(mark) From noreply@sourceforge.net Wed Jul 9 21:49:06 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Wed, 09 Jul 2003 13:49:06 -0700 Subject: [Idle-dev] [ idlefork-Patches-615312 ] Forwardport Locale Encoding I/O Patch Message-ID: Patches item #615312, was opened at 2002-09-26 19:41 Message generated for change (Comment added) made by kbk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=309579&aid=615312&group_id=9579 Category: None Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Kurt B. Kaiser (kbk) Assigned to: Kurt B. Kaiser (kbk) Summary: Forwardport Locale Encoding I/O Patch Initial Comment: This change is not compatible with Python 2.1.1 Save for Idlefork/Python merge. ---------------------------------------------------------------------- >Comment By: Kurt B. Kaiser (kbk) Date: 2003-07-09 15:49 Message: Logged In: YES user_id=149084 Applied also to IDLEfork, fine in Python 2.2.1 OutputWindow.py Rev 1.9 ---------------------------------------------------------------------- Comment By: Kurt B. Kaiser (kbk) Date: 2003-06-15 12:51 Message: Logged In: YES user_id=149084 Applied to Python CVS .../Lib/idlefork OutputWindow.py Rev 1.9 ---------------------------------------------------------------------- Comment By: Kurt B. Kaiser (kbk) Date: 2002-09-26 19:45 Message: Logged In: YES user_id=149084 Ahhh, 2.2.1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=309579&aid=615312&group_id=9579 From kbk@users.sourceforge.net Thu Jul 10 04:47:42 2003 From: kbk@users.sourceforge.net (Kurt B. Kaiser) Date: Wed, 09 Jul 2003 20:47:42 -0700 Subject: [Idle-dev] CVS: idle PyShell.py,1.75,1.76 run.py,1.22,1.23 Message-ID: Update of /cvsroot/idlefork/idle In directory sc8-pr-cvs1:/tmp/cvs-serv4082 Modified Files: PyShell.py run.py Log Message: SF Patch 682347 "Convert Unicode strings from readline to IOBinding.encoding. Also set sys.std{in|out|err}.encoding, for both the local and the subprocess case." This is Martin v. Loewis' patch to idlelib 22Jun03. Modified Files: PyShell.py run.py Index: PyShell.py =================================================================== RCS file: /cvsroot/idlefork/idle/PyShell.py,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -r1.75 -r1.76 *** PyShell.py 22 Jun 2003 19:45:46 -0000 1.75 --- PyShell.py 10 Jul 2003 03:47:40 -0000 1.76 *************** *** 745,751 **** self.save_stderr = sys.stderr self.save_stdin = sys.stdin ! self.stdout = PseudoFile(self, "stdout") ! self.stderr = PseudoFile(self, "stderr") ! self.console = PseudoFile(self, "console") if not use_subprocess: sys.stdout = self.stdout --- 745,752 ---- self.save_stderr = sys.stderr self.save_stdin = sys.stdin ! import IOBinding ! self.stdout = PseudoFile(self, "stdout", IOBinding.encoding) ! self.stderr = PseudoFile(self, "stderr", IOBinding.encoding) ! self.console = PseudoFile(self, "console", IOBinding.encoding) if not use_subprocess: sys.stdout = self.stdout *************** *** 890,893 **** --- 891,900 ---- self.reading = save line = self.text.get("iomark", "end-1c") + if isinstance(line, unicode): + import IOBinding + try: + line = line.encode(IOBinding.encoding) + except UnicodeError: + pass self.resetoutput() if self.canceled: *************** *** 1094,1101 **** class PseudoFile: ! def __init__(self, shell, tags): self.shell = shell self.tags = tags self.softspace = 0 def write(self, s): --- 1101,1109 ---- class PseudoFile: ! def __init__(self, shell, tags, encoding=None): self.shell = shell self.tags = tags self.softspace = 0 + self.encoding = encoding def write(self, s): Index: run.py =================================================================== RCS file: /cvsroot/idlefork/idle/run.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** run.py 5 Jun 2003 23:51:29 -0000 1.22 --- run.py 10 Jul 2003 03:47:40 -0000 1.23 *************** *** 213,216 **** --- 213,219 ---- sys.stdout = self.get_remote_proxy("stdout") sys.stderr = self.get_remote_proxy("stderr") + import IOBinding + sys.stdin.encoding = sys.stdout.encoding = \ + sys.stderr.encoding = IOBinding.encoding self.interp = self.get_remote_proxy("interp") rpc.RPCHandler.getresponse(self, myseq=None, wait=0.05) From kbk@users.sourceforge.net Thu Jul 10 05:02:17 2003 From: kbk@users.sourceforge.net (Kurt B. Kaiser) Date: Wed, 09 Jul 2003 21:02:17 -0700 Subject: [Idle-dev] CVS: idle PyShell.py,1.76,1.77 Message-ID: Update of /cvsroot/idlefork/idle In directory sc8-pr-cvs1:/tmp/cvs-serv5980 Modified Files: PyShell.py Log Message: Sync with idlelib: Python bug 767794 "Break or continue outside loop causes crash" Index: PyShell.py =================================================================== RCS file: /cvsroot/idlefork/idle/PyShell.py,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -r1.76 -r1.77 *** PyShell.py 10 Jul 2003 03:47:40 -0000 1.76 --- PyShell.py 10 Jul 2003 04:02:14 -0000 1.77 *************** *** 609,612 **** --- 609,614 ---- try: msg, (dummy_filename, lineno, offset, line) = value + if not offset: + offset = 0 except: ok = 0 From noreply@sourceforge.net Thu Jul 10 05:13:21 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Wed, 09 Jul 2003 21:13:21 -0700 Subject: [Idle-dev] [ idlefork-Patches-682347 ] Another locale encoding patch Message-ID: Patches item #682347, was opened at 2003-02-07 09:47 Message generated for change (Comment added) made by kbk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=309579&aid=682347&group_id=9579 Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: Kirill Simonov (kirill_simonov) >Assigned to: Kurt B. Kaiser (kbk) Summary: Another locale encoding patch Initial Comment: This patch is for use with the patch #615312. With this patch, stdin.readline() returns an ordinary string in the locale's encoding, not an Unicode string. ---------------------------------------------------------------------- >Comment By: Kurt B. Kaiser (kbk) Date: 2003-07-09 23:13 Message: Logged In: YES user_id=149084 Also applied to IDLEfork. Note that the patch also changes run.py, Rev 1.23 PyShell.py Rev 1.76 in IDLEfork. ---------------------------------------------------------------------- Comment By: Martin v. Löwis (loewis) Date: 2003-06-22 02:53 Message: Logged In: YES user_id=21627 Thanks for the patch. Applied (with amendments) as PyShell.py 1.78. ---------------------------------------------------------------------- Comment By: Martin v. Löwis (loewis) Date: 2003-03-24 04:02 Message: Logged In: YES user_id=21627 Reason #2 is obsolete now; raw_input *can* result in Unicode strings in Python 2.3. I can sympathise with the patch. However, I would like to see it combined with a patch to let applications determine the encoding used, e.g. by querying sys.stdin.encoding. Otherwise, getting raw bytes will complicate matters. See also Python patch #612627, which adds the encoding attribute to a terminal stdout. ---------------------------------------------------------------------- Comment By: Kirill Simonov (kirill_simonov) Date: 2003-02-17 18:25 Message: Logged In: YES user_id=36553 There are no such a problem with Idlefork. The author of the post was using the original IDLE from the 2.2 distribution. Note the line in the traceback: File "[...]\Tools\idle\ColorDelegator.py", line 196, in recolorize_main if value in ("def", "class"): The line 196 of ColorDelegator.py from Idlefork 0.9a2 is different. ---------------------------------------------------------------------- Comment By: Kurt B. Kaiser (kbk) Date: 2003-02-17 17:14 Message: Logged In: YES user_id=149084 Does this solve the problem mentioned in http://mail.python.org/pipermail/idle-dev/2003-February/001628.html ---------------------------------------------------------------------- Comment By: Kirill Simonov (kirill_simonov) Date: 2003-02-07 10:35 Message: Logged In: YES user_id=36553 Two reasons. 1. The following script does not work correctly in IDLE: # -*- encoding: koi8-r -*- name = raw_input("What's your name?") print "Hi %s!" % name I use russian phrases here, of course. And if I enter my name using cyrillic letters, I get UnicodeError. This is because I mixed a Unicode string with with an 8-bit string. I know that I can use unicode literals, but I don't think that my students should know anything about Unicode, 6 cyrrilic encodings, etc, especially when they are writing their first program. Note that this program is absolutely correct and run perfectly from console. So I think that it should work in IDLE too. 2. I believe that raw_input() and stdin.readline() must always return either Unicode strings or 8-bit strings, but do not mix them. P.S. I think that -*- encoding -*- comments are very unfriendly for newbies too, but that's another story. ---------------------------------------------------------------------- Comment By: Guido van Rossum (gvanrossum) Date: 2003-02-07 09:55 Message: Logged In: YES user_id=6380 Why would you want that? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=309579&aid=682347&group_id=9579 From noreply@sourceforge.net Thu Jul 10 05:14:51 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Wed, 09 Jul 2003 21:14:51 -0700 Subject: [Idle-dev] [ idlefork-Bugs-761226 ] cannot reopen file easily Message-ID: Bugs item #761226, was opened at 2003-06-26 09:45 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=761226&group_id=9579 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: cannot reopen file easily Initial Comment: It is not possible to reopen a file in the editor if it is changed from outside. You will have to close the editor window and open the file again. Just open the file in the editor will leave the contents unchanged. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=761226&group_id=9579 From chillininnit@yahoo.com Tue Jul 15 02:41:58 2003 From: chillininnit@yahoo.com (FutureStrategy) Date: Mon, 14 Jul 2003 21:41:58 -0400 Subject: [Idle-dev] Future Marketing Strategies Message-ID: Business Strategies of The Future - Now

This offer valid only till July 17th, 2003
Business Strategies of The Future - Now

Increased Sales Guaranteed for Less - 

Don't get caught in the "Economic Gloom " - 
Subscribe now to
Earn thousands of extra profit with the best Sales and Marketing Techniques available for business in Australia today. Join the growing band of satisfied clients of The Maverick Partnership and start using our unique methods that gain extra sales within 30 days. Ideas that will put money in your bank account instantly! 

Invest just $198, and two hours each month reading The Maverick Report as Wayne Mansfield and our team shares with you the secrets of Maverick Marketing - Cutting Edge Business Strategies and Techniques of the Future that are helping dozens of businesses, large and small, achieve results far in excess of anything they believed possible.

You should expect to pay up to $2,000 an hour to receive advice like this, but your investment is only $198 for a full 12 months of The Maverick Report... and when you subscribe within 7 days you will receive the 96 page The Best of The Maverick Report Compendium absolutely free to keep.

But be warned, you have to act quickly. You need to capitalise on "Maverick Marketing - Business Strategies and Techniques of the Future" - soon because any advantage over your competitors in the 00's is only short lived

Now more than at any time in our recent history - it's the quick or the dead!

Maverick...... 
a person who takes chances, of independent or unorthodox views, who departs from the accepted course. 
Collins Concise Dictionary
Princeton Language Institute


Samuel Maverick (1803-70) Texan rancher who, when branding of stock was introduced chose "Not to Brand." Every unbranded horse or cow he claimed as a Maverick! 


Flaming Mane
The symbol of a free spirit in this complicated world...

Tonnes of Material each month! You will receive a comprehensive newsletter, support material, plus dozens of ideas that will help set your business alight each month. 

Plus the latest from overseas too...
We subscribe to over 30 monthly journals, 100 newsletters and review at least 20 business books each month. We include details of the newest, hottest and most usable ideas that come across our desk.

The team at The Maverick Partnership, who write and edit The Maverick Report, are successful sales and marketing strategists who present over 100 workshops and seminars a year across Australia...

These results are being achieved at costs less than they were previously spending on advertising, marketing and sales follow-up.
So here is your opportunity to get a jump on the opposition and stay out in front. Be a Maverick Marketer... a free spirit enjoying the fruits of your endeavours and commit to achieving outstanding results - sooner rather than later.
Since 1992 we at the Maverick Partnership have helped over 20,000 businesses increase their sales and bottom line by understanding and using The Secrets of Maverick Marketing - Business Strategies and Techniques of the Future. 
As Wayne Mansfield says, " The understanding and effective use of the new Maverick methods of marketing - invariably leads clients to spectacular increases in business." 

We will share these ideas with you and in case studies, walk you through success stories that will inspire you.

Drawing on years of experience in business... both successes and painful learning times, they developed "Maverick" Strategies that allow you to achieve results beyond your expectations

The acknowledged pioneers of Maverick Marketing, The Maverick Partnership team are dedicated to bringing you the very best each month in our easy to read newsletter format.
All this experience and more is yours each month in The Maverick Report

How much I can hear you asking!
Just US$149 for 12 months subscription to The Maverick Report
- - Special Bonus Offer - -
Act quickly - subscribe by May 16th, 2003 and yours free - The Best of The Maverick Report Compendium... 96 pages full of 1,000's ideas and strategies... a bonus worth $149... yours to keep just for trying The Maverick Report.

Subscribe now and prosper! 
Each month The Maverick Report, combines the very latest information available from Australia and internationally, with the 25 years of maverick sales and marketing experience of the team at Maverick Partnership. Sharing examples of techniques currently being used by companies Australia-wide developed by our strategists, The Maverick Report is an exciting ideas source for every business owner, small or large, homebased or multi national.

We draw from examples and feedback from our seminars series where Australian experts in Sales, Marketing, Time Management, Customer Service, Web Marketing and Presentation Skills present to businesses across Australia. In 2002, 4,830 businesses sent over 20,000 staff to hear techniques and strategies to improve their business.

We share success stories of how our clients have combined creative sales and marketing ideas with effective methods of contacting past and future clients, to achieve extraordinary results. 
Results such as:

  • Major daily newspaper increases classified advertising by 16.5% after telemarketers use new way of answering phones!
  • Safety Training company achieving 60% response rate to its workshops.
  • National programmed music company increases business by 84% using fax marketing lead generation.
  • National Mechanical Services group increases clinic enrolments by 400% without increasing promotional budget.
  • Emergency procedures company secures new clients with regular low cost marketing program.
  • Consulting company in building construction industry wins $30 million of new business by using an imaginative newsletter.
  • Financial Planning group uses customised meeting seminars to explode sales results.
  • Hospitality and resort management company attracts $750,000 of bookings annually to their website using exclusive low cost permission marketing techniques.
  • Investment software company attracts sales of high end programme by imaginative direct mail campaign.

Results that speak for themselves...
Join the growing list of successful businesses gaining more success by using ideas gained from seminars, workshops and The Maverick Report.

There is no time to waste. Act now and start enjoying the success you deserve.

The Maverick Report is published by The Maverick Partnership, a division of Australia's leading business publishing and seminar company. Companies world wide have used Australian expertise to scale the heights of international business success. 

The Aussies are universally respected for achieving outrageous success. Whether it be staging the Sydney Olympics, Rugby's World Cup, winning the America's Cup, creating the world's greatest media empire like Rupert Murdoch's News Corporation or Qantas the world's most profitable and safest airline. The isolation of Australia, its massive land mass and small population has created a nation of high achievers. Aussie sportspeople over achieve - Lleyton Hewett is No 1 in tennis, Greg Norman dominated golf courses for a decade, Ian Thorpe smashed 20 world swimming records before he was 21; in entertainment - Mel Gibson, Russell Crowe and Nicole Kidman are setting box office records in the movies.

So, don't delay, order The Maverick Report and start getting results.

Here are a few recent testimonials:

Mate I thought I owed you a courtesy note. We presented in Mt Gambier last night and used your feedback sheets or a version of. It was a record response. 23 meetings. 

Just to put that in to perspective. Each meeting is worth a minimum of $3245. Usually 10 meetings is top and we sign about 6. There were a lot of factors that made it the best yet but your feedback sheet idea was at the top of the list. Our presentation was twice as good just from the better preparation and study we put in before hand. Thanks again.

Simon Mills
L.M.G. Brisbane

Life’s very busy, though I still find time to read the Maverick Report. It’s very inspirational and I forward it to all of my friends.

After attending the incoming calls seminar in Sydney, I returned to my work place all fired up with enthusiasm.

Simon Whitaker
Wine Supply Direct

You really got my attention today, great newsletter, I have enjoyed them - just a bit of blue sky every now and then when I get bogged down with stuff. This was inspiring, got me to look up from the ground and see that the sky is blue and that having a vision and an ethical base is so important. Thanks again. 

Ursula
CentreLink

How To Order:

  1. By eMail
    Complete the form below & click 'submit'
  2. By fax
    Print the form below, complete & send to +618 6210 1445
  3. By phone
    Call +618 6210 1348
O.K. I would like to subscribe to The Maverick Report Sales and Marketing Newsletter at the Special introductory price of just US$149 - delivered to anywhere in the world  I understand that The Maverick Report is covered by a 90 Day Unconditional Money Back Guarantee and if for any reason I am not satisfied with The Maverick Report, I can let you know to receive a full refund. 
Include my Special Bonus: The 96 page The Best of The Maverick Report Compendium absolutely free. Mine to keep!

First Name:
Last Name:
Company:
Position:
Address:
Address Cont.:
Post Code:
Phone:
Fax:
e-Mail:
Web Site:

Payment Details:

Credit Card:

Cardholder Name:

Card Number:
Expiry Date:

os0607

Don't Delay - Offer  expires July 17th... Don't Miss Out!

Your booking form is sent by eMail - just check your 'Sent Items'  to confirm that it has been submitted successfully.

You are important to us. If you are having problems ordering, please let us know by eMail or phone +618 6210 1348 

Any questions?? Feel free to contact us and we'll explain the unique advantages of The Maverick Report but remember this offer EXPIRES on July 17th, 2003!

The Maverick Partnership
A division of The Which Company Pty Ltd
ABN: 90 091 728 620
Corporate Office: 42 Wickham Street, East Perth, Western Australia, Australia
Offices in: Sydney, Melbourne, Brisbane, Adelaide, Perth
Postal Address:
PO Box 159, Northbridge, 6865 Western Australia, Australia
Within Australia Phone: 08 6210 1348 Fax: 08 6210 1445
Internationally Phone: +618 6210 1348 Fax: +618 210 1445

This is being sent to: idle-dev@python.org
We collect eMail contact addresses from various publicly available sources and other marketing promotions. We understand you may wish NOT to receive information from us by eMail.

To be removed from this and other offers, do not reply to sender, simply click here to send an email with "REMOVE idle-dev@python.org" in the subject line  or phone +618 6210 1348  or  fax details to +618 6210 1445

 

From kbk@users.sourceforge.net Wed Jul 16 22:12:53 2003 From: kbk@users.sourceforge.net (Kurt B. Kaiser) Date: Wed, 16 Jul 2003 14:12:53 -0700 Subject: [Idle-dev] CVS: idle CREDITS.txt,1.7,1.8 NEWS.txt,1.20,1.21 config-extensions.def,1.11,1.12 extend.txt,1.3,1.4 help.txt,1.9,1.10 Message-ID: Update of /cvsroot/idlefork/idle In directory sc8-pr-cvs1:/tmp/cvs-serv20930 Modified Files: CREDITS.txt NEWS.txt config-extensions.def extend.txt help.txt Log Message: Syncronize to Python idlelib checkin 15Jul2003 Update documentation to reflect current status of configuration system M CREDITS.txt M NEWS.txt M config-extensions.def M extend.txt M help.txt Index: CREDITS.txt =================================================================== RCS file: /cvsroot/idlefork/idle/CREDITS.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** CREDITS.txt 30 May 2003 02:42:02 -0000 1.7 --- CREDITS.txt 16 Jul 2003 21:12:51 -0000 1.8 *************** *** 21,27 **** integration and persistent breakpoints). ! Hernan Foffani, Christos Georgiou, Martin v. Loewis, Jason Orendorff, Noam ! Raphael, Josh Robb, Nigel Rowe, and Bruce Sherwood have submitted useful ! patches. Thanks, guys! There are others who should be included here, especially those who contributed --- 21,27 ---- integration and persistent breakpoints). ! Scott David Daniels, Hernan Foffani, Christos Georgiou, Martin v. Loewis, ! Jason Orendorff, Noam Raphael, Josh Robb, Nigel Rowe, and Bruce Sherwood have ! submitted useful patches. Thanks, guys! There are others who should be included here, especially those who contributed Index: NEWS.txt =================================================================== RCS file: /cvsroot/idlefork/idle/NEWS.txt,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** NEWS.txt 14 Jun 2003 03:20:28 -0000 1.20 --- NEWS.txt 16 Jul 2003 21:12:51 -0000 1.21 *************** *** 8,13 **** *Release date: XX-XXX-2003* ! - (Created the .../Lib/idlelib directory in the Python CVS, which is a ! clone of IDLEfork) - Printing the Shell window was failing if it was not saved first SF 748975 --- 8,29 ---- *Release date: XX-XXX-2003* ! - Updated extend.txt, help.txt, and config-extensions.def to correctly ! reflect the current status of the configuration system. Python Bug 768469 ! ! - Break or continue statements outside a loop were causing IDLE crash ! Python Bug 767794 ! ! - Convert Unicode strings from readline to IOBinding.encoding. Also set ! sys.std{in|out|err}.encoding, for both the local and the subprocess case. ! (SF Patch 682347 + Martin v. Loewis code applied to idlelib 22Jun03) ! ! - Convert from locale's encoding on output. SF Patch 615312 ! ! - Support testing in .../Tools/idlefork when calling ! by providing other modules access to globals set up in PyShell.main() ! ! - (As part of the merge back to Python, created the .../Lib/idlelib directory ! in the Python CVS, which is a clone of IDLEfork, and includes CVS check-in ! history.) - Printing the Shell window was failing if it was not saved first SF 748975 Index: config-extensions.def =================================================================== RCS file: /cvsroot/idlefork/idle/config-extensions.def,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** config-extensions.def 18 May 2003 02:21:55 -0000 1.11 --- config-extensions.def 16 Jul 2003 21:12:51 -0000 1.12 *************** *** 1,4 **** # IDLE reads several config files to determine user preferences. This ! # file is the default config file for idle extensions settings. # # Each extension must have at least one section, named after the extension --- 1,4 ---- # IDLE reads several config files to determine user preferences. This ! # file is the default configuration file for IDLE extensions settings. # # Each extension must have at least one section, named after the extension *************** *** 11,14 **** --- 11,18 ---- # present, ExtensionName_cfgBindings defines virtual event bindings for the # extension that may be sensibly re-configured. + + # Currently it is necessary to manually modify this file to change extension + # key bindings. Note: If a keybinding is already in use when the extension is + # loaded, the extension's virtual event's keybinding will be set to ''. # See config-keys.def for notes on specifying keys. Index: extend.txt =================================================================== RCS file: /cvsroot/idlefork/idle/extend.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** extend.txt 14 Jul 2001 05:18:59 -0000 1.3 --- extend.txt 16 Jul 2003 21:12:51 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- Writing an IDLE extension + ========================= An IDLE extension can define new key bindings and menu entries for IDLE *************** *** 8,15 **** The list of extensions loaded at startup time is configured by editing ! the file config.txt; see below for details. An IDLE extension is defined by a class. Methods of the class define ! actions that are invoked by those bindings or menu entries. Class (or instance) variables define the bindings and menu additions; these are automatically applied by IDLE when the extension is linked to an edit --- 9,16 ---- The list of extensions loaded at startup time is configured by editing ! the file config-extensions.def. See below for details. An IDLE extension is defined by a class. Methods of the class define ! actions that are invoked by event bindings or menu entries. Class (or instance) variables define the bindings and menu additions; these are automatically applied by IDLE when the extension is linked to an edit *************** *** 27,65 **** (There are a few more, but they are rarely useful.) ! The extension class must not bind key events. Rather, it must define ! one or more virtual events, e.g. <>, and corresponding ! methods, e.g. zoom_height_event(), and have one or more class (or instance) ! variables that define mappings between virtual events and key sequences, ! e.g. . When the extension is loaded, these key sequences will ! be bound to the corresponding virtual events, and the virtual events ! will be bound to the corresponding methods. (This indirection is done ! so that the key bindings can easily be changed, and so that other ! sources of virtual events can exist, such as menu entries.) ! ! The following class or instance variables are used to define key ! bindings for virtual events: ! ! keydefs for all platforms ! mac_keydefs for Macintosh ! windows_keydefs for Windows ! unix_keydefs for Unix (and other platforms) ! ! Each of these variables, if it exists, must be a dictionary whose ! keys are virtual events, and whose values are lists of key sequences. ! ! An extension can define menu entries in a similar fashion. This is done ! with a class or instance variable named menudefs; it should be a list of ! pair, where each pair is a menu name (lowercase) and a list of menu ! entries. Each menu entry is either None (to insert a separator entry) or ! a pair of strings (menu_label, virtual_event). Here, menu_label is the ! label of the menu entry, and virtual_event is the virtual event to be ! generated when the entry is selected. An underscore in the menu label ! is removed; the character following the underscore is displayed ! underlined, to indicate the shortcut character (for Windows). ! ! At the moment, extensions cannot define whole new menus; they must ! define entries in existing menus. Some menus are not present on some ! windows; such entry definitions are then ignored, but the key bindings ! are still applied. (This should probably be refined in the future.) Here is a complete example example: --- 28,57 ---- (There are a few more, but they are rarely useful.) ! The extension class must not directly bind Window Manager (e.g. X) events. ! Rather, it must define one or more virtual events, e.g. <>, and ! corresponding methods, e.g. zoom_height_event(). The virtual events will be ! bound to the corresponding methods, and Window Manager events can then be bound ! to the virtual events. (This indirection is done so that the key bindings can ! easily be changed, and so that other sources of virtual events can exist, such ! as menu entries.) ! ! An extension can define menu entries. This is done with a class or instance ! variable named menudefs; it should be a list of pairs, where each pair is a ! menu name (lowercase) and a list of menu entries. Each menu entry is either ! None (to insert a separator entry) or a pair of strings (menu_label, ! virtual_event). Here, menu_label is the label of the menu entry, and ! virtual_event is the virtual event to be generated when the entry is selected. ! An underscore in the menu label is removed; the character following the ! underscore is displayed underlined, to indicate the shortcut character (for ! Windows). ! ! At the moment, extensions cannot define whole new menus; they must define ! entries in existing menus. Some menus are not present on some windows; such ! entry definitions are then ignored, but key bindings are still applied. (This ! should probably be refined in the future.) ! ! Extensions are not required to define menu entries for all the events they ! implement. (XXX KBK 15Jul03: But it appears they must have keybindings for each ! virtual event?) Here is a complete example example: *************** *** 74,84 **** ] - windows_keydefs = { - '<>': [''], - } - unix_keydefs = { - '<>': [''], - } - def __init__(self, editwin): self.editwin = editwin --- 66,69 ---- *************** *** 87,120 **** "...Do what you want here..." ! The final piece of the puzzle is the file "config.txt", which is used ! to to configure the loading of extensions. For each extension, ! you must include a section in config.txt (or in any of the other ! configuration files that are consulted at startup: config-unix.txt, ! config-win.txt, or ~/.idle). A section is headed by the module name ! in square brackets, e.g. ! ! [ZoomHeight] ! ! The section may be empty, or it may define configuration options for ! the extension. (See ParenMatch.py for an example.) A special option ! is 'enable': including ! ! enable = 0 ! ! in a section disables that extension. More than one configuration ! file may specify options for the same extension, so a user may disable ! an extension that is loaded by default, or enable an extension that is ! disabled by default. ! ! Extensions can define key bindings and menu entries that reference ! events they don't implement (including standard events); however this is ! not recommended (and may be forbidden in the future). ! ! Extensions are not required to define menu entries for all events they ! implement. ! ! Note: in order to change key bindings, you must currently edit the file ! keydefs. It contains two dictionaries named and formatted like the ! keydefs dictionaries described above, one for the Unix bindings and one ! for the Windows bindings. In the future, a better mechanism will be ! provided. --- 72,83 ---- "...Do what you want here..." ! The final piece of the puzzle is the file "config-extensions.def", which is ! used to to configure the loading of extensions and to establish key (or, more ! generally, event) bindings to the virtual events defined in the extensions. ! ! See the comments at the top of config-extensions.def for information. It's ! currently necessary to manually modify that file to change IDLE's extension ! loading or extension key bindings. ! ! For further information on binding refer to the Tkinter Resources web page at ! python.org and to the Tk Command "bind" man page. Index: help.txt =================================================================== RCS file: /cvsroot/idlefork/idle/help.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** help.txt 15 May 2003 18:52:51 -0000 1.9 --- help.txt 16 Jul 2003 21:12:51 -0000 1.10 *************** *** 154,159 **** Python Shell window: ! ^C interrupts executing command ! ^D sends end-of-file; closes window if typed at >>> prompt Command history: --- 154,159 ---- Python Shell window: ! Control-c interrupts executing command ! Control-d sends end-of-file; closes window if typed at >>> prompt Command history: *************** *** 161,166 **** Alt-p retrieves previous command matching what you have typed Alt-n retrieves next ! Return while on any previous command retrieves that command ! Alt-/ (Expand word) is also useful here Syntax colors: --- 161,167 ---- Alt-p retrieves previous command matching what you have typed Alt-n retrieves next ! (These are Control-p, Control-n on the Mac) ! Return while cursor is on a previous command retrieves that command ! Expand word is also useful to reduce typing Syntax colors: From gus.tabares@verizon.net Sat Jul 19 15:46:13 2003 From: gus.tabares@verizon.net (Gus Tabares) Date: Sat, 19 Jul 2003 10:46:13 -0400 Subject: [Idle-dev] Window resize Message-ID: Hello all, I don't want to post a bug on this as it isn't too significant, but has anyone else noticed the IDLE shell window as well as the editor window getting larger when you open to edit a Python script? Is there anyway for the window to remember it's size? I'm using Python2.3rc1 on Windows2000/XP. I've seen this on 3 systems so far. /Gus From jsteve17@tampabay.rr.com Sun Jul 20 00:00:25 2003 From: jsteve17@tampabay.rr.com (Jeff Stephens) Date: Sat, 19 Jul 2003 19:00:25 -0400 Subject: [Idle-dev] Idlefork 0.9b1 - DOS Window Message-ID: <002901c34e49$8a9beec0$7de62341@homeuserp8idhe> This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C34E28.034ECC60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I just started learning Python using Windows XP, Python 2.2.3. When = activating Idlefork, a DOS window comes up, and stays up! Is there anyway to get this DOS = window to=20 terminate once Idlefork has completed loading? Thanks. Regards, Jeff Stephens ------=_NextPart_000_0026_01C34E28.034ECC60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
  I just started learning Python = using Windows=20 XP, Python 2.2.3.  When activating Idlefork,
a DOS window comes up, and stays = up!  Is there=20 anyway to get this DOS window to
terminate once Idlefork has completed=20 loading?  Thanks.
 
Regards,
Jeff = Stephens
------=_NextPart_000_0026_01C34E28.034ECC60-- From s997659@ee.cuhk.edu.hk Sun Jul 20 09:38:50 2003 From: s997659@ee.cuhk.edu.hk (Geiger Ho) Date: Sun, 20 Jul 2003 16:38:50 +0800 (HKT) Subject: [Idle-dev] Idlefork 0.9b1 - DOS Window In-Reply-To: <002901c34e49$8a9beec0$7de62341@homeuserp8idhe> Message-ID: Make the program link to .pyw instead. # Very Interesting Question: # id(a) == id(b) and a is not b --> bug? # from comp.lang.python On Sat, 19 Jul 2003, Jeff Stephens wrote: > I just started learning Python using Windows XP, Python 2.2.3. When activating Idlefork, > a DOS window comes up, and stays up! Is there anyway to get this DOS window to > terminate once Idlefork has completed loading? Thanks. > > Regards, > Jeff Stephens From BobH@hslda.org Mon Jul 21 13:11:54 2003 From: BobH@hslda.org (Bob Hicks) Date: Mon, 21 Jul 2003 08:11:54 -0400 Subject: [Idle-dev] Feature Request Message-ID: It would be nice to be able to clear the python shell buffer. Sometimes I am just testing commands and the buffer gets to the end of the screen and just keeps going line by line but it would be nice to be able to "clear" the buffer and start at the top again. It may already do this. I haven't found how though. Bob Hicks Linden, VA From kbk@shore.net Tue Jul 22 05:04:37 2003 From: kbk@shore.net (Kurt B. Kaiser) Date: Tue, 22 Jul 2003 00:04:37 -0400 Subject: [Idle-dev] Feature Request In-Reply-To: ("Bob Hicks"'s message of "Mon, 21 Jul 2003 08:11:54 -0400") References: Message-ID: "Bob Hicks" writes: > It would be nice to be able to clear the python shell buffer. Sometimes > I am just testing commands and the buffer gets to the end of the screen > and just keeps going line by line but it would be nice to be able to > "clear" the buffer and start at the top again. > > It may already do this. I haven't found how though. Agreed. It's on my list. -- KBK From JWellington@wbta.org Tue Jul 22 10:40:38 2003 From: JWellington@wbta.org (Jim Wellington) Date: Tue, 22 Jul 2003 05:40:38 -0400 Subject: [Idle-dev] Quick question. Message-ID: <200307220940.h6M9end17519@elton.siteprotect.com> --Boundary.generator.IPWorks.v5.MIME.20030722294038.448146164 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Can you help? I am trying to find a good list broker and also need some email appending done. I did a quick search and understand that you provide or might be able to refer me to a good provider. Can you take a second to add this information to our supplier database? I will then follow-up and contact that person. Below is the form. Thank you in advance. Regards, Jim Wellington WBTA "The national association of CEOs and Training Executives" JWellington@wbta.org www.wbta.org IMPORTANT: FIRST OPEN THIS MESSAGE IN A NEW WINDOW (OUTLOOK PREVIEW PANE NOT RECOMMENDED) Service: List Broker Email Appending Other First: Last: Company: Email: Web Site: Phone: --Boundary.generator.IPWorks.v5.MIME.20030722294038.448146164 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Can you help? I am trying to find a good list broker and also need some email appending done. I did a quick search and understand that you provide or might be able to refer me to a good provider. Can you take a second to add this information to our supplier database? I will then follow-up and contact that person. Below is the form. Thank you in advance.

Regards,
Jim Wellington
WBTA "The national association of CEOs and Training Executives"
JWellington@wbta.org
www.wbta.org

IMPORTANT: FIRST OPEN THIS MESSAGE IN A NEW WINDOW
(OUTLOOK PREVIEW PANE NOT RECOMMENDED)

Service:
First:
Last:
Company:
Email:
Web Site:
Phone:
--Boundary.generator.IPWorks.v5.MIME.20030722294038.448146164-- From kbk@users.sourceforge.net Wed Jul 23 18:05:52 2003 From: kbk@users.sourceforge.net (Kurt B. Kaiser) Date: Wed, 23 Jul 2003 10:05:52 -0700 Subject: [Idle-dev] CVS: idle CallTips.py,1.9,1.10 NEWS.txt,1.21,1.22 Message-ID: Update of /cvsroot/idlefork/idle In directory sc8-pr-cvs1:/tmp/cvs-serv906 Modified Files: CallTips.py NEWS.txt Log Message: Python Bug 769142 Daniels Calltip Trimming can error (2.2) or hang (2.3) Index: CallTips.py =================================================================== RCS file: /cvsroot/idlefork/idle/CallTips.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** CallTips.py 31 Dec 2002 15:59:14 -0000 1.9 --- CallTips.py 23 Jul 2003 17:05:50 -0000 1.10 *************** *** 165,170 **** doc = getattr(ob, "__doc__", "") if doc: ! while doc[:1] in " \t\n": ! doc = doc[1:] pos = doc.find("\n") if pos < 0 or pos > 70: --- 165,169 ---- doc = getattr(ob, "__doc__", "") if doc: ! doc = doc.lstrip() pos = doc.find("\n") if pos < 0 or pos > 70: Index: NEWS.txt =================================================================== RCS file: /cvsroot/idlefork/idle/NEWS.txt,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -r1.21 -r1.22 *** NEWS.txt 16 Jul 2003 21:12:51 -0000 1.21 --- NEWS.txt 23 Jul 2003 17:05:50 -0000 1.22 *************** *** 8,11 **** --- 8,13 ---- *Release date: XX-XXX-2003* + - Calltip Trimming can error (2.2) or hang (2.3). Python Bug 769142 Daniels + - Updated extend.txt, help.txt, and config-extensions.def to correctly reflect the current status of the configuration system. Python Bug 768469 From noreply@sourceforge.net Sun Jul 27 19:29:01 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Sun, 27 Jul 2003 11:29:01 -0700 Subject: [Idle-dev] [ idlefork-Bugs-778547 ] UTF-8 mode files won't save with non-ASCII characters Message-ID: Bugs item #778547, was opened at 2003-07-27 11:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=778547&group_id=9579 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: UTF-8 mode files won't save with non-ASCII characters Initial Comment: Changing "Defaulr Source Encoding" to UTF-8 prevents error messages for files with "european characters" (ÄÖÜ). However the file will not save any longer... Remove those characters and saving is o.k. again. Michael Peuser ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=778547&group_id=9579 From noreply@sourceforge.net Sun Jul 27 19:41:28 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Sun, 27 Jul 2003 11:41:28 -0700 Subject: [Idle-dev] [ idlefork-Bugs-778554 ] Window-Deployment possible though blocked by Modal Dialogue Message-ID: Bugs item #778554, was opened at 2003-07-27 11:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=778554&group_id=9579 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Window-Deployment possible though blocked by Modal Dialogue Initial Comment: This happens in Windows, IDLE 9.0b1: Assume two edit windows A and B, B is iconified. You select a modal dialog from A (About or Option) Now A is blocked - this is exspected and visible. But B can overlay those configuration by beeing deployed from iconified state. If this now hides the modal dialogue window the user is absolute confused: B is not moveable! A is not moveable! And the reason can no longer be seen because the modal dialoge is hidden. Michael Peuser ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=778554&group_id=9579 From noreply@sourceforge.net Wed Jul 30 17:49:21 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Wed, 30 Jul 2003 09:49:21 -0700 Subject: [Idle-dev] [ idlefork-Bugs-780346 ] Unable to see Recent Files submenu when "File" menu teared Message-ID: Bugs item #780346, was opened at 2003-07-30 09:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=780346&group_id=9579 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Unable to see Recent Files submenu when "File" menu teared Initial Comment: Using IDLE version 1.0, if you 'tear off' the File menu you are unable to see the Recent Files submenu. Reproduce: 1. Tear off the File Menu, this is done by clicking the dotted line. 2. On the teared off menu, highlight "Recent Files" with the mouse. Observe you are unable to see the sub menu. This has been reproduced/seen on Windows 2000/XP. /Gus ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=780346&group_id=9579 From pcearnings@starmail.com Thu Jul 31 18:43:06 2003 From: pcearnings@starmail.com (pcearnings@starmail.com) Date: Thu, 31 Jul 2003 10:43:06 -0700 Subject: [Idle-dev] Thank you Message-ID: <4123-22003743117436468@OurToy> Thank you for taking your time to read this email=2E=2E=2E it could be benefical for you! I'm a single woman with a limited income=2E I was tired of being broke an= d having money problems so I decided it was time that I did something abou= t that=2E I received mail offers, looked in newspapers, magazines, EVERYW= HERE, trying to find something that I could do from home, but all I found= was someone asking for money for information or if there was money to be = made, I would be lucky if I made pennies per hour=2E I spent good money f= or useless information, I tried some of the work at home ideas=2E=2E=2E=2E= a TOTAL waste of my money and time! I was disappointed, discouraged and very skeptical=2E=2E=2E=2Eready to giv= e up=2E=2E=2E=2Euntil NOW! I found a business that I could do from my home, using my computer and the= INTERNET=2E It doesn't tie up my day--my computer does most of the work-= -allows me spare time to take care of errands, and spend quality=20 time with family and friends=2E =20 It's fun , easy to do and most important - I AM MAKING MONEY! If it's extra income you need, then this could be the answer for you=2E =20 If you're over 18 and a US resident, Just Click "REPLY" =20 Send me your Name, City, State, Complete telephone number, and the best time to contact you=2E =20 I will call you and provide you with all the information that will help yo= u make the decision if this is right for you=2E=2E=2E it's that simple=2E=20 If you would like to be removed from our mailing lists, just reply with "R= emove" in the Subject line=2E From noreply@sourceforge.net Thu Jul 31 22:32:17 2003 From: noreply@sourceforge.net (SourceForge.net) Date: Thu, 31 Jul 2003 14:32:17 -0700 Subject: [Idle-dev] [ idlefork-Bugs-778547 ] UTF-8 mode files won't save with non-ASCII characters Message-ID: Bugs item #778547, was opened at 2003-07-27 11:29 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=778547&group_id=9579 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: UTF-8 mode files won't save with non-ASCII characters Initial Comment: Changing "Defaulr Source Encoding" to UTF-8 prevents error messages for files with "european characters" (ÄÖÜ). However the file will not save any longer... Remove those characters and saving is o.k. again. Michael Peuser ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2003-07-31 14:32 Message: Logged In: NO I noticed the same problem with these characters (in my case they were "à" and "è""). Here is what I get in the shell, when trying to save from Idle: >>> Exception in Tkinter callback Traceback (most recent call last): File "C:\PROGRA~1\Python23\lib\lib-tk\Tkinter.py", line 1345, in __call__ return self.func(*args) File "C:\PROGRA~1\Python23\lib\idlelib\IOBinding.py", line 335, in save if self.writefile(self.filename): File "C:\PROGRA~1\Python23\lib\idlelib\IOBinding.py", line 370, in writefile chars = chars.replace("\n", self.eol_convention) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 365: ordinal not in range(128) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=778547&group_id=9579