[issue41266] IDLE call hints and completions confused by ints and floats

2022-01-31 Thread wyz23x2
wyz23x2 added the comment: Ping, this issue is 571 days old. -- ___ Python tracker <https://bugs.python.org/issue41266> ___ ___ Python-bugs-list mailin

[issue45420] Python 3.10 final installation failure

2021-12-08 Thread wyz23x2
wyz23x2 added the comment: Problem solved by installing 3.10.1. (Why?) Thanks! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45804] IDLE - faster shell writing

2021-11-21 Thread wyz23x2
Change by wyz23x2 : -- assignee: -> terry.reedy components: +IDLE ___ Python tracker <https://bugs.python.org/issue45804> ___ ___ Python-bugs-list mai

[issue45420] Python 3.10 final installation failure

2021-10-29 Thread wyz23x2
wyz23x2 added the comment: BTW, how does the installer detect whether if another version is installed? -- ___ Python tracker <https://bugs.python.org/issue45

[issue45420] Python 3.10 final installation failure

2021-10-29 Thread wyz23x2
wyz23x2 added the comment: I upgraded to Windows 11 _and_ deleted all Python 3.10 related installations in regedit. Still doesn't work :( -- ___ Python tracker <https://bugs.python.org/issue45

[issue45420] Python 3.10 final installation failure

2021-10-16 Thread wyz23x2
wyz23x2 added the comment: > This kind of issue can also arise when you directly delete the install, > rather than uninstalling it. Sort of, but I expected upgrading with a new directory to work. When the first few times didn't work, I deleted the installation directly (shoul

[issue45420] Python 3.10 final installation failure

2021-10-16 Thread wyz23x2
wyz23x2 added the comment: I'm sorry, but the option is grayed out. See attached screenshot. -- Added file: https://bugs.python.org/file50366/screenshot.png ___ Python tracker <https://bugs.python.org/issue45

[issue45420] Python 3.10 final installation failure

2021-10-16 Thread wyz23x2
wyz23x2 added the comment: I did. -- ___ Python tracker <https://bugs.python.org/issue45420> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45420] Python 3.10 final installation failure

2021-10-14 Thread wyz23x2
wyz23x2 added the comment:   -- ___ Python tracker <https://bugs.python.org/issue45420> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue45456] 'pass' in 'if-else' linear expression

2021-10-12 Thread wyz23x2
wyz23x2 added the comment: Well, x = 1 if False else pass and if False: x = 1 1 line vs 1 line :) It's just not needed. -- nosy: +wyz23x2 ___ Python tracker <https://bugs.python.org/issue45

[issue23262] webbrowser module broken with Firefox 36+

2021-10-12 Thread wyz23x2
wyz23x2 added the comment: I think this six year old issue can be closed. All patches for 3.x are committed, and Python 2.7 is EOL. -- nosy: +wyz23x2 ___ Python tracker <https://bugs.python.org/issue23

[issue45420] Python 3.10 final installation failure

2021-10-09 Thread wyz23x2
wyz23x2 added the comment: Note: I'm trying to move the installation path from Local\Programs\Python\Python310 under user dir to C:\Program Files\Python310. -- Added file: https://bugs.python.org/file50336/old_modify_log.log ___ Python tracker

[issue45420] Python 3.10 final installation failure

2021-10-09 Thread wyz23x2
New submission from wyz23x2 : Hi, I've downloaded Python 3.10 final (64-bit) from python.org on October 6. But when I run the installer with administrator permission, it says "No Python 3.10 installation was detected". Error code: 0x80070643. The stranger thing is when I run &qu

[issue41266] IDLE call hints and completions confused by ints and floats

2021-09-21 Thread wyz23x2
wyz23x2 added the comment: Ping. >>> from datetime import datetime as d >>> d(2021, 9, 22)-d(2020, 7, 10) datetime.timedelta(days=439) -- ___ Python tracker <https://bugs.

[issue27035] Cannot set exit code in atexit callback

2021-07-26 Thread wyz23x2
Change by wyz23x2 : -- versions: +Python 3.10, Python 3.11 -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue27035> ___ ___ Python-bug

[issue44640] Fix punctuation in isinstance() error message

