[issue19042] Idle: add option to autosave 'Untitled' edit window

2013-09-17 Thread Bruce Sherwood

Bruce Sherwood added the comment:

Very nice, Terry. Good point about positive vs. negative specifications. I 
think maybe your Prompt to Save versus Autosave is the best scheme, because 
one is specifying whether or not to do something active (namely, put up a 
save dialog).

--
nosy: +Bruce.Sherwood

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19042
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8900] IDLE crashes if Preference set to At Startup - Open Edit Window

2013-02-04 Thread Bruce Sherwood

Bruce Sherwood added the comment:

For what it's worth (maybe not much?), the version of IDLE produced by
Guilherme Polo in the 2009 Google Summer of Code, which VPython (vpython.org)
uses under the name VIDLE, does not have any problem with starting with an
edit window and in fact I always use it that way.

Bruce Sherwood

On Mon, Feb 4, 2013 at 8:53 PM, Patrick rep...@bugs.python.org wrote:


 Patrick added the comment:

 I am seeing this as well. It does not repro 100% of the time, but
 frequently enough that its hard to get anything done. My repro is a little
 simpler and might help understanding the fix.

 Win7
 Python 3.3

 I start IDLE normally from the shortcut in the install.
 Ctrl-N to open and edit window.
 Ctrl-O to open a file.
 Select file and then Idle exits.

 As mentioned, using the menu to open the file seems to work more reliably.
 I've not had a crash that way.

 --
 nosy: +Patrick.Walters

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue8900
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8900
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2011-01-03 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

Thanks for the reassurance, Ned. I would be happy to help, but frankly I don't 
know my way around in IDLE very well, and I pretty much tried simply to get 
Polo's changes into the hopper. Presumably if you want a view of the separate 
issues he addressed, you can get some guidance from his GSoC work.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

Yes. After installation, you'll see that Python 3.1 is in
/Library/Frameworks/Python.framework/Versions/3.1

Bruce Sherwood

On Tue, Nov 2, 2010 at 1:45 PM, Éric Araujo rep...@bugs.python.org wrote:

 Éric Araujo mer...@netwok.org added the comment:

 Without typos: Does 3.1 install into a Python3.framework directory?

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue10215
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10215
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

Now I understand what you're getting at; I didn't realize that you were aiming 
at the possible distinction between 3 and 3.1. Yes, this is what bothered me 
and prompted my original posting. Python 3.1 goes into the same framework as 
the 2.x versions.

Incidentally, I did find that in /usr/local/bin (where I had not thought to 
look) there are the following:

python3.1, a link to the framework python3.1
pythonw3.1, a link to the framework pythonw3.1

python3, a link to a framework python3, which is an extra copy (not a link) to 
the framework python3.1
pythonw3, a link to a framework pythonw3, which is a link to the framework 
python3.1

This looks to me pretty contorted, although I suppose the goal was to let 
people either run python (their most recent Python 2.x) or run python3 
(their most recent Python 3.x).

A somewhat related example of confusion is that on Ubuntu 10.10 there is a 
shadowy existence for some python3 that has its own lib folder, in parallel to 
python3.1; the python3 doesn't seem to be simply an alias for python3.1.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10215
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-11-02 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

Thanks for the detailed explanation. What had not occurred to me was to read 
the README file that came with the installer. I made the mistake (that may be 
made by others) of assuming continuity with installer policy, especially since 
the installation location was the same as before.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10215
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-10-27 Thread Bruce Sherwood

New submission from Bruce Sherwood bruce.sherw...@gmail.com:

For Python 2.x on Macs, the installer added PATH code to .profile and switched 
/Library/Framework/Python.framework/Versions/Current to point to the newly 
installed version of Python. Neither of these actions is carried out by the 
3.1.2 installer, and I wonder whether this is intentional or an oversight. 
Also, it's not clear to me what command one could issue in a terminal to 
execute the new Python (you can of course start the new Python from the 
Applications folder).

--
components: Installation
messages: 119731
nosy: Bruce.Sherwood
priority: normal
severity: normal
status: open
title: Mac Python 3.1 installer does less than earlier installers
type: feature request
versions: Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10215
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10196] distutils.get_python_lib() returns /usr/local/python3/dist-packages on Ubuntu 10.10

2010-10-26 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

