[issue41241] Unnecessary Type casting in 'if condition'

2020-07-17 Thread wyz23x2
Change by wyz23x2 : -- nosy: +wyz23x2 nosy_count: 3.0 -> 4.0 pull_requests: +20654 pull_request: https://github.com/python/cpython/pull/21518 ___ Python tracker <https://bugs.python.org/issu

[issue41241] Unnecessary Type casting in 'if condition'

2020-07-17 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: -20654 ___ Python tracker <https://bugs.python.org/issue41241> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41241] Unnecessary Type casting in 'if condition'

2020-07-17 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: +20655 pull_request: https://github.com/python/cpython/pull/21518 ___ Python tracker <https://bugs.python.org/issue41

[issue41319] IDLE 3.8 can not save and run this file

2020-07-17 Thread wyz23x2
Change by wyz23x2 : -- nosy: -wyz23x2 ___ Python tracker <https://bugs.python.org/issue41319> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41319] IDLE 3.8 can not save and run this file

2020-07-17 Thread wyz23x2
wyz23x2 added the comment: Is bpo-41300 related? It talks about non-ASCII in IDLE. -- nosy: +wyz23x2 ___ Python tracker <https://bugs.python.org/issue41

[issue41314] __future__ doc and PEP 563 conflict

2020-07-17 Thread wyz23x2
Change by wyz23x2 : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue41314> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41392] SyntaxError rather than NameError error

2020-07-25 Thread wyz23x2
wyz23x2 added the comment: There is nothing *wrong* with the syntax; it's just a regular assignment. It's not something like `False = 4` or `while = 6` which '=' is invalid. -- nosy: +wyz23x2 title: Syntax error rather than run time error -> SyntaxError rathe

[issue41392] SyntaxError rather than NameError

2020-07-25 Thread wyz23x2
Change by wyz23x2 : -- title: SyntaxError rather than NameError error -> SyntaxError rather than NameError ___ Python tracker <https://bugs.python.org/issu

[issue41384] tkinter raises TypeError when it's supposed to raise TclError

2020-07-25 Thread wyz23x2
Change by wyz23x2 : -- type: -> behavior versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue41384> ___ ___ Py

[issue41393] Fix FAQ example to use __import__('functools').reduce

2020-07-25 Thread wyz23x2
New submission from wyz23x2 : https://docs.python.org/3/faq/programming.html#is-it-possible-to-write-obfuscated-one-liners-in-python https://github.com/python/cpython/blob/3.8/Doc/faq/programming.rst The 3rd raises a NameError because reduce was moved into functools. __import__('func

[issue41394] Behiavior of '_' strange in shell

2020-07-25 Thread wyz23x2
New submission from wyz23x2 : >>> (None and True) >>> print(_) False >>> print((None and True)) # Not same?! None >>> This isn't right. P.S. What component should this be? IDLE? It's the shell, not just IDLE. Core? Not that deep! -- m

[issue41394] Make '_' behavior in shell more clear

2020-07-25 Thread wyz23x2
wyz23x2 added the comment: I think this should be documented more clearly. Or else users might feel surprised: >>> print(123) 123 >>> _ Traceback (most recent call last): F

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-25 Thread wyz23x2
wyz23x2 added the comment: But there's nothing in https://docs.python.org/3/tutorial/interpreter.html. It should be stated there. -- components: -Interpreter Core nosy: -xtreak title: Make '_' behavior in shell more clear -> Document '_' in in

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-25 Thread wyz23x2
Change by wyz23x2 : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue41394> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue41314] PEP 563 and annotations __future__ mandatory version

2020-07-25 Thread wyz23x2
wyz23x2 added the comment: Ping? -- ___ Python tracker <https://bugs.python.org/issue41314> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue41399] Add stacklevel support for exceptions

2020-07-26 Thread wyz23x2
New submission from wyz23x2 : Now warnings.warn supports a stacklevel parameter. But many users want exceptions to support it too. Related: https://stackoverflow.com/questions/34175111/raise-an-exception-from-a-higher-level-a-la-warnings -- components: Interpreter Core messages

[issue40891] Use PEP 573 in functools