2021-07-16 Thread wyz23x2
Change by wyz23x2 : -- title: Typos in error messages of isinstance() & issubclass() -> Fix punctuation in isinstance() error message ___ Python tracker <https://bugs.python.org/

[issue44640] Typos in error messages of isinstance() & issubclass()

2021-07-14 Thread wyz23x2
wyz23x2 added the comment: Changed to only 2). -- ___ Python tracker <https://bugs.python.org/issue44640> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44640] Typos in error messages of isinstance() & issubclass()

2021-07-14 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch pull_requests: +25686 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27144 ___ Python tracker <https://bugs.python.org/issu

[issue44640] Typos in error messages of isinstance() & issubclass()

2021-07-14 Thread wyz23x2
New submission from wyz23x2 : >>> isinstance(2, 1) Traceback (most recent call last): ... TypeError: isinstance() arg 2 must be a type, a tuple of types or a union >>> issubclass(int, 1) Traceback (most recent call last): .. TypeError: issubclass() arg 2 must be a class,

[issue44317] Suggestion for better syntax errors in tokenizer errors

2021-06-06 Thread wyz23x2
Change by wyz23x2 : -- type: behavior -> enhancement ___ Python tracker <https://bugs.python.org/issue44317> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue44317] Problems of int literal SyntaxErrors

2021-06-05 Thread wyz23x2
wyz23x2 added the comment: Another 2 problems: 1. >>> 0b1112 File "", line 1 0b1112 ^ SyntaxError: invalid digit '2' in binary literal >>> 0o5780 File "", line 1 0o5780 ^ SyntaxError: invalid digit '8' in octal literal But: &

[issue44318] Asyncio classes missing __slots__

2021-06-05 Thread wyz23x2
Change by wyz23x2 : -- nosy: -wyz23x2 ___ Python tracker <https://bugs.python.org/issue44318> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44318] Asyncio classes missing __slots__

2021-06-05 Thread wyz23x2
wyz23x2 added the comment: OK, so: >>> (1).__slots__ Traceback (most recent call last): File "", line 1, in AttributeError: 'int' object has no attribute '__slots__' >>> 4.5.__slots__ Traceback (most recent call last): File "", line 1, in Attribute

[issue44317] Misleading mark of octal SyntaxErrors

2021-06-05 Thread wyz23x2
New submission from wyz23x2 : Python 3.10.0b2 (tags/v3.10.0b2:3173141, Jun 1 2021, 09:05:29) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> 0777 File "", line 1

[issue44024] Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

2021-05-22 Thread wyz23x2
Change by wyz23x2 : -- versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue44024> ___ ___ Python-bugs-list mailin

[issue41730] Show deprecation warnings for tkinter.tix

2021-05-07 Thread wyz23x2
Change by wyz23x2 : -- versions: -Python 3.9 ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41730] Show deprecation warnings for tkinter.tix

2021-05-07 Thread wyz23x2
wyz23x2 added the comment: Merged! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41730] Show deprecation warnings for tkinter.tix

2021-05-06 Thread wyz23x2
Change by wyz23x2 : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Python-bugs-list mailing list Unsub

[issue41730] Show deprecation warnings for tkinter.tix

2021-05-06 Thread wyz23x2
wyz23x2 added the comment: When this issue was submitted on September 5, 2020, Python 3.9 was still in beta/rc stages. Now 242 days have passed and the developing of 3.11 has started. :) -- ___ Python tracker <https://bugs.python.org/issue41

[issue14965] super() and property inheritance behavior

2021-05-04 Thread wyz23x2
Change by wyz23x2 : -- components: +Interpreter Core -Extension Modules versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue14

[issue41370] PEP 585 and ForwardRef

2021-04-19 Thread wyz23x2
Change by wyz23x2 : -- nosy: -wyz23x2 ___ Python tracker <https://bugs.python.org/issue41370> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43695] Improve `=` in f-strings

2021-04-01 Thread wyz23x2
wyz23x2 added the comment: Well, it's: >>> f'{a+b-c=?}' # Suffix `=` to apply to all? 20+40-10=50 P.S. When will the bug tracker enable message editing? -- ___ Python tracker <https://bugs.python.or

