[issue26568] Add a new warnings.showwarnmsg() function taking a warnings.WarningMessage object

2017-12-20 Thread irdb
Change by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26568> ___ ___ Python

[issue19495] context manager for measuring duration of blocks of code

2017-05-20 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19495> ___ ___ Python

[issue30024] Treat `import a.b.c as m` as `m = sys.modules['a.b.c']`

2017-04-09 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30024> ___ ___ Python

[issue14551] imp.load_source docs removed from python3 docs...is this correct?

2017-02-21 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14551> ___ ___ Python

[issue29459] `__contains__` and `get` methods for match objects?

2017-02-06 Thread irdb
New submission from irdb: __getitem__ was added to match objects as a resolution of issue24454. Wouldn't it be nice to also have `__contains__` and `get` methods for match objects? Is it even feasible to implement them in neat way? They should work similar to dictionaries, i.e: ``` match

[issue14965] super() and property inheritance behavior

2017-02-04 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14965> ___ ___ Python

[issue10399] AST Optimization: inlining of function calls

2017-01-29 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10399> ___ ___ Python

[issue17301] An in-place version of many bytearray methods is needed

2017-01-03 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17301> ___ ___ Python

[issue1647489] zero-length match confuses re.finditer()

2016-11-05 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1647489> ___ ___ Python

[issue2506] Add mechanism to disable optimizations

2016-10-25 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2506> ___ ___ Python

[issue1602] windows console doesn't print or input Unicode

2016-10-22 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1602> ___ ___ Python

[issue24454] Improve the usability of the match object named group API

2016-10-06 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24454> ___ ___ Python

[issue9618] IDLE shell ignores all but first statement

2016-07-20 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9618> ___ ___ Python

[issue18766] IDLE: Autocomplete in editor doesn't work for un-imported modules

2016-05-02 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18766> ___ ___ Python

[issue26728] make pdb.set_trace() accept debugger commands as arguments and run them after entering the debugger

2016-04-10 Thread irdb
New submission from irdb: I usually insert the following line in the middle of code to start the debugger from there: import pdb; pdb.set_trace() More often than not, I need to run some commands immediately after entering the debug mode, e.g. watch (display) some variables, create some

[issue5150] IDLE to support reindent.py

2016-02-13 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5150> ___ ___ Python

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2016-02-13 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2704> ___ ___ Python

[issue694339] IDLE: Dedenting with Shift+Tab

2016-02-13 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue694339> ___ ___ Python

[issue13504] Meta-issue for "Invent with Python" IDLE feedback

2016-02-13 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13504> ___ ___ Python

[issue22742] IDLE shows traceback when printing non-BMP character

2015-12-06 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22742> ___ ___ Python

[issue21084] IDLE can't deal with characters above the range (U+0000-U+FFFF)

2015-12-06 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21084> ___ ___ Python

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2015-12-06 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13153> ___ ___ Python

[issue23220] Documents input/output effects of how IDLE runs user code

2015-12-03 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23220> ___ ___ Python

[issue25522] IDLE: warn if save-as name matches stdlib name

2015-11-27 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25522> ___ ___ Python

[issue7676] IDLE shell shouldn't use TABs

2015-11-19 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7676> ___ ___ Python

[issue10972] zipfile: add "unicode" option to the force the filename encoding to UTF-8

2015-09-11 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10972> ___ ___ Python

[issue10614] ZipFile: add a filename_encoding argument

2015-09-11 Thread irdb
Changes by irdb <electro@gmail.com>: -- nosy: +irdb ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10614> ___ ___ Python

[issue15348] IDLE - shell becomes unresponsive if debugger windows is closed while active.

2015-06-23 Thread irdb
Changes by irdb electro@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15348 ___ ___ Python-bugs-list mailing list

[issue24455] IDLE debugger causes crash if not quitted properly before next run

2015-06-15 Thread irdb
New submission from irdb: # Open a module using IDLE # Run the module (Press F5) # Activate the debugger ([DEBUG ON]) # Set a breakpoint in the module # Run the module again # Run the module for the third time # Hit the Quit button in Debug Control window (twice, as the first click appears

[issue24455] IDLE debugger causes crash if not quitted properly before next run

2015-06-15 Thread irdb
Changes by irdb electro@gmail.com: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24455 ___ ___ Python-bugs-list mailing list

[issue24448] Syntax highlighting marks multiline comments as strings

2015-06-14 Thread irdb
New submission from irdb: It has been suggested by BDFL to use triple-quoted strings as multiline comments.[1] Allegedly, some editors already makes a distinction between these kind of comments and docstring and highlight them differently. It would be nice if IDLE could also highlight

[issue219960] Problems with Tcl/Tk and non-ASCII text entry

2015-06-08 Thread irdb
Changes by irdb electro@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue219960 ___ ___ Python-bugs-list mailing list

[issue24090] Add a copy variable to clipboard option to the edit menu

2015-05-01 Thread irdb
New submission from irdb: I suggest adding a Copy variable to clipboard menu option to the edit menu of IDLE. Sometimes I need to copy a variable to clipboard, but because the variable is so long, printing it in the IDLE window makes IDLE sluggish and then selecting and copying the printed

[issue6143] IDLE - an extension to clear the shell window

2015-05-01 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6143 ___ ___ Python-bugs-list mailing list

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

2015-05-01 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19042 ___ ___ Python-bugs-list mailing list

[issue1442493] IDLE shell window gets very slow when displaying long lines

2015-05-01 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1442493 ___ ___ Python-bugs-list mailing list

[issue19625] IDLE 2.7 should use UTF-8 as it's default encoding

2015-04-29 Thread irdb
irdb added the comment: Although in Python 3 IDLE can indeed print UTF-8 characters. But still sys.stdout.encoding == locale.getpreferredencoding() != 'utf-8'. sys.stdout.encoding 'cp1256' Shouldn't it be 'utf-8'? -- ___ Python tracker rep

[issue19625] IDLE 2.7 should use UTF-8 as it's default encoding

2015-04-29 Thread irdb
irdb added the comment: On cmd and powershell: python -c import sys; print(sys.getdefaultencoding()); utf-8 python -c import sys; print(sys.stdout.encoding); cp720 In IDLE: import sys; print(sys.getdefaultencoding()); utf-8 sys.stdout.encoding 'cp1256

[issue22408] Tkinter doesn't handle Unicode dead key combinations on Windows

2015-04-27 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22408 ___ ___ Python-bugs-list mailing list

[issue3286] IDLE opens window too low on Windows

2015-04-25 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3286 ___ ___ Python-bugs-list mailing list

[issue4823] idle height and place

2015-04-25 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4823 ___ ___ Python-bugs-list mailing list

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-04-19 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16893 ___ ___ Python-bugs-list mailing list

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2015-03-19 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17535 ___ ___ Python-bugs-list mailing list

[issue433030] SRE: Atomic Grouping (?...) is not supported

2014-12-24 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue433030 ___ ___ Python-bugs-list mailing list

[issue1178] IDLE - add paste code functionality

2014-12-01 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1178 ___ ___ Python-bugs-list mailing list

[issue3559] Pasted \n not same as typed \n

2014-12-01 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3559 ___ ___ Python-bugs-list mailing list

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-07-03 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16296 ___ ___ Python-bugs-list mailing list

[issue21612] IDLE should not open multiple instances of one file

2014-06-01 Thread irdb
irdb added the comment: Yes, I am right-clicking the file through Windows Explorer as in some situations it seems much faster. (Opening through IDLE's file menu in a particular process works fine) If this is supposed to be so please close the issue. Although I don't understand why one would

[issue21612] IDLE should should not open multiple instances of one file

2014-05-30 Thread irdb
New submission from irdb: Currently users can open multiple instances of one file in IDLE. Sometimes this leads to confusion and may cause loss of data. I'm not aware of any benefits of this behavior and I think it's better to be prevented by IDLE. Here are the steps to recreate the situation

[issue21612] IDLE should not open multiple instances of one file

2014-05-30 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- title: IDLE should should not open multiple instances of one file - IDLE should not open multiple instances of one file ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21612

[issue15809] IDLE console uses incorrect encoding.

2013-11-17 Thread irdb
irdb added the comment: Well, if there is no other way around this, I think it's better to apply Martin's patch. At least then we will be able to enter any valid utf-8 character in IDLE (although print statement won't print correctly unless the string is decoded first). (As a Windows user

[issue15809] IDLE console uses incorrect encoding.

2013-11-17 Thread irdb
irdb added the comment: Thank you Serhiy for working on this. This patch solves the problem when all your input characters are encodable using system preferred encoding. But issue19625 persists. I still can't print something like 'Русский текст' in interactive mode. Another problem

[issue19625] IDLE should use UTF-8 as it's default encoding

2013-11-16 Thread irdb
New submission from irdb: s = 'ی' Unsupported characters in input I'm using windows 8 and Python 2.7.6. The same line works perfectly if I save it in a module with encoding set to UTF-8; but it's really annoying that I can't test my code directly in IDLE. -- components: IDLE

[issue1519638] Unmatched Group issue - workaround

2013-09-16 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1519638 ___ ___ Python-bugs-list mailing list

[issue18875] Automatic insertion of the closing parentheses, brackets, and braces

2013-08-29 Thread irdb
New submission from irdb: Many other IDE's have this feature that allows automatic insertion of closing parentheses as user is typing something. I think it saves time and increases programming speed. Is it possible to have this on IDLE, too? -- components: IDLE messages: 196456 nosy

[issue15809] IDLE console uses incorrect encoding.

2013-08-21 Thread irdb
irdb added the comment: Sorry, it's probably has the same problem as what Martin suggested. Although I think it's better than having program interrupted. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15809

[issue15809] IDLE console uses incorrect encoding.

2013-08-21 Thread irdb
irdb added the comment: Oops! My problem is that I get Unsupported characters in input when trying to type any Unicode string in IDLE's interactive mode. e.g. a simple command like: s = u'Русский текст' gives: Unsupported characters in input Probably unrelated to the issue at hand. I don't

[issue15809] IDLE console uses incorrect encoding.

2013-08-21 Thread irdb
irdb added the comment: I really think this information might help, if not, I promise not to post anything else. :) This is a sample program I run: ''' # -*- coding: utf-8 -*- import sys import locale de = sys.getdefaultencoding() pd = locale.getpreferredencoding() print de, pd s1 = 'سلام

[issue17348] Unicode - encoding seems to be lost for inputs of unicode chars in IDLE

2013-08-20 Thread irdb
Changes by irdb dalba.w...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17348 ___ ___ Python-bugs-list mailing list