[issue37134] Use PEP570 syntax in the documentation

2019-06-04 Thread Grant Jenks
Grant Jenks added the comment: Pablo, I never intended disrespect toward you personally. And I am sorry my words came across that way. I would rather the feature be one of Python's more esoteric qualities. I think Carol has described the most reasonable way forward. And in particular, I

[issue37134] [EASY] Use PEP570 syntax in the documentation

2019-06-03 Thread Grant Jenks
Grant Jenks added the comment: FWIW, I would rather not see the docs littered with "/". I've taught Python to hundreds of professional software engineers over the last five years and in all that time nobody has ever asked when the args need to be positional. It's easy to experime

[issue34055] IDLE: erroneous 'smart' indents in shell

2019-01-02 Thread Grant Jenks
Grant Jenks added the comment: This issue was closed but I still see the problem in 3.7.2. Here's a snippet with line numbers from IDLE: 01 Python 3.7.2 (default, Dec 30 2018, 08:59:00) 02 [Clang 9.1.0 (clang-902.0.39.2)] on darwin 03 Type "help", "copyright", &

[issue35196] IDLE text squeezer is too aggressive and is slow

2018-12-16 Thread Grant Jenks
Change by Grant Jenks : -- nosy: +grantjenks ___ Python tracker <https://bugs.python.org/issue35196> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34549] unittest docs could use another header

2018-09-03 Thread Grant Jenks
Change by Grant Jenks : -- nosy: +grantjenks ___ Python tracker <https://bugs.python.org/issue34549> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34445] asyncio support in doctests

2018-08-30 Thread Grant Jenks
Grant Jenks added the comment: This is not a bug in Python. The SyntaxError matches expected behavior. According to the Python grammar, you can't have "await" outside of a function. You have "await" at the globals scope which is not permitted. You may only "awa

[issue14841] os.get_terminal_size() should check stdin as a fallback

2018-08-21 Thread Grant Jenks
Grant Jenks added the comment: I asked on the ncurses maintainers email list about their logic and was pointed to tty_settings.c which checks: 1. stderr 2. stdout 3. stdin 4. open('/dev/tty', 'r+') I don't know a cross-platform way to check #4 but I think #1-3 are a reasonable change

[issue34055] IDLE inserts extra blank line in prompt after SyntaxError

2018-07-05 Thread Grant Jenks
New submission from Grant Jenks : IDLE inserts an extra blank line after the prompt after encountering a SyntaxError: ``` >>> 1 + 2 3 >>> print('Hello') Hello v-- Missing single quote! >>> d = {1: 'uno', 2: 'dos', 3: 'tres}

[issue23666] Add shell session logging option to IDLE

2017-09-18 Thread Grant Jenks
Grant Jenks added the comment: +1 from me. I'd like to see it ask me to save when I close the window if I've already saved once. -- nosy: +grantjenks ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/i