[issue17390] display python version on idle title bar

2014-08-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___

[issue17390] display python version on idle title bar

2014-08-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6d41f139709b by Terry Jan Reedy in branch '2.7': Issue #17390: Adjust Editor window title. Remove 'Python', move version to end. http://hg.python.org/cpython/rev/6d41f139709b New changeset ba141f9e58b6 by Terry Jan Reedy in branch '3.4': Issue #1739

[issue17390] display python version on idle title bar

2014-07-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that the repeated 'Python x.y.z: " in the listing is too much. #21588 has a patch but I am not ready to push it or do the review and revision needed . So I propose to reduce the current prefix to the minimum needed to know what version F5 will run the

[issue17390] display python version on idle title bar

2014-06-04 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue17390] display python version on idle title bar

2014-06-04 Thread Kent Johnson
Changes by Kent Johnson : -- nosy: -kjohnson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue17390] display python version on idle title bar

2014-06-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't know if this is related but the Window tab has been affect as well. It shows all open windows like this *Python 2.7.7 Shell* Python 2.7.7: demo.py /Users/raymond/class/demo.py Python 2.7.7: download.py /Users/raymond/class/download.py This is

[issue17390] display python version on idle title bar

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since no title format can satisfy everyone, I propose to make it user configurable. The default can be the old style. I opened #21588 for that and marked it high priority. -- priority: high -> normal versions: +Python 3.5 -Python 3.3 _

[issue17390] display python version on idle title bar

2014-05-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I taught a python class this week with Python 2.7.7 and the learners found this change to be an impediment to usability. The filename and fullpath are the most important pieces of information in the title bar. They are now obscured by the version informat

[issue17390] display python version on idle title bar

2014-04-03 Thread Westley Martínez
Westley Martínez added the comment: I second that the title should start with the filename, by default. This seems to be the precedent, and it makes it easy when working with multiple files. Example: xxx.py - IDLE x.y.z: C:\mydir\xxx.py Terry, I think we can generalize this as ' - : ' and ap

[issue17390] display python version on idle title bar

2014-04-03 Thread bagrat lazaryan
bagrat lazaryan added the comment: terry, i indeed didn't know about output windows. (or at least i didn't know i knew. by the way, what are they?) the logic behind my request is that the file being edited in the editor is the most important thing of the editor. a quick glance at the taskbar,

[issue17390] display python version on idle title bar

2014-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The general issue of Idle title bars is definitely not finished, though I may close this issue and open others. 1. 'Python' versus "Idle' versus neither in titles (assuming not both). 1a. Shell: Since the link in msg183874 is dead, I don't know what Bagrat su

[issue17390] display python version on idle title bar

2014-04-02 Thread Ezio Melotti
Ezio Melotti added the comment: Other editors (e.g. Kate) use the format "filename - editor name". This is common for other applications as well (e.g. Firefox uses "page title - Mozilla Firefox"), so the request seems reasonable to me. If you want to go the extra mile you could have an option

[issue17390] display python version on idle title bar

2014-04-02 Thread bagrat lazaryan
bagrat lazaryan added the comment: terry, i'm on 7 but i have my taskbar configured not to combine buttons. see the screenshot attached. (does anyone know why on earth i am not receiving email notifications when someone posts to an issue i have started or i have commented to?) -- Adde

[issue17390] display python version on idle title bar

2014-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bagrat, are you on XP by any chance? In Win7, all windows for a program are attached to one program icon on the taskbar, which has the program name. When I hover over the program icon, mini views of each window are displayed, with each window view showing abou

[issue17390] display python version on idle title bar

2014-04-02 Thread bagrat lazaryan
bagrat lazaryan added the comment: guys, the filename should be the first thing on the titlebar of idle editor window. that way, on taskbar, one can see the file that's open in editor. i suggest the format of editor's title be changed to: xxx.py - python x.y.z - path or whatever you will as sep

[issue17390] display python version on idle title bar