Correction: distutils.get_python_lib() returns /usr/lib/python3/dist-packages 
(which does exist), while distutils.get_python_inc() returns 
/usr/include/python3.1. I don't understand the shadowy existence of some 
python3 files that are parallel to python3.1 files. But in any case, 
get_python_lib() and get_python_inc() are inconsistent with each other.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10196
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10196] distutils.get_python_lib() returns /usr/local/python3/dist-packages on Ubuntu 10.10

2010-10-25 Thread Bruce Sherwood

New submission from Bruce Sherwood bruce.sherw...@gmail.com:

Using Python 3.1 installed on Ubuntu 10.10 from the package manager, 
distutils.get_python_lib() returns the nonexistent location 
/usr/local/python3/dist-packages instead of the correct location 
/usr/local/python3.1/dist-packages. This subversion bug is not present in 
distutils.get_python_inc(), which correctly returns /usr/include/python3.1.

--
assignee: tarek
components: Distutils
messages: 119590
nosy: Bruce.Sherwood, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: distutils.get_python_lib() returns /usr/local/python3/dist-packages on 
Ubuntu 10.10
type: behavior
versions: Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10196
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10137] Patch to IDLE for Python 2.7, at Guido's request

2010-10-18 Thread Bruce Sherwood

New submission from Bruce Sherwood bruce.sherw...@gmail.com:

At Guido's request, I've carried out the same update to the IDLE
distributed with Python 2.7 that I submitted for Python 3, to incorporate the 
work of Guilherme Polo in the Google Summer of Code 2009. Guido was concerned 
that with significant problems reported for IDLE 2.7, there should be an update 
despite Python 2.7 itself being essentially frozen. The basic structure for 
IDLE 3.2 was carried over. The main changes that had to be made were the change 
in module names between Python 2.7 and Python 3.2 (e.g. Tkinter in 2.7 is 
tkinter in 3.2).

--
components: IDLE
files: idlelib2.7.patch
keywords: patch
messages: 119033
nosy: Bruce.Sherwood
priority: normal
severity: normal
status: open
title: Patch to IDLE for Python 2.7, at Guido's request
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file19263/idlelib2.7.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10137
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10137] Patch to IDLE for Python 2.7, at Guido's request

2010-10-18 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

Perhaps I've used misleadingt terminology. What I meant is that I did
do a diff between IDLE 2.7 and the result of Guilherme Polo's work,
but the latter code started from Python 3 code and was modified as
needed for 2.7 (e.g. renaming tkinter as Tkinter, etc.) before
generating the patch.

Bruce Sherwood

On Mon, Oct 18, 2010 at 11:44 AM, Amaury Forgeot d'Arc
rep...@bugs.python.org wrote:

 Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

 But this patch is a diff between a 2.7 and a 3.2 version of IDLE, isn't it?  
 The tkinter-Tkinter renaming is not supposed to happen in the 2.7 branch.
 Could you instead show a diff between the present version of IDLE in 2.7 and 
 the result of your work, so we can better see the impact of the change?

 --
 nosy: +amaury.forgeotdarc

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue10137
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10137
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-18 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

At Guido's request, I've carried out the same update to the IDLE distributed 
with Python 2.7 that I submitted for Python 3, to incorporate the work of 
Guilherme Polo in the Google Summer of Code 2009. Guido was concerned that with 
significant problems reported for IDLE 2.7, there should be an update despite 
Python 2.7 itself being essentially frozen. The basic structure for IDLE 3.2 
was carried over. The main changes that had to be made to the Polo code were 
the change in module names between Python 2.7 and Python 3.2 (e.g. Tkinter in 
2.7 is tkinter in 3.2). The patch was built from the release27-maint branch. 
Bug report 10137 should now be listed as a duplicate.

--
Added file: 
http://bugs.python.org/file19279/idlelib2.7_from_release27-maint.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10137] Patch to IDLE for Python 2.7, at Guido's request

2010-10-18 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

I've rebuilt and resubmitted this patch to Issue10079 as requested by Ned 
Deily. This issue (10137) can now be labeled a duplicate.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10137
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-17 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

I found a couple of mistakes in the patch I submitted (places where vidle 
should have been idlelib, and which aren't addressed in Ned Deily's patch), 
so I've rebuilt the patch starting from the tag r32a3, which I assume is the 
version from which Ned started.