2020-07-26 Thread wyz23x2
Change by wyz23x2 : -- title: Use pep573 in functools -> Use PEP 573 in functools ___ Python tracker <https://bugs.python.org/issue40891> ___ ___ Python-

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch pull_requests: +20790 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21650 ___ Python tracker <https://bugs.python.org/issu

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: Submmited PR 21650. Should we also mention it in: https://docs.python.org/3/tutorial/interpreter.html or https://docs.python.org/3/tutorial/appendix.html ? (Matching the title of the issue) -- ___ Python tracker <ht

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- title: Document '_' in interpreter in shell tutorial -> Document '_' in interpreter tutorial ___ Python tracker <https://

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: If no one wants to work on it, I'll pick up that patch. Should it be section 16.1.5? If not, what section should it fit into? -- ___ Python tracker <https://bugs.python.org/is

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: I agree it's more important. Working. -- ___ Python tracker <https://bugs.python.org/issue41394> ___ ___ Python-bugs-list m

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: +20792 pull_request: https://github.com/python/cpython/pull/21651 ___ Python tracker <https://bugs.python.org/issue41

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: Submmited PR 21651. -- ___ Python tracker <https://bugs.python.org/issue41394> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41394] Document '_' in interpreter tutorial

2020-07-28 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: +20796 pull_request: https://github.com/python/cpython/pull/21654 ___ Python tracker <https://bugs.python.org/issue41

[issue41394] Document '_' in interpreter tutorial

2020-07-28 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: -20792 ___ Python tracker <https://bugs.python.org/issue41394> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41394] Document '_' in interpreter tutorial

2020-07-28 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: +20802 pull_request: https://github.com/python/cpython/pull/21657 ___ Python tracker <https://bugs.python.org/issue41

[issue41394] Document '_' in interpreter tutorial

2020-07-28 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: -20790 ___ Python tracker <https://bugs.python.org/issue41394> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41434] IDLE: Warn user on "Run Module" if file is not .py/.pyw

2020-07-28 Thread wyz23x2
New submission from wyz23x2 : It would be great if IDLE shows a note when a non-Python file is attempted to run. -- assignee: terry.reedy components: IDLE messages: 374561 nosy: terry.reedy, wyz23x2 priority: normal severity: normal status: open title: IDLE: Warn user on "Run M

[issue41434] IDLE: Warn user on "Run Module" if file is not .py/.pyw

2020-07-28 Thread wyz23x2
wyz23x2 added the comment: It should be able to turn on/off this feature. -- ___ Python tracker <https://bugs.python.org/issue41434> ___ ___ Python-bugs-list m

[issue41434] IDLE: Option to warn user on "Run Module" if file is not .py/.pyw

2020-07-28 Thread wyz23x2
Change by wyz23x2 : -- title: IDLE: Warn user on "Run Module" if file is not .py/.pyw -> IDLE: Option to warn user on "Run Module" if file is not .py/.pyw ___ Python tracker <https://

[issue40051] Dead link in help(lib2to3/idlelib/turtledemo/tkinter.sub/test_*/?)

2020-08-07 Thread wyz23x2
Change by wyz23x2 : -- versions: -Python 3.7 ___ Python tracker <https://bugs.python.org/issue40051> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40051] Dead link in help(lib2to3/idlelib/turtledemo/tkinter.sub/test_*/?)

2020-08-07 Thread wyz23x2
wyz23x2 added the comment: Ping? Which of the 3 should we choose? -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue40051> ___ ___ Pytho

[issue33129] Add kwarg-only option to dataclass

2020-08-11 Thread wyz23x2
wyz23x2 added the comment: Since '/' was introduced in Python 3.8, support for positional parameters should be supported too. -- nosy: +wyz23x2 versions: +Python 3.9 ___ Python tracker <https://bugs.python.o

[issue22893] IDLE: __future__ does not work in startup code.

2020-08-11 Thread wyz23x2
Change by wyz23x2 : -- title: Idle: __future__ does not work in startup code. -> IDLE: __future__ does not work in startup code. ___ Python tracker <https://bugs.python.org/issu

[issue41169] socket.inet_pton raised when pass an IPv6 address like "[::]" to it

2020-08-11 Thread wyz23x2
Change by wyz23x2 : -- versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue41169> ___ ___ Python-bugs-list mailin