2014-03-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: As far as I can tell, there are 4 window classes to be concerned with. (Dialogs would be a separate issue.) EditorWindow |- PyShellEditorWindow - EW+breakpoints, replaces WE in PyShellFileList |- OutputWindow - used by Find in Files |- PyShell - the visible

[issue17390] display python version on idle title bar

2014-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: That looks like a sensible approach. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue17390] display python version on idle title bar

2014-02-26 Thread Westley Martínez
Westley Martínez added the comment: How about adding an optional argument to OutputWindow that specifies the title for the window? Or would this be more suitable for EditorWindow (which OutputWindow inherits from)? Either way, doing this would allow any OutputWindow to specify its own title.

[issue17390] display python version on idle title bar

2014-02-26 Thread Westley Martínez
Changes by Westley Martínez : -- nosy: +westley.martinez ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue17390] display python version on idle title bar

2014-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Edmond and Kent, thanks for the patch. Ezio, thanks for re-opening. After testing the patch with and without 'Editor', I preferred without. It is slightly redundant and noisy, especially when editing EditorWindow.py ;-). Also, Windows 7 stacks icons for windo

[issue17390] display python version on idle title bar

2014-01-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset bcfbab86f49a by Terry Jan Reedy in branch '2.7': Issue #17390: Add Python version to Idle editor window title bar. http://hg.python.org/cpython/rev/bcfbab86f49a New changeset b26db63bb931 by Terry Jan Reedy in branch '3.3': Issue #17390: Add Python

[issue17390] display python version on idle title bar

2014-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume the OP only cared about the Shell Window, and that was fixed. I agree that submitted patches should not be ignored. I have decided I really want editor windows labelled as sometimes run the *same* file with more than one version, and it can be difficu

[issue17390] display python version on idle title bar

2014-01-22 Thread Ezio Melotti
Ezio Melotti added the comment: Why this issue has been closed even though people were still discussing it and submitting patches? Terry, can you check if the new patches should be applied? -- stage: needs patch -> patch review status: closed -> pending ___

[issue17390] display python version on idle title bar

2014-01-08 Thread bagrat lazaryan
Changes by bagrat lazaryan : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17390] display python version on idle title bar

2013-04-13 Thread Kent Johnson
Kent Johnson added the comment: issue17390_editor_title.patch is not correct, it changes the title on any window that inherits from EditorWindow, including the shell window. Here is a new patch that changes short_title() instead of saved_change_hook(), so it can be overridden by derived classe

[issue17390] display python version on idle title bar

2013-04-07 Thread Roger Serwy
Roger Serwy added the comment: Issue10747 is tangentially related. It is about adding the python version to the short cuts on Windows. -- ___ Python tracker ___

[issue17390] display python version on idle title bar

2013-04-02 Thread Edmond Burnett
Edmond Burnett added the comment: Here is a patch to add a more descriptive title to the IDLE editor. Python Editor: - -- Added file: http://bugs.python.org/file29657/issue17390_editor_title.patch ___ Python tracker

[issue17390] display python version on idle title bar

2013-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you find the place where the editor title is set? I am currently thinking of something like Python x.y.z: xxx.py (directory path) # or Python x.y.z Editor: xxx.y (path) I am guessing that the reason to put the file name at the beginning is in case the p

[issue17390] display python version on idle title bar

2013-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 74d9a9507019 by Terry Jan Reedy in branch '3.3': Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett. http://hg.python.org/cpython/rev/74d9a9507019 New changeset e0f66c924544 by Terry Jan Reedy in branch 'default': Merge

[issue17390] display python version on idle title bar

2013-03-30 Thread Edmond Burnett
Edmond Burnett added the comment: Terry, I submitted my contributor form on March 15th, and received the confirmation, but it has not yet been applied to my account. I saw some discussion on one of the mailing lists of there being a potential backlog due to the PyCon sprints, so I just assum

[issue17390] display python version on idle title bar