--
Added file: http://bugs.python.org/file19259/idlelib20101012_from_r32a3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-14 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

Thanks for catching the missing utils.py file. I can explain the 
missing/commented statement in IOBinding.py. I found experimentally that if 
that statement is present, when you open a file on Windows the first line is 
off the top of the display, which can be quite confusing; this bug is not 
present on the Mac, and deleting the statement makes Windows work properly 
without affecting the Mac. The deletion of the statement was the very last 
correction Guilherme Polo made, and I got the correction into the patch I 
submitted but not into a less correct file at vpython.org.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-14 Thread Bruce Sherwood

New submission from Bruce Sherwood bruce.sherw...@gmail.com:

It has just been discovered that at least since Python 2.6 on the Mac, quitting 
IDLE does not prompt to save unsaved code, which is then lost. The recently 
submitted diff for bringing Guilherme Polo's Google Summer of Code improvements 
into IDLE on Python 3 (ID 10079) does not fix the problem.

--
components: IDLE
messages: 118697
nosy: Bruce.Sherwood
priority: normal
severity: normal
status: open
title: Quitting IDLE on Mac doesn't save unsaved code
type: behavior
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10107
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8900] IDLE crashes if Preference set to At Startup - Open Edit Window

2010-10-14 Thread Bruce Sherwood

Bruce Sherwood bruce.sherw...@gmail.com added the comment:

Putting print statements in that part of the world shows that the reason why 
the list.remove fails is that while a ColorDelegator.toggle_colorize_event 
object is in the list, it has a different memory address than the 
ColorDelegator.toggle_colorize_event object to be removed. I've seen this NOT 
fail occasionally (the memory addresses were the same, so the list.remove 
succeeded), all of which would seem to imply that something has moved in memory.

I'll mention that when the failure occurs, the list always has just one object, 
a ColorDelegator.toggle_colorize_event object.

--
nosy: +Bruce.Sherwood

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8900
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-12 Thread Bruce Sherwood

New submission from Bruce Sherwood bruce.sherw...@gmail.com:

It is proposed to incorporate the work of Guilherme Polo in the 2009
Google Summer of Code into idlelib. Polo's enhancements have been
extensively tested for a year through being included with VPython.

Here is a description from NEWS.txt:

In December 2008 David Scherer created an alternative version
of IDLE to fix some long-standing problems. In the 2009 Google
Summer of Code Guilherme Polo continued this work, assisted by
Bruce Sherwood. Important new fixes and features include:

 * A configuration preference that permits writing and running
   test programs from the editor without having to save the file
   (you're warned upon quitting whether to save).

 * Bringing the shell window forward in case of an error (because
   novices often failed to realize why their program had stopped).
 * A revert plug-in (FileRevert.py).

 * Unreliable and slow termination of user program on Windows;
   now you can re-run without first closing the graphics window.

 * Missing preferences and other menus on Macintosh.

 * Use any port for RPC server, so multiple instances of VIDLE
   can run at the same time without interference.

Polo submitted patches at the end of the summer of 2009, found at
code.google.com/p/google-summer-of-code-2009-python/downloads/list
This was for the Python 2.X series.

Because the mechanism was not clear for getting these patches
into the version of IDLE distributed with Python, the patched
version has been distributed with VPython (vpython.org) with
the name VIDLE to attempt to avoid confusion with IDLE. It is
installed into site-packages.

In October 2010 Bruce Sherwood manually applied Polo's patches
to the idlelib found at 
   svn.python.org/projects/python/tags/r312/Lib/idlelib 

In addition to applying Polo's patches, the new code uses the new
dot addressing of modules (e.g. from . import PyShell). Except for
having to change one absolute address in the use of __import__ in
PyShell.py, this version can work either in Python31/Lib/idlelib or
in Python31/Lib/site-packages/vidle. This VIDLE will be included in
the installer for VPython for Python 3.

--
components: IDLE
files: vidle20101012.diff
keywords: patch
messages: 118501
nosy: Bruce.Sherwood
priority: normal
severity: normal
status: open
title: idlelib for Python 3 with Guilherme Polo GSoC enhancements
type: feature request
versions: Python 3.1
Added file: http://bugs.python.org/file19211/vidle20101012.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10079
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com