From noreply at sourceforge.net Sat Apr 5 17:28:26 2008 From: noreply at sourceforge.net (SourceForge.net) Date: Sat, 05 Apr 2008 08:28:26 -0700 Subject: [Idle-dev] [ idlefork-Bugs-1935440 ] nDLBTAHYNhTHGSaPC Message-ID: Bugs item #1935440, was opened at 2008-04-05 08:28 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=1935440&group_id=9579 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: nDLBTAHYNhTHGSaPC Initial Comment: bNP75U hi nice site thanks http://peace.com ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935440&group_id=9579 From noreply at sourceforge.net Sat Apr 5 22:34:08 2008 From: noreply at sourceforge.net (SourceForge.net) Date: Sat, 05 Apr 2008 13:34:08 -0700 Subject: [Idle-dev] [ idlefork-Bugs-1935632 ] SJDZeZaBC Message-ID: Bugs item #1935632, was opened at 2008-04-05 13:34 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=1935632&group_id=9579 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: SJDZeZaBC Initial Comment: bMjkwm http://googlaaaa.com/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935632&group_id=9579 From noreply at sourceforge.net Mon Apr 7 22:50:25 2008 From: noreply at sourceforge.net (SourceForge.net) Date: Mon, 07 Apr 2008 13:50:25 -0700 Subject: [Idle-dev] [ idlefork-Bugs-1935632 ] SJDZeZaBC Message-ID: Bugs item #1935632, was opened at 2008-04-05 16:34 Message generated for change (Settings changed) made by kbk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935632&group_id=9579 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Deleted Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: SJDZeZaBC Initial Comment: bMjkwm http://googlaaaa.com/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935632&group_id=9579 From noreply at sourceforge.net Mon Apr 7 22:50:25 2008 From: noreply at sourceforge.net (SourceForge.net) Date: Mon, 07 Apr 2008 13:50:25 -0700 Subject: [Idle-dev] [ idlefork-Bugs-1935440 ] nDLBTAHYNhTHGSaPC Message-ID: Bugs item #1935440, was opened at 2008-04-05 11:28 Message generated for change (Settings changed) made by kbk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935440&group_id=9579 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Deleted Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: nDLBTAHYNhTHGSaPC Initial Comment: bNP75U hi nice site thanks http://peace.com ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935440&group_id=9579 From noreply at sourceforge.net Tue Apr 8 12:48:18 2008 From: noreply at sourceforge.net (SourceForge.net) Date: Tue, 08 Apr 2008 03:48:18 -0700 Subject: [Idle-dev] [ idlefork-Bugs-1935440 ] nDLBTAHYNhTHGSaPC Message-ID: Bugs item #1935440, was opened at 2008-04-05 19:28 Message generated for change (Comment added) made by nashev You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935440&group_id=9579 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Deleted Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: nDLBTAHYNhTHGSaPC Initial Comment: bNP75U hi nice site thanks http://peace.com ---------------------------------------------------------------------- Comment By: Nashev (nashev) Date: 2008-04-08 14:48 Message: Logged In: YES user_id=1122782 Originator: NO Is any body here to work as spam filter or moderator? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935440&group_id=9579 From noreply at sourceforge.net Tue Apr 8 12:51:23 2008 From: noreply at sourceforge.net (SourceForge.net) Date: Tue, 08 Apr 2008 03:51:23 -0700 Subject: [Idle-dev] [ idlefork-Bugs-1935440 ] nDLBTAHYNhTHGSaPC Message-ID: Bugs item #1935440, was opened at 2008-04-05 19:28 Message generated for change (Comment added) made by nashev You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935440&group_id=9579 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Deleted Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: nDLBTAHYNhTHGSaPC Initial Comment: bNP75U hi nice site thanks http://peace.com ---------------------------------------------------------------------- Comment By: Nashev (nashev) Date: 2008-04-08 14:51 Message: Logged In: YES user_id=1122782 Originator: NO hm... status "deleted", but isue is continue be visible by link... ---------------------------------------------------------------------- Comment By: Nashev (nashev) Date: 2008-04-08 14:48 Message: Logged In: YES user_id=1122782 Originator: NO Is any body here to work as spam filter or moderator? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109579&aid=1935440&group_id=9579 From devsfan1830 at gmail.com Mon Apr 14 05:25:31 2008 From: devsfan1830 at gmail.com (James Duffy) Date: Sun, 13 Apr 2008 23:25:31 -0400 Subject: [Idle-dev] Im in desperate need of help with IDLE and wxWidgets Message-ID: <000001c89ddf$3223e460$966bad20$@com> Ok, my issue is this. Overall I need to make a program that spawns a GUI with two list boxes. It will receive an XML file with variables and their data, parse it, and store these variables. It stores the names in one array and their values in another. The program will then set the contents of the list boxes to these arrays, thus creating a constantly updating display of variables and values. I have the parser and storage working, but when I introduce a GUI into the mix things go awry. I made a simple GUI using wxGlade. I run the script it generates and I get the GUI window. However it freezes IDLE and I can't enter any commands into it(IDLE) as I need to do this to call my xmlRead function to start the parse. When I close the GUI window, IDLE crashes. Sometimes when I run the GUI script, it crashes out right. Right now I'm very lost as I'm really a rookie with Linux and have just this year learned the basics of Python. I really need some help figuring out how to get this stuff to run smoothly. FYI I'm running Ubuntu 7.10. Let me know if u need any specifics but keep in mind I'm a little "Linux challenged" so I really appreciate it if u can take the time to give me a dumbed down explanation of what I might do to fix things. I will be willing to try an entirely alternate design. My goal is simply getting these arrays up on a screen(but not using IDLE to do it). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/idle-dev/attachments/20080413/7eb9f763/attachment.htm From symion at primusonline.com.au Sat Apr 12 12:20:34 2008 From: symion at primusonline.com.au (Symion) Date: Sat, 12 Apr 2008 19:50:34 +0930 Subject: [Idle-dev] IDLE bugs Message-ID: <48008CF2.8040201@primusonline.com.au> IDLE bugs: I am running Windows XP Pro on a 1.6 Ghz AMD processor, with Python Version 2.5.2, Vpython Version 24.2 and IDLE 1.2.2 Have the following bugs been fixed in the latest IDLE incarnation? Bug 1. Function keys F9 through F12 remain active While python script is still running! F9 I don't know what this does! except introduce a delay between input and response! F10 gives access to IDLE menu (when in IDLE window) but only causes a loss of user input and the consumption of valuable Keys when python script is running! F11 I can't figure out what this does! But it has the effect of (occasionally) inserting a chr(8) character into input stream during python keyboard input! F12 Do nothing! but can be reassigned with IDLE config. Bug 2. When editing in IDLE, a critical loss of indentation format can be recovered by the following method! ctrl+home ## move to top of script ## repeat the following 3 keystrokes end ## jump to end of line delete ## join lines enter ## restore indentation ## until the end of script Repeating this sequence for every line of code will restore the indentation of your program... Well *almost*! Except for the *ELSE* & *ELIF* statements! When IDLE encounters these instructions it loses the plot (indentation that is). It does not move to the correct level, thereby failing to restore the correct program interpretation. This produces code with bad syntax: Example: Start with no indentation. if if elif else elif Apply IDLE parser. (end,delete,enter) if if elif else elif Can not have *else* followed by *elif* Should be: if if elif else elif or if if else else Can not have *else* followed by *else* Should be: if if else else or if if else elif Should be: if if else elif Bug 3. Similar to Bug 2, but involves function definition 'Def'. When reconstructing python files that have lost indentation, the following key sequences should restore the correct indentation. ctrl+home end delete enter When these 3 keystrokes are repeated for every line of code, the program should be restored... But when a 'Def' instruction is encountered, the end of the function carries over to the next line of code, so that an unwanted indentation is inserted. Example: Start with no indentation. Def myfunction(): return True Def otherfunction(): Return False Apply IDLE's Parser (end,delete,enter) Def myfunction(): return True Def otherfunction(): Return False Should be: Def myfunction(): return True Def otherfunction(): Return False Bug 4. When entering remarks behind hash marks, the use of the ')' character causes the bell to ring. As though a close bracket warning had happened! This is a trivial thing but still... Bug 5. This isn't really a bug, but it bugs me! So I'll include it here. I like using IDLE as a convenient text editor that has slick tabulation, but... The right mouse key drops down a neat menu with breakpoint set unset! What I really need is cut, copy & paste! As well as breakpoint control. That would be my wish list for IDLE. If these bugs have been addressed then which Version should I download? Symion 2008:April:12:Saturday -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/idle-dev/attachments/20080412/f32e3baf/attachment.htm From taleinat at gmail.com Mon Apr 14 10:32:31 2008 From: taleinat at gmail.com (Tal Einat) Date: Mon, 14 Apr 2008 11:32:31 +0300 Subject: [Idle-dev] Im in desperate need of help with IDLE and wxWidgets In-Reply-To: <000001c89ddf$3223e460$966bad20$@com> References: <000001c89ddf$3223e460$966bad20$@com> Message-ID: <7afdee2f0804140132u6dbf1778r481390ffdc7f905f@mail.gmail.com> James Duffy wrote: > > Ok, my issue is this. Overall I need to make a program that spawns a GUI > with two list boxes. It will receive an XML file with variables and their > data, parse it, and store these variables. It stores the names in one array > and their values in another. The program will then set the contents of the > list boxes to these arrays, thus creating a constantly updating display of > variables and values. I have the parser and storage working, but when I > introduce a GUI into the mix things go awry. I made a simple GUI using > wxGlade. I run the script it generates and I get the GUI window. However it > freezes IDLE and I can't enter any commands into it(IDLE) as I need to do > this to call my xmlRead function to start the parse. When I close the GUI > window, IDLE crashes. Sometimes when I run the GUI script, it crashes out > right. Right now I'm very lost as I'm really a rookie with Linux and have > just this year learned the basics of Python. I really need some help > figuring out how to get this stuff to run smoothly. FYI I'm running Ubuntu > 7.10. Let me know if u need any specifics but keep in mind I'm a little > "Linux challenged" so I really appreciate it if u can take the time to give > me a dumbed down explanation of what I might do to fix things. I will be > willing to try an entirely alternate design. My goal is simply getting these > arrays up on a screen(but not using IDLE to do it). Hi James, welcome to the IDLE list :) Congratulations on your move to Linux! Do note that all of the tools you are using - Python, IDLE, wxPython - are all cross-platform. Both your work environment and the program you are writing should work just the same on Windows, OSX, and most UNIX/Linux flavors. The major problem here is that using IDLE along with wxPython is problematic. The problem is that IDLE uses a different GUI library - Tkinter (which is Tcl/Tk wrapped for Python). Tkinter and wxPython don't play along nicely at all, one of the reasons being that each uses its own event loop. My advice here is not to use IDLE's shell to run or test your application - run your app directly from the shell. (Editing the code from IDLE won't give you any trouble, of course.) If you really want to use a more feature-rich Python interpreter than the command-line interpreter, instead of IDLE's shell try IPython or PyCrust, which integrate nicely with wxPython. (IPython needs to be configured appropriately for this, PyCrust works out of the box.) You could also try asking the guys on the wxPython users list (wxpython-users /AT/ lists.wxwidgets.org) who are more experienced with this type of issue and will be glad to help you out. Good luck! - Tal From serwy at uiuc.edu Sun Apr 27 07:38:38 2008 From: serwy at uiuc.edu (Roger Serwy) Date: Sun, 27 Apr 2008 00:38:38 -0500 Subject: [Idle-dev] Where to send patches? Message-ID: <4814115E.1050401@uiuc.edu> Hi Everybody, I wrote a patch to make PyShell's input behave more like a "shell window", where up/down key strokes go through the command history and all text input is sent to the current command line. Who should I send this to? Regards, RDS -- Roger D. Serwy Graduate Student, Electrical Engineering University of Illinois at Urbana-Champaign Urbana, IL 61801 e-mail: serwy at uiuc.edu http://www.ews.uiuc.edu/~serwy From taleinat at gmail.com Sun Apr 27 10:18:06 2008 From: taleinat at gmail.com (Tal Einat) Date: Sun, 27 Apr 2008 11:18:06 +0300 Subject: [Idle-dev] Where to send patches? In-Reply-To: <4814115E.1050401@uiuc.edu> References: <4814115E.1050401@uiuc.edu> Message-ID: <7afdee2f0804270118m6fd99225y91a7ebf20ecd8b03@mail.gmail.com> Roger Serwy wrote: > Hi Everybody, > > I wrote a patch to make PyShell's input behave more like a "shell window", > where up/down key strokes go through the command history and all text input > is sent to the current command line. Who should I send this to? > Hi Roger, welcome to the IDLE mailing list! The first thing is to with a patch is to discuss it with this list :) Changing IDLE's interface so that the arrow keys scroll through the history can be done in the configuration dialog: Options -> Configure IDLE ... -> Keys. However, moving the cursor around the window is very useful and much more intuitive for novice programmers, so we want this to be the default behavior. FYI, if the cursor is on a line/block of previously run code, pressing Enter will copy/paste the code into the current command line, and pressing Enter once more will run it again as-is. As for the change that all text input be redirected to the current command line - where in the command line? Always the end? Explaining what kind of behavior you want, and why, before sending a patch could save some work for all of us. In any case, if/when you want to submit a patch, you can submit the patch to the CPython issue tracker at bugs.python.org. Just register a user there (if you don't have one), then select "New Issue" under "Issues" in the navigation bar. Give the issue an informative name, something with "IDLE" in it which describes your patch's purpose, and please also select IDLE in the Components box. You can then also write to this mailing list if you want some people to try it out and discuss it. - Tal From roger.serwy at gmail.com Sun Apr 27 20:13:15 2008 From: roger.serwy at gmail.com (Roger Serwy) Date: Sun, 27 Apr 2008 13:13:15 -0500 Subject: [Idle-dev] Where to send patches? In-Reply-To: <7afdee2f0804270118m6fd99225y91a7ebf20ecd8b03@mail.gmail.com> References: <4814115E.1050401@uiuc.edu> <7afdee2f0804270118m6fd99225y91a7ebf20ecd8b03@mail.gmail.com> Message-ID: <4814C23B.50607@gmail.com> Hi Everybody, I submitted the patch to bugs.python.org under ID 2704. "IDLE: Patch to make PyShell behave more like a Terminal interface". Hopefully I can justify why these changed are needed. This patch tries to make the PyShell behavior approach Terminal-like behavior in two ways, but still preserving some old behavior. Firstly, if the cursor is after the "iomark", then PyShell will behave like an expected terminal, where up/down scrolls through the command history. However, if the cursor should leave the command line area, then it will behave as it does now. The cursor can leave the command line area by pressing Pg-Up, or Pg-Down, clicking somewhere else in the window, or by pressing Left-Arrow" at the start of the command line. This is different from rebinding the keys using the Options->Configure Idle->Keys because if the cursor is anywhere on the window, pressing up or down will place the cursor back at the command line. That rebinding "breaks" the ability to use the arrow keys to find a line in the PyShell window and press enter to copy it. Secondly, if the PyShell window has focus, then keyboard letter/number input should be sent to the command line. The ModifiedUndoDelegator ignores keys when the cursor is before the iomark. Instead it should place the cursor at the end of the command line and insert the key press there. This is expected of a terminal. Too often I find myself switching between Editor windows and the PyShell window with the mouse, and unless I bring focus to PyShell by clicking the title bar or the command line area, the cursor moves somewhere else in the window and PyShell ignores me. I hope that this wasn't too much information. I really want to help make IDLE a more powerful Python editor, but still keep it simple. Best, RDS Tal Einat wrote: > Roger Serwy wrote: > >> Hi Everybody, >> >> I wrote a patch to make PyShell's input behave more like a "shell window", >> where up/down key strokes go through the command history and all text input >> is sent to the current command line. Who should I send this to? >> >> > > Hi Roger, welcome to the IDLE mailing list! > > The first thing is to with a patch is to discuss it with this list :) > > > Changing IDLE's interface so that the arrow keys scroll through the > history can be done in the configuration dialog: Options -> Configure > IDLE ... -> Keys. However, moving the cursor around the window is very > useful and much more intuitive for novice programmers, so we want this > to be the default behavior. FYI, if the cursor is on a line/block of > previously run code, pressing Enter will copy/paste the code into the > current command line, and pressing Enter once more will run it again > as-is. > > As for the change that all text input be redirected to the current > command line - where in the command line? Always the end? Explaining > what kind of behavior you want, and why, before sending a patch could > save some work for all of us. > > > In any case, if/when you want to submit a patch, you can submit the > patch to the CPython issue tracker at bugs.python.org. Just register a > user there (if you don't have one), then select "New Issue" under > "Issues" in the navigation bar. Give the issue an informative name, > something with "IDLE" in it which describes your patch's purpose, and > please also select IDLE in the Components box. You can then also write > to this mailing list if you want some people to try it out and discuss > it. > > - Tal > _______________________________________________ > IDLE-dev mailing list > IDLE-dev at python.org > http://mail.python.org/mailman/listinfo/idle-dev > >