2013-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Edmond: please fill in, sign, and send by your preferred method a PSF Contributor Agreement http://www.python.org/psf/contrib/contrib-form/ (back up a level for more explanation) For a patch more complicated than this, the CA would now be required before apply

[issue17390] display python version on idle title bar

2013-03-23 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17390] display python version on idle title bar

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: I think it's safe to apply this patch to 2.7/3.2/3.3/3.4. -- ___ Python tracker ___ ___ Python-bugs-li

[issue17390] display python version on idle title bar

2013-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have been planning to test and commit some version of this patch after PEP434 is resolved, as I would like to backport it at least to 2.7 and 3.3. The only thing that could break is some esoteric application that looks at window title bars from outside and l

[issue17390] display python version on idle title bar

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: The 0 in "{0}" can be omitted, otherwise patch looks good to me. I agree that the architecture is not necessary. -- nosy: +ezio.melotti stage: needs patch -> commit review ___ Python tracker

[issue17390] display python version on idle title bar

2013-03-16 Thread Edmond Burnett
Edmond Burnett added the comment: Updated patch to conform to PEP3101 -- Added file: http://bugs.python.org/file29425/issue17390.patch ___ Python tracker ___

[issue17390] display python version on idle title bar

2013-03-16 Thread Edmond Burnett
Changes by Edmond Burnett : Added file: http://bugs.python.org/file29426/issue17390.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17390] display python version on idle title bar

2013-03-16 Thread Edmond Burnett
Changes by Edmond Burnett : Removed file: http://bugs.python.org/file29425/issue17390.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue17390] display python version on idle title bar

2013-03-16 Thread Edmond Burnett
Changes by Edmond Burnett : Removed file: http://bugs.python.org/file29404/idle_shell_version_display-3.4.0a0.patch ___ Python tracker ___ __

[issue17390] display python version on idle title bar

2013-03-14 Thread bagrat lazaryan
bagrat lazaryan added the comment: good. thank you. i'm not sure about the architecture. i understand it's not crucial for most of the users. i would like to have it though. -- ___ Python tracker

[issue17390] display python version on idle title bar

2013-03-13 Thread Edmond Burnett
Edmond Burnett added the comment: Suggesting a patch which addresses this enhancement. I did not include architecture() in the title bar but can add it as well if others think it is appropriate. Import of platform.python_version is done at the top of PyShell.py rather than inside the class a

[issue17390] display python version on idle title bar

2013-03-11 Thread bagrat lazaryan
bagrat lazaryan added the comment: or better still: ... from platform import python_version, architecture shell_title = "Python %s %s Shell" % (python_version(), architecture()[0]) ... -- ___ Python tracker __

[issue17390] display python version on idle title bar

2013-03-11 Thread bagrat lazaryan
bagrat lazaryan added the comment: ... class PyShell(OutputWindow): import platform version = platform.python_version() + " " + platform.architecture()[0] shell_title = "Python %s Shell" % version ... (PyShell.py) i'll take a look at the devguide and see if i can figure a patch out.

[issue17390] display python version on idle title bar

2013-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. Sometimes when I have multiple IDLE windows open I have to scroll back to the top to make sure which one I am in. I suggest: Python x.y Shell for shell window I am not sure, for edit window: currently xxx.py -- /xxx.py I am not sure the redundancy is n

[issue17390] display python version on idle title bar

2013-03-10 Thread Éric Araujo
Éric Araujo added the comment: Sounds like a good idea to me. Would you like to propose a patch? The devguide contains information to do that. Hint: sys.version is not meant to be parsed, there is sys.version_info for that (no regex needed! :) -- keywords: +easy nosy: +eric.araujo,

[issue17390] display python version on idle title bar

2013-03-10 Thread bagrat lazaryan
New submission from bagrat lazaryan: useful for those who routinely use different versions of python on idle. as it ships, idle displays "python shell" on its title bar. it would be useful to have there the version displayed as well. see http://bagratte.blogspot.it/2013/03/display-python-vers