[issue43695] Improve `=` in f-strings

2021-04-01 Thread wyz23x2
New submission from wyz23x2 : In Python 3.8, `=` was added into f-strings: >>> a, b, c = 20, 40, 10 >>> f'{a+b-c=}' a+b-c=50 But if `20+40-10` is wanted, this needs to be written: >>> f'{a}+{b}-{c}={a+b-c}' 20+40-10=50 So something could be added. For example, `?` (th

[issue41730] Show deprecation warnings for tkinter.tix

2021-03-16 Thread wyz23x2
wyz23x2 added the comment: Um, is this going on? -- ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43500] Add filtercase() into fnmatch

2021-03-15 Thread wyz23x2
Change by wyz23x2 : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue43500> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue43500] Add filtercase() into fnmatch

2021-03-15 Thread wyz23x2
New submission from wyz23x2 : The fnmatch module has a filter() function: > Construct a list from those elements of the iterable names that match pattern. > It is the same as [n for n in names if fnmatch(n, pattern)], but implemented > more efficiently. However, since there is the fn

[issue43097] IndexError msg of random.choice() not helpful

2021-02-01 Thread wyz23x2
New submission from wyz23x2 : When you apply `random.choice` on empty sequences: >>> import random >>> random.choice([]) Traceback (most recent call last): File "", line 2, in return seq[self._randbelow(len(seq))] IndexError: list index out of range This m

[issue42646] Add function that supports "applying" methods

2020-12-15 Thread wyz23x2
wyz23x2 added the comment: Edit: applied should be the better name because of reversed(), sorted() etc. and doesn't conflict with Py 2. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42646] Add function that supports "applying" methods

2020-12-15 Thread wyz23x2
New submission from wyz23x2 : Doing this is generally very annoying: y = x.copy() y.some_method() Sometimes x doesn't have copy(), so: from copy import deepcopy y = deepcopy(x) y.some_method() So maybe a function could be added to help. For example: def apply(obj, function, /, args=(), kwargs

[issue42578] Add tip when encountering UnicodeDecode/EncodeError in open()

2020-12-05 Thread wyz23x2
Change by wyz23x2 : -- title: Add tip when encountering UnicodeDecode/Encode Error in open() -> Add tip when encountering UnicodeDecode/EncodeError in open() ___ Python tracker <https://bugs.python.org/issu

[issue42578] Add tip when encountering UnicodeDecode/Encode Error in open()

2020-12-05 Thread wyz23x2
wyz23x2 added the comment: >>> (1,)(2, 3) :1: SyntaxWarning: 'tuple' object is not callable; perhaps you missed a comma? -- ___ Python tracker <https://bugs.python.or

[issue42578] Add tip when encountering UnicodeDecode/Encode Error in open()

2020-12-05 Thread wyz23x2
New submission from wyz23x2 : Programmers often stumble over UnicodeDecode/EncodeError during open(), and especially beginners don't know what to do. There are lots of questions on Stackoverflow: https://stackoverflow.com/questions/16528468/while-reading-file-on-python-i-got

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

[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

[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 tracker <https://bugs

[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 seems to happen, wh

[issue41730] Show deprecation warnings for tkinter.tix

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

[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> ___ ___ Python-bug

[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

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

[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: -21247 ___ 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: All tests have passed. Now it's time to merge! -- ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Python-bugs-list m

[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

[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

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

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

[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

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

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

[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

[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

[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

[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

[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

[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.org/issue33

[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

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

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

2020-07-29 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://

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

2020-07-29 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: Warn user on "Run Module" if file is not .py/.pyw

2020-07-29 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

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

[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: -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: +20796 pull_request: https://github.com/python/cpython/pull/21654 ___ 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-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: I agree it's more important. Working. -- ___ Python tracker <https://bugs.python.org/issue41394> ___ ___ Python-bugs-list mailin

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

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

[issue40891] Use PEP 573 in functools

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

[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

[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

[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

[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 interpreter in shell tutor

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

[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! -- messages: 3

[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__('functools

[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

[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

[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 rather than NameError er

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

[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

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

[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

  1   2   >