[issue40938] urllib.parse.urlunsplit makes relative path to absolute (http:g -> http:///g)

2020-08-11 Thread wyz23x2
Change by wyz23x2 : -- versions: +Python 3.7, Python 3.9 ___ Python tracker <https://bugs.python.org/issue40938> ___ ___ Python-bugs-list mailing list Unsub

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-11 Thread wyz23x2
wyz23x2 added the comment: +1. I observe it too. -- nosy: +wyz23x2 ___ Python tracker <https://bugs.python.org/issue41526> ___ ___ Python-bugs-list mailin

[issue41549] IDLE leaks `_` into hint box

2020-08-14 Thread wyz23x2
New submission from wyz23x2 : Reproduce: 1. Open shell and enter an expression, say 1+1. 2. Create a new file and save. 3. Enter a letter and press Tab. `_` appears in the box. -- assignee: terry.reedy components: IDLE messages: 375383 nosy: terry.reedy, wyz23x2 priority: normal

[issue41573] Correct wrong sentences in General FAQ

2020-08-17 Thread wyz23x2
New submission from wyz23x2 : Release candidate is "rc" not "c"; Python 2.x is not supported anymore. -- assignee: docs@python components: Documentation messages: 375583 nosy: docs@python, wyz23x2 priority: normal severity: normal status: open title: Correct wrong

[issue41573] Correct wrong sentences in General FAQ

2020-08-17 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch pull_requests: +21031 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21915 ___ Python tracker <https://bugs.python.org/issu

[issue41573] Correct wrong sentences in General FAQ

2020-08-17 Thread wyz23x2
wyz23x2 added the comment: GH-21915 submitted. -- ___ Python tracker <https://bugs.python.org/issue41573> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-05 Thread wyz23x2
New submission from wyz23x2 : The tkinter.tix module was deprecated since Python 3.6, but nether DeprecationWarning nor PendingDeprecationWarning is warned. It should show a message and removal might be scheduled for 3.11/3.12. -- components: Tkinter messages: 376455 nosy: wyz23x2

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-10 Thread wyz23x2
wyz23x2 added the comment: OK. What should the message be? "tkinter.tix is deprecated (and will be removed in Python 3.x), use tkinter.ttk instead"? -- ___ Python tracker <https://bugs.python.o

[issue41370] PEP 585 and ForwardRef

2020-09-10 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch nosy: +wyz23x2 nosy_count: 6.0 -> 7.0 pull_requests: +21245 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22186 ___ Python tracker <https://bugs.python.org/i

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-10 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch pull_requests: +21246 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22186 ___ Python tracker <https://bugs.python.org/issu

[issue41370] PEP 585 and ForwardRef

2020-09-10 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: -21245 ___ Python tracker <https://bugs.python.org/issue41370> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41370] PEP 585 and ForwardRef

2020-09-10 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: +21247 pull_request: https://github.com/python/cpython/pull/22186 ___ Python tracker <https://bugs.python.org/issue41

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-10 Thread wyz23x2
wyz23x2 added the comment: @epaine The doc (https://docs.python.org/3/library/tkinter.tix.html) states "This Tk extension is unmaintained and should not be used in new code.". -- ___ Python tracker <https://bugs.python.o

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-10 Thread wyz23x2
wyz23x2 added the comment: All tests have passed. Now it's time to merge! -- ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Python-bugs-l

[issue41370] PEP 585 and ForwardRef

2020-09-10 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: -21247 ___ Python tracker <https://bugs.python.org/issue41370> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41370] PEP 585 and ForwardRef

2020-09-10 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: +21248 pull_request: https://github.com/python/cpython/pull/22186 ___ Python tracker <https://bugs.python.org/issue41

[issue41370] PEP 585 and ForwardRef

2020-09-10 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: -21248 ___ Python tracker <https://bugs.python.org/issue41370> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-10 Thread wyz23x2
wyz23x2 added the comment: Can any core reviewer review the PR? -- ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Python-bugs-list mailin

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-11 Thread wyz23x2
wyz23x2 added the comment: Ping? We will miss 3.8.6/3.9.0rc2 if it's too late! -- ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Pytho

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-12 Thread wyz23x2
wyz23x2 added the comment: Ping... -- ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41953] Confusing error message of 50,*2

2020-10-05 Thread wyz23x2
New submission from wyz23x2 : >>> (50,) * 2 (50, 50) >>> 50, * 2 Traceback (most recent call last): File "", line 2, in TypeError: 'int' object is not iterable This message is confusing. It isn't clear that 50.__iter__ is called. tuple(50)*2 seem

[issue41953] Confusing error message of 50,*2

2020-10-05 Thread wyz23x2
wyz23x2 added the comment: >>> '1', * 2 Traceback (most recent call last): File "", line 3, in TypeError: 'int' object is not iterable Update: 2.__iter__ seems to be called. -- ___ Python track

[issue41953] Confusing error message of 50,*2

2020-10-05 Thread wyz23x2
wyz23x2 added the comment: Just updated to 3.9. Fixed. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40511] IDLE: properly handle '(' and ')' within calls

2020-11-03 Thread wyz23x2
wyz23x2 added the comment: Thanks! :D -- ___ Python tracker <https://bugs.python.org/issue40511> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2