[issue22460] idle editor: replace all in selection

2014-09-29 Thread bagrat lazaryan
bagrat lazaryan added the comment: replacing across multiple files is something i personally considered too fancy for idle, but that's a great feature. the same goes for smart selections like selecting multiline statements. if they don't contradict idle's simplicity ideology they are great

[issue22460] idle editor: replace all in selection

2014-09-22 Thread bagrat lazaryan
New submission from bagrat lazaryan: say, for renaming a variable in a block of code, or in a function, or renaming a method name in a class, etc. nothing fancy here, a button in the replace dialog will do. i think the proposed functionality is needed much more often than the currently

[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 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

[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

[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2014-04-02 Thread bagrat lazaryan
bagrat lazaryan added the comment: well... ElementTree.py imports some c accelerators as can be seen at the end of the file. i have no idea how to get to those accelerators, and even if i had, i don't think i would make anything of them. as far as the pure python code concerns in the rest

[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2014-04-02 Thread bagrat lazaryan
Changes by bagrat lazaryan bagra...@live.com: -- versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20198 ___ ___ Python-bugs

RE: imperative mood in docstrings

2014-02-13 Thread bagrat lazaryan
thank you all! bagratte -- https://mail.python.org/mailman/listinfo/python-list

imperative mood in docstrings

2014-02-09 Thread bagrat lazaryan
pep 257 -- docstring conventions, as well as a myriad of books and other resources, recommend documenting a function's or method's effect as a command (do this, return that), not as a description (does this, returns that). what's the logic behind this recommendation? bagratte --

[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2014-01-08 Thread bagrat lazaryan
New submission from bagrat lazaryan: xml.etree.ElementTree.ElementTree.write method (and, as a derivative, xml.etree.ElementTree.tostring function) sorts attributes in lexical order. while an admissible behavior instead of the randomness inherited from ordinary dict, this prevents a picky

[issue17390] display python version on idle title bar

2014-01-08 Thread bagrat lazaryan
Changes by bagrat lazaryan bagra...@live.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17390

[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 rep...@bugs.python.org http://bugs.python.org

[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-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 rep...@bugs.python.org http

[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