[issue35782] Missing whitespace after comma in randrange raise error

2019-01-19 Thread Louie Lu
Louie Lu added the comment: I previously close this issue is because not sure if someone rely on exception string to do something, should we consider this? -- ___ Python tracker <https://bugs.python.org/issue35

[issue35782] Missing whitespace after comma in randrange raise error

2019-01-18 Thread Louie Lu
Change by Louie Lu : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35782> ___ ___ Python-bugs-list

[issue35782] Missing whitespace after comma in randrange raise error

2019-01-18 Thread Louie Lu
New submission from Louie Lu : In random.py:randrange File "/usr/lib/python3.7/random.py", line 200, in randrange raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width)) ValueError: empty range for randrange() (3,3, 0) should be "

[issue13802] IDLE font settings: use multiple character sets in examples

2017-10-12 Thread Louie Lu
Louie Lu <m...@louie.lu> added the comment: PR 3960 display on my Linux works well, and the combination of the Chinese characters has no political controversial. But it is lack of simplify characters, the only one is '汉', others are all traditional characters (or they are same i

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread Louie Lu
Louie Lu <m...@louie.lu> added the comment: the format of usage is do at argparse.py:296. So how do we format this kind of situation, to be like this, if the group also too long? usage: test.py [-h] [-v | -q | -x [X] | -y [Y] | Z | Z | Z | Z | Z | Z |

[issue31752] Assertion failure in timedelta() in case of bad __divmod__

2017-10-11 Thread Louie Lu
Louie Lu <m...@louie.lu> added the comment: I got a different result in latest commit: eeb5ffd54e5 ➜ cpython git:(master) ✗ ./python test.py Traceback (most recent call last): File "test.py", line 15, in timedelta(hours=BadInt(1)) SystemError: returned NULL without sett

[issue31329] Add idlelib module entry to doc

2017-09-04 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- nosy: +louielu ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31329> ___ ___ Python

[issue31327] bug in dateutil\tz\tz.py

2017-09-04 Thread Louie Lu
Louie Lu added the comment: Using macOS and Linux can't reproduce this problem, both platform return this output: >>> import time >>> time.localtime(-3600) time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=7, tm_min=0, tm_sec=0, tm_wday=3, tm_yday=1, tm_isdst=0

[issue31331] IDLE: Move prompts with input.

2017-09-04 Thread Louie Lu
Louie Lu added the comment: Or the output should be: >>> from threading import Timer >>> Timer(0.1, lambda: print('hello'), ()).start() >>> 'hello' >>> -- ___ Python tracker <rep...@bugs.python.

[issue31331] IDLE: Move prompts with input.

2017-09-04 Thread Louie Lu
Louie Lu added the comment: minimum reproduce: >>> from threading import Timer >>> Timer(0.1, lambda: print('hello'), ()).start() >>> 'hello' a = ( 12, --- And the expect output should be something like: >>> from threading impor

[issue31244] Shortcuts bug in Python IDLE

2017-08-22 Thread Louie Lu
Louie Lu added the comment: Hi, so you are using Windows built-in IEM with Ukrainian input method. And in this situation, you cannot use Ctrl+Z, Ctrl+V ..etc. right? -- nosy: +louielu ___ Python tracker <rep...@bugs.python.org>

[issue29910] Ctrl-D eats a character on IDLE

2017-08-07 Thread Louie Lu
Louie Lu added the comment: da..., Terry reverts this soon. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29910> ___ ___ Pyth

[issue29910] Ctrl-D eats a character on IDLE

2017-08-07 Thread Louie Lu
Louie Lu added the comment: After bisecting, commit 213ce12adfc9281c6f381bb45d132e9de8ffd450 cause calltip can't close when type to `)` at the end. for example: print('blablalbalba') ^ show ^ didn't tipclose tip -- nosy: +louielu

[issue31139] Improve tracemalloc demo code in docs

2017-08-07 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +3053 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31139> ___ __

[issue31139] Improve tracemalloc demo code in docs

2017-08-07 Thread Louie Lu
New submission from Louie Lu: Current tutorial of tracemalloc: https://docs.python.org/3/library/tracemalloc.html Current doc using a un-reproducible output, that will confuse the reader. Propose to use the test code `allocate_bytes` to control the memory usage output, provide more meaningful

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-08-03 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +3033 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30723> ___ __

[issue31051] IDLE, configdialog, General tab: re-arrange, test user entries

2017-08-02 Thread Louie Lu
Louie Lu added the comment: I don't like the name "gentab". There is a "genobject.c" in source code but stand for "generator object". In the code, both docstring and the name didn't mention "General", it only mention at `note.add(self.genpage, 'General

[issue31051] IDLE, configdialog, General tab: re-arrange, test user entries

2017-08-01 Thread Louie Lu
Louie Lu added the comment: This may relate to #31050, I would like to propose to change the name `GenTab` to `GeneralTab`. `GenTab` is ambiguous to `GenerateTab` in the first glimpse. How do you think, Terry and Cheryl ? -- ___ Python tracker <

[issue30997] TestCase.subTest and expectedFailure

2017-07-23 Thread Louie Lu
Louie Lu added the comment: I'm successful to add a sub.expectedFailure() to subTest, but in current API, it isn't that will done. First, you will not get any alarm or information that there is a test been treat as "expected failure" at the result text. Second, it just act like y

[issue30997] TestCase.subTest and expectedFailure

2017-07-23 Thread Louie Lu
Louie Lu added the comment: There is a mailing-list discusss this before: https://mail.python.org/pipermail/python-list/2016-June/710575.html But after checking, current subTest contextmanager won't yield subtest, so the method of with self.subTest() as sub won't work. Another problem

[issue30997] TestCase.subTest and expectedFailure

2017-07-23 Thread Louie Lu
Louie Lu added the comment: So for example: for i in range(10): with self.subTest(i=i): DoSomething(i) we have some platform specific in i=8, i=9, and you want to labeled as expectedFailure. Do I miss something? -- nosy: +louielu

[issue19903] Idle: Use inspect.signature for calltips

2017-07-23 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2874 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19903> ___ __

[issue12910] urllib.quote quotes too many chars, e.g., '()'

2017-07-21 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- title: urrlib.quote quotes too many chars, e.g., '()' -> urllib.quote quotes too many chars, e.g., '()' ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-20 Thread Louie Lu
Louie Lu added the comment: For the problem about the small name in git log Author, if you want to changed it, it will need to setup at https://github.com/settings/profile and update the first column "Name". I think this is because we merged on GitHub, and GitHub ignores the

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-19 Thread Louie Lu
Louie Lu added the comment: Yes, Terry's patch fixed this. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30968> ___ ___ Pyth

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-19 Thread Louie Lu
Louie Lu added the comment: After checking source code, I found that is my fault on the test code. After the blocker PR 2754 been merged, I'll fix this issue. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30917] IDLE: Add idlelib.config.IdleConf unittest

2017-07-18 Thread Louie Lu
Louie Lu added the comment: PR 2754 changed it to use `read_string`. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30917> ___ __

[issue30917] IDLE: Add idlelib.config.IdleConf unittest

2017-07-18 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2813 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30917> ___ __

[issue30960] Python script is failing to run

2017-07-18 Thread Louie Lu
Louie Lu added the comment: Your information isn't that clear, this is what I found on the Internet: https://techglimpse.com/error-executing-python3-5-command-solution/ https://unix.stackexchange.com/questions/17863/py3compile-error-unable-to-get-the-locale-encoding Maybe your environment

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

2017-07-17 Thread Louie Lu
Louie Lu added the comment: Besides warping text, there has a performance issue inside the RPCServer and Client. The (console, write, (text, file), {}) command is sent by server `asynccall`->`putmessage`. It should be sent by chunk size to client, and render on IDLE shell. The res

[issue18875] Idle: Auto insertion of the closing parens, brackets, and braces

2017-07-17 Thread Louie Lu
Louie Lu added the comment: Charles, good to saw the patch, would you like to convert it into GitHub PR? also, it would have to adjust some coding style to satisfy PEP8. I can help you on GitHub to review this patch. -- nosy: +louielu ___ Python

[issue30953] Fatal python error when jumping into except clause

2017-07-17 Thread Louie Lu
Louie Lu added the comment: You will need to use `dis` to see what actually done by bytecode. $ ./python -m dis tests.py Disassembly of : 9 0 SETUP_EXCEPT 4 (to 6) 10 2 POP_BLOCK 4 JUMP_FORWARD12 (to 18) 11 >>6 P

[issue30934] Document how to run coverage for repository idlelib files.

2017-07-17 Thread Louie Lu
Louie Lu added the comment: I update how to prepare coverage on Linux and MacOS. I first thought user will prepare as Terry wrote at the top of `5. Test Coverage`. Cheryl's method is good, the update guide is borrow from here. First create a virtualenv, then install coverage via pip in venv

[issue30944] Python 32 bit install fails on Windows - BitDefender false positives

2017-07-17 Thread Louie Lu
Louie Lu added the comment: I think BitDefender has some option like "disable 10 mins"? You may disable your antivirus when you are install something you be sure that is trustworthy. Or maybe BitDefender is right, you download a wrong .msi from other place that has been insert som

[issue30934] Document how to run coverage for repository idlelib files.

2017-07-16 Thread Louie Lu
Louie Lu added the comment: Upload the Linux/MacOS version of coverage usage. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30934] Document how to run coverage for repository idlelib files.

2017-07-16 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2794 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30934> ___ __

[issue30934] Document how to run coverage for repository idlelib files.

2017-07-14 Thread Louie Lu
Louie Lu added the comment: After merging this one, I can provide the version of Linux and MacOS. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30874] unittest execute tests twice in some conditions

2017-07-14 Thread Louie Lu
Louie Lu added the comment: On my MacOS with python 3.5.2 get this result: ➜ unittest-1 git:(master) ✗ python3 setup.py test running test running egg_info writing dependency_links to Test_1.egg-info/dependency_links.txt writing top-level names to Test_1.egg-info/top_level.txt writing Test_1

[issue30917] IDLE: Add idlelib.config.IdleConf unittest

2017-07-13 Thread Louie Lu
Louie Lu added the comment: After this unittest is merged, I would like to first cleanup config.py source code, then modify it more general way. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30917] IDLE: Add idlelib.config.IdleConf unittest

2017-07-13 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2755 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30917> ___ __

[issue30917] IDLE: Add idlelib.config.IdleConf unittest

2017-07-13 Thread Louie Lu
New submission from Louie Lu: Add idlelib.config.IdleConf unittest. -- assignee: terry.reedy components: IDLE messages: 298266 nosy: louielu, terry.reedy priority: normal severity: normal status: open title: IDLE: Add idlelib.config.IdleConf unittest versions: Python 3.6, Python 3.7

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-11 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2732 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30870> ___ __

[issue30900] IDLE: Fix configdialog should use wm_withdraw

2017-07-11 Thread Louie Lu
Louie Lu added the comment: Hmmm, I think it is a mistake of my test, it is something inside configdialog __init__ make unittest can't do event_generate, but not this one `self.withdraw`. -- resolution: -> not a bug stage: -> resolved status: open -&g

[issue30901] "503 HTTP ERROR" on attempt to access some points of python library documentation

2017-07-11 Thread Louie Lu
Louie Lu added the comment: Can reproduce this problem in Chromium 59.0.3071, it seems affect every selectable version in docs.python.org. Also, devguide has some page down, too. * devguide: https://docs.python.org/devguide/triaging.html -- nosy: +louielu type: resource usage

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-11 Thread Louie Lu
Louie Lu added the comment: configdialog misuse `self.withdraw` at init, it should be `self.wm_withdraw`, #30900 fix this problem. After that, it should be a success to use event_generate in configdialog unittest with no `self.withdraw

[issue30900] IDLE: Fix configdialog should use wm_withdraw

2017-07-11 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2729 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30900> ___ __

[issue30900] IDLE: Fix configdialog should use wm_withdraw

2017-07-11 Thread Louie Lu
New submission from Louie Lu: Introduce in #30728, commit bac7d3363b099d, `self.wm_withdraw` has been changed into `self.withdraw`. This make #30870 un-testable since it using `self.withdraw` will block out `event_generate`. This issue revert `self.widthdraw` to `self.wm_withdraw

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-11 Thread Louie Lu
Louie Lu added the comment: It seem setUpModule will smash out the test, I've add a trust-will-work test inside the test_configdialog.py: class Test(unittest.TestCase): def setUp(self): self.root = tkinter.Tk() def test_test(self): self.root.bind('', lambda x: print

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-11 Thread Louie Lu
Louie Lu added the comment: It just get wierd, I can't do event_generate with Terry, too. Attach poc.py that should print out a 'testing', but it didn't. -- Added file: http://bugs.python.org/file47006/tests.py ___ Python tracker <

[issue30899] IDLE: Add idle config parser unittest

2017-07-11 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2727 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30899> ___ __

[issue30899] IDLE: Add idle config parser unittest

2017-07-11 Thread Louie Lu
New submission from Louie Lu: Add IdleConfParser and IdleUserConfParser unittest. -- assignee: terry.reedy components: IDLE messages: 298126 nosy: louielu, terry.reedy priority: normal severity: normal status: open title: IDLE: Add idle config parser unittest versions: Python 3.7

[issue30890] IDLE: Input method error in comment with Korean language

2017-07-10 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- title: Comment error in Korean language -> IDLE: Input method error in comment with Korean language ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue30890] Comment error in Korean language

2017-07-10 Thread Louie Lu
Louie Lu added the comment: I'm using Arch Linux with HIME input method, and using 3.7a0 Python. But I can't reproduce your problem in Korean input. Could you provide how to type in the sentence in your picture? (Roman or the stroke maybe) and your environment? thanks. -- nosy

[issue30890] Comment error in Korean language

2017-07-10 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- type: crash -> behavior ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30890> ___ ___

[issue15862] IDLE: startup problem when HOME does not exist

2017-07-09 Thread Louie Lu
Louie Lu added the comment: Terry: How about to support XDG base directory on Unix[1]? [1]: https://wiki.archlinux.org/index.php/XDG_Base_Directory_support -- nosy: +louielu ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue8231] Unable to run IDLE without write-access to home directory

2017-07-09 Thread Louie Lu
Louie Lu added the comment: How about only taking warning when not able to create dir at GetUserCfgDir(), then take the permission handler in other place? e.g. when user trying to save the config in bad dir, pop-out a dialog to tell it is permission problem or dir not eixsts...etc

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2017-07-07 Thread Louie Lu
Louie Lu added the comment: Serhiy: Or would it be to detect the user language environment, and come up with user language example sentence? What I remember that Windows font preview will change the sentence in the different language. -- ___ Python

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2017-07-07 Thread Louie Lu
Louie Lu added the comment: Add the string with pangram and chinese, now sample text shows: AaBbCcDdEe FfGgHhIiJjK 1234567890 #:+=(){}[] The quick brown fox jumps over the lazy dog. [1] 南去經三國,東來過五湖 [2] -- [1]: https://en.wikipedia.org/wiki

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-07 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2683 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30870> ___ __

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-07 Thread Louie Lu
New submission from Louie Lu: Add event for KeyRelease-Up and KeyRelease-Down to change sample font. Current code only changed font when using button-click on listbox. -- assignee: terry.reedy components: IDLE messages: 297867 nosy: louielu, terry.reedy priority: normal severity

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2017-07-07 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2682 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13802> ___ __

[issue30869] regrtest: Add .idlerc to saved_test_environment

2017-07-06 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2679 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30869> ___ __

[issue30869] regrtest: Add .idlerc to saved_test_environment

2017-07-06 Thread Louie Lu
New submission from Louie Lu: In bpo #30780, there is a mistake of tearDownModule didn't restore the use rCfg. To prevent future mistake, Adding .idlerc to regrtest saved_test_environment, so that `--fail-env-changed` option can detect .idlerc been changed in IDLE test. -- components

[issue30422] Add roadmap.txt section to idlelib

2017-06-28 Thread Louie Lu
Louie Lu added the comment: Terry: I'm on idle-dev, the bi-weekly sprint I said isn't only one time, I mean about each bi-weekly. I'm ok with concentrate on multiple improvements of one component. -- ___ Python tracker <rep...@bugs.python.

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-06-28 Thread Louie Lu
Louie Lu added the comment: I'm trying to add the test on configdialog, currently working on KeysTest. -- nosy: +louielu ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue29926] IDLE: in shell, time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- assignee: -> terry.reedy components: +IDLE -Library (Lib) title: time.sleep ignores _thread.interrupt_main() -> IDLE: in shell, time.sleep ignores _thread.interrupt_main() ___ Python

[issue29926] time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Louie Lu
Louie Lu added the comment: Based on Martin's patch, I slightly changed the logic for the patch. So, I add a `finish` flag to detect the code in Executive.runcode is done or not. `interrupt_the_server` will first SIGINT via interrupt_main, if this doesn't work after 0.2 seconds

[issue29926] time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2520 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29926> ___ __

[issue29926] time.sleep ignores _thread.interrupt_main()

2017-06-28 Thread Louie Lu
Louie Lu added the comment: Other operation which will block the process will do the same as time.sleep(), too. >>> import socket >>> s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) >>> s.bind(('', 25000)) >>> s.recv(100)

[issue24039] Idle: some modal dialogs maximize, don't minimize

2017-06-27 Thread Louie Lu
Louie Lu added the comment: The bugs can be reproduce on MacOS, when click the minimize button, the search dialog will be minimize, then pop up to front again. The preference dialog have the same behavior on MacOS, but debugger dialog won't. And, Goto dialog will minimize with IDLE shell

[issue30422] Add roadmap.txt section to idlelib

2017-06-27 Thread Louie Lu
Louie Lu added the comment: Terry: For question 1, I think we can mark out the value point of the part in your roadmap.txt which we have more priority to fixed first, then get a bi-weekly (maybe) sprint to fixed one part. -- ___ Python tracker

[issue30784] IDLE: seperate editor window and text

2017-06-26 Thread Louie Lu
New submission from Louie Lu: Currently, IDLE EditorWindow was mixed with the GUI skeleton and text area, and the other plugin such as hyperparser was operate on editwin. Such a design let IDLE is difficult to changed its GUI design, from new window to new tab style. If we seperate

[issue20703] RuntimeError caused by lazy imports in pdb

2017-06-26 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue20703] RuntimeError caused by lazy imports in pdb

2017-06-26 Thread Louie Lu
Louie Lu added the comment: The lazy import cause by two modules, readline and _bootlocale. readline: in __init__ try: import readline readline.set_completer_delims(' \t\n`@#$%^&*()=+[{]}\\|;:\'",<>?') _bootlocale: in __init__ with open(os.path.join(e

[issue30429] bdb and pdb: Add watchpoint function

2017-06-26 Thread Louie Lu
Louie Lu added the comment: @xdegaye, would you like to review this PR? thanks. -- nosy: +xdegaye ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30761] pdb: Add step / next count arguments

2017-06-26 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2446 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30761> ___ __

[issue30761] pdb: Add step / next count arguments

2017-06-26 Thread Louie Lu
New submission from Louie Lu: This propose to add *count* times on step and next instruction in pdb. step [count] next [count] User can use `next [count]` to run next *count* times, or `step [count]` to run step *count* times, until it countdown, or occure a breakpoint. Similar

[issue30756] ttk: GUI tests fail on Ubuntu

2017-06-25 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- components: +Tkinter title: GUI tests fail on Ubuntu -> ttk: GUI tests fail on Ubuntu ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-21 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- nosy: +haypo ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30726> ___ ___ Python-bugs

[issue30722] Tools/demo/redemo.py broken

2017-06-21 Thread Louie Lu
Louie Lu added the comment: Also, would you like to contribute with PR on GitHub? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30722] Tools/demo/redemo.py broken

2017-06-21 Thread Louie Lu
Louie Lu added the comment: Hi Christoph, chould you provide a small example that breaks the regex demo? thanks! -- nosy: +louielu ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30422] Add roadmap.txt section to idlelib

2017-06-20 Thread Louie Lu
Louie Lu added the comment: Terry, how do you think about the roadmap? I have two component that I think it should be put on the roadmap. 1. the goto/search/replace dialog to single-window app (#30521, #27115) >From internal diagram (https://i.imgur.com/1WZwakQ.png) it seem to >

[issue5680] Command-line arguments when running in IDLE

2017-06-20 Thread Louie Lu (old)
Changes by Louie Lu (old) <g...@louie.lu>: -- pull_requests: +2353 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5680> ___ __

[issue30674] IDLE: add docstrings to grep.py

2017-06-16 Thread Louie Lu
Louie Lu added the comment: On Linux, it stick to the top-right of the IDLE, that says I can't reproduce the bump-out at the bottom :( -- nosy: +louielu ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-16 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2287 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30523> ___ __

[issue30678] Widget variable binding does not work if mainloop is called from a different function

2017-06-16 Thread Louie Lu
Louie Lu added the comment: Sorry, but I can't see the different between your first and second code. On my Linux, it all set to check the box when it run up. Do I miss anything? -- nosy: +louielu ___ Python tracker <rep...@bugs.python.org>

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-15 Thread Louie Lu
Louie Lu added the comment: Serhiy and Victor suggest moving this option to regrtest. open a new PR 2238 addressed this. Also, because moving into regrtest, some test that used `requires` will need to pass option when using it. e.g.: $ ./python -m test test.test_curses --list-cases

[issue30523] unittest: add --list-tests option to only display the list of test names, don't run tests

2017-06-15 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2283 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30523> ___ __

[issue30675] test_zipfile leaks references on Python 3.5 on the wo Refleaks buildbots (Gentoo, Windows)

2017-06-15 Thread Louie Lu
Louie Lu added the comment: $ git checkout upstream/3.5 $ make -j8 $ ./python.exe -m test -R 3:3 test_zipfile [1/1] test_zipfile beginning 6 repetitions 123456 .. 1 test OK. That is a pass on my macOS with upstream/3.5 -- nosy: +louielu

[issue694339] IDLE: Dedenting with Shift+Tab

2017-06-15 Thread Louie Lu
Louie Lu added the comment: PR 2210 add the smart-dedent to shift-tab in Windows, macOS, Linux. I can't saw <> nor <> in 3.7 (master) source code, so I'll take it as removed in IDLE somewhere else. -- nosy: +louielu versions: +Python 3.7 __

[issue694339] IDLE: Dedenting with Shift+Tab

2017-06-15 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2254 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue694339> ___ __

[issue30348] IDLE: Add test_autocoplete unittest

2017-06-15 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2253 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30348> ___ __

[issue30348] IDLE: Add test_autocoplete unittest

2017-06-15 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- title: IDLE: Add fetch completions and get entity unittest -> IDLE: Add test_autocoplete unittest ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue30632] IDLE: add unittests to test_autocomplete

2017-06-14 Thread Louie Lu
Louie Lu added the comment: This is a duplicate of #30348, I forgot there has a exists PR. I'll combine them and finish left 5 unittest in #30348. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tra

[issue30664] Change unittest's _SubTest to not sort its params when printing test failures

2017-06-14 Thread Louie Lu
Louie Lu added the comment: Additional note, the order will changed it random way in ChainMap, e.g.: >>> for k, v in ChainMap({'a': 0, 'b': 1, 'c': 2}, {'b': 3, 'a': 4}).items(): >>> print(k, v) ... a 0 c 2 b 1 -restart >>> for k, v in ChainMap({'a':

[issue30664] Change unittest's _SubTest to not sort its params when printing test failures

2017-06-14 Thread Louie Lu
Louie Lu added the comment: I think the question will be, when using multiple subTest (this is why using ChainMap I think), how to determine their order?: with self.subTest(c=i, b=i, a=i): with self.subTest(b=i, c=50, a=60): self.assertEqual(i, 2) >>> FAIL:

[issue7676] IDLE shell shouldn't use TABs

2017-06-14 Thread Louie Lu
Louie Lu added the comment: In #30663, I add the line number sidebar to editor window. I've attempted to do the same in pyshell, something different that need to concern is the indent prompt showing. -- nosy: +louielu ___ Python tracker <

[issue30663] IDLE: Add lineno sidebar to editor window

2017-06-14 Thread Louie Lu
Changes by Louie Lu <m...@louie.lu>: -- pull_requests: +2233 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30663> ___ __

[issue30663] IDLE: Add lineno sidebar to editor window

2017-06-14 Thread Louie Lu
New submission from Louie Lu: In #7676, the desired pattern request from Terry is to create a sidebar and show the prompt in the sidebar. To complete the request, this patch add the lineno sidebar in editor window , to prove that the sidebar in IDLE is feasible. The different in pyshell

[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-06-13 Thread Louie Lu
Louie Lu added the comment: Terry, would you like to verify the fixed? I think it will be good if this fix can be backported in 3.6 before 3.6.2 released. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

  1   2   3   4   >