[issue13654] IDLE: Freezes and/or crash on SyntaxWarning... is used prior to global declaration

2011-12-22 Thread Marco Scataglini
New submission from Marco Scataglini atlant...@gmx.com: Writing the following code in the IDLE module/scriptneditor and then running it (F5) will momentarily freeze without giving the expected warning message (SyntaxWarning: name 'GLOBAL1' is used prior to global declaration

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2011-12-20 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: Well I checked 'SearchBar' IDLE extension and is not bad... has some minor bugs, nothing major just very very minor quirky behavior, but nothing that seems to impair functionality AFAIK. It should be cleaned up and added to release in place

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2011-12-18 Thread Marco Scataglini
New submission from Marco Scataglini atlant...@gmx.com: Found text does not show at all highlighted on some text colors (like green and orange) when using the find button in the replace dialog box when box is open/visible. Then when dialog box is closed it will highlight the found text

[issue13586] IDLE: Replace selected not working/consistent with find

2011-12-18 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: Thank you Roger find_keep_open.patch works, but now that brings me to issue13630 that I thought was existing, and now this confirms it. -- ___ Python tracker rep...@bugs.python.org http

[issue13586] IDLE: Replace selected not working/consistent with find

2011-12-17 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: To check on 3.2 I installed a fresh Python 3.2.1.1 on Win7 x86 32bit and it has the same problem. So this issues is valid on 2.7.2.1 and 3.2.1.1 I --dry-run Roger patch on both 2.7 and 3.2 with no errors or warnings messages and after

[issue13506] IDLE sys.path does not contain Current Working Directory

2011-12-17 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: I test Roger patch on 2.7.2.1 and 3.2.1.1 fresh installs on Win7 Pro 32bit and I confirm it is fixing the issue and it also keeps the existing correct behavior. - Note: - I had to apply the patch with GNU patch: Tortoise

[issue13586] IDLE: Replace selected not working/consistent with find

2011-12-17 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: To follow on Terry thought, I think find dialog box should stay open when 'Find' button is pressed, since there is a 'close' button to close it. That would also be a more accepted behavior similar to all the other editors I know

[issue13586] IDLE: Replace selected not working/consistent with find

2011-12-16 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: Win 7 Pro 32bit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13586 ___ ___ Python-bugs

[issue13586] Replace selected not working/consistent with find

2011-12-11 Thread Marco Scataglini
New submission from Marco Scataglini atlant...@gmx.com: Entering the Replace dialog (by ctrl+h or from Edit/Replace... menu) with a selection does not auto-magically have the selected text in the find field. This is not consistent with the other find functions (ctrl+f: Find...; alt+F3: Find

[issue2057] difflib: add patch capability

2011-12-05 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: I agree with Anatoly that it should be an easy way to create and apply Unified Diff Patches within Python. Also issue 2142 should get fixed, as proposed, but also include the fix at least on 2.7 not only on 3.x -- nosy: +marco

[issue13506] IDLE sys.path does not contain Current Working Directory

2011-12-04 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: At first I did no see the difference on preserving the existing correct behavior and fixing the issue between the two patches... and I thought less is more, so mine was better... But, I checked again and by: ... running a python script

[issue13506] IDLE sys.path does not contain Current Working Directory

2011-11-29 Thread Marco Scataglini
New submission from Marco Scataglini atlant...@gmx.com: The IDLE shell sys.path does not contains any entry for the Current Working Directory ('' or '.' or '.\'); without it, when changing the CWD with os.chdir(), the shell cannot find, execute or import scripts or module in it. I can start

[issue13506] IDLE sys.path does not contain Current Working Directory

2011-11-29 Thread Marco Scataglini
Changes by Marco Scataglini atlant...@gmx.com: -- nosy: +kbk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13506 ___ ___ Python-bugs-list mailing

[issue13506] IDLE sys.path does not contain Current Working Directory

2011-11-29 Thread Marco Scataglini
Marco Scataglini atlant...@gmx.com added the comment: ... I think it could be fixed by adding sys.path.insert(0,) on the # process sys.argv and sys.path: section in PyShell.py after (~about) line 1383 sys.path.insert(0, dir) sys.path.insert(0,)HERE # check