[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

[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

[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

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

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

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

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

[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

[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

[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-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-07 Thread wyz23x2
Change by wyz23x2 : -- versions: -Python 3.9 ___ Python tracker <https://bugs.python.org/issue41730> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[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

[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 "", l

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

[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

[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

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

[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
wyz23x2 added the comment: Changed to only 2). -- ___ Python tracker <https://bugs.python.org/issue44640> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

[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

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

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

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

[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

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

[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

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

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

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

[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

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

[issue39192] relationlist module

2020-01-02 Thread wyz23x2
New submission from wyz23x2 : I've written a handy tool--RelationList. This type can easily create relations between elements in lists. -- components: Demos and Tools files: relationlist.py messages: 359197 nosy: asvetlov, dkaveshnikov, wyz23x2, yselivanov priority: normal sev

[issue39192] relationlist module

2020-01-02 Thread wyz23x2
Change by wyz23x2 : -- components: -Demos and Tools versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue39192> ___ ___ Python-bug

[issue39192] relationlist module

2020-01-02 Thread wyz23x2
wyz23x2 added the comment: I've written a handy tool--RelationList. This type can easily create relations between elements in lists. -- Added file: https://bugs.python.org/file48821/relationlist.py ___ Python tracker <https://bugs.py

[issue39596] reverse parameter for enumerate()

2020-02-09 Thread wyz23x2
New submission from wyz23x2 : Starting from Python 2.3, the handy enumerate() was introduced. However, I suggest to add a "reverse" parameter: >>> lis = ['a', 'b', 'c', 'd'] >>> list(enumerate(lis)) [(0,'a'),(1,

[issue39596] reverse parameter for enumerate()

2020-02-09 Thread wyz23x2
wyz23x2 added the comment: A typo in the previous comment: >>> list(enumerate(lis,reverse=True)) [('a',0),('b',1),('c',2),('d',3)] -- ___ Py

[issue39608] Bug in 00000000000000000

2020-02-11 Thread wyz23x2
New submission from wyz23x2 : Why is this? >>> 000 # No error 0 >>> 002 SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers -- components: Build mes

[issue39608] Bug in lots of 0s

2020-02-11 Thread wyz23x2
Change by wyz23x2 : -- title: Bug in 0 -> Bug in lots of 0s ___ Python tracker <https://bugs.python.org/issue39608> ___ ___ Python-bugs-lis

[issue39608] Bug in lots of 0s

2020-02-11 Thread wyz23x2
wyz23x2 added the comment: 2 is not supported; So 000 should not too. -- ___ Python tracker <https://bugs.python.org/issue39608> ___ ___

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
New submission from wyz23x2 : the tempfile.mktemp() function was deprecated since version 2.3; it's long ago (nearly 17 years)! It should be removed since it causes security holes, as stated in the tempfile doc (https://docs.python.org/3/library/tempfile.html#tempfile.m

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: A small typo in the 1st comment: The tempfile.mktemp() function was deprecated since version 2.3; it's long ago (nearly 17 years!). It should be removed since it causes security holes, as stated in the tempfile doc (https://docs.python.org/3/library/tempfile

[issue39768] remove tempfile.mktemp()

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

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: Sorry, didn't realize that. -- ___ Python tracker <https://bugs.python.org/issue39768> ___ ___ Python-bugs-list mailing list

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: But I think the function should redirect to NamedTemporaryFile(delete=False). -- ___ Python tracker <https://bugs.python.org/issue39

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: You could add a check that does this: (a) from tempfile import mktemp with open(mktemp()) as f: # do something... ## No Warnings (b) from tempfile import mktemp path = mktemp() # do something... with open(mktemp()) as f: # do something... ## RuntimeWarning

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: (c) from tempfile import mktemp # do something... path = mktemp() # do something... (the "path" var is not used at all) ## No Warning -- ___ Python tracker <https://bugs.python.o

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: case c is used for the case that is stated in https://mail.python.org/pipermail/python-dev/2019-March/156725.html (a temporary name that an other program will create / act on). -- ___ Python tracker <ht

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: I know it's hard to achieve :) -- ___ Python tracker <https://bugs.python.org/issue39768> ___ ___ Python-bugs-list mailing list

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: Sorry, in (a)(b) is should be with "open(mktemp(),'x') as f:". -- ___ Python tracker <https://bugs.python.org/issue39768> ___

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
wyz23x2 added the comment: Reopen. 1.See https://mail.python.org/pipermail/python-dev/2019-March/156765.html and https://owasp.org/www-community/vulnerabilities/Insecure_Temporary_File. It's *serious*. 2.Why not use this to generate a temporary name that an other program will create/a

[issue39768] remove tempfile.mktemp()

2020-02-26 Thread wyz23x2
Change by wyz23x2 : -- nosy: -ZackerySpytz ___ Python tracker <https://bugs.python.org/issue39768> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39772] Python 2 FAQ shown in h...@python.org auto reply

2020-02-26 Thread wyz23x2
New submission from wyz23x2 : The auto-reply from help@python contains this: The Python FAQ is available at http://docs.python.org/2/faq/index.html Why is it .org/2/faq, not .org/3/faq? -- components: email files: email.png messages: 362784 nosy: barry, r.david.murray

[issue39772] Python 2 FAQ shown in h...@python.org auto reply

2020-02-27 Thread wyz23x2
Change by wyz23x2 : -- nosy: -barry, r.david.murray ___ Python tracker <https://bugs.python.org/issue39772> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39768] remove tempfile.mktemp()

2020-02-27 Thread wyz23x2
wyz23x2 added the comment: Well, I just think it's *serious*. I respect your thoughts. If you want to close this, you can. -- ___ Python tracker <https://bugs.python.org/is

[issue39893] Add set_terminate() to logging

2020-03-07 Thread wyz23x2
New submission from wyz23x2 : Sometimes, we want to remove the ending \n and sometimes replace it wit something else, like print(). But logging doesn't support that. I'd want a set_terminate() (Or set_end()) function that does that. I think it's easy. Just insert this at line 1

[issue39893] Add set_terminate() to logging

2020-03-07 Thread wyz23x2
wyz23x2 added the comment: typo: "with something else", not "wit something else". Sorry for that. -- ___ Python tracker <https://bug

[issue39768] remove tempfile.mktemp()

2020-03-07 Thread wyz23x2
Change by wyz23x2 : -- status: open -> closed ___ Python tracker <https://bugs.python.org/issue39768> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue39893] Add set_terminate() to logging

2020-03-09 Thread wyz23x2
Change by wyz23x2 : -- versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue39893> ___ ___ Python-bugs-list mailin

[issue40051] Dead link in help(lib2to3)

2020-03-23 Thread wyz23x2
New submission from wyz23x2 : When typing this in shell: >>> import lib2to3 >>> help(lib2to3) The output contains this link: --snip-- MODULE REFERENCE https://docs.python.org/3.8/library/lib2to3 <-- The following documentation is automatically generated f

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

2020-03-29 Thread wyz23x2
wyz23x2 added the comment: My opinion: I think No.2 makes more sense to users that visit the docs directly by https://docs.python.org/3.8/library/lib2to3.html; they will copy the "docs.python.org/version/library/modulename.html" format from other modules. But I also agree it'

[issue40386] Strange behavior during invalid import of modules without if __name__ == "__main__"

2020-04-24 Thread wyz23x2
Change by wyz23x2 : -- components: +Library (Lib) versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue40386> ___ ___

[issue40386] Strange behavior during invalid import of modules without if __name__ == "__main__"

2020-04-24 Thread wyz23x2
New submission from wyz23x2 : This behavior: Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> import this.main The Zen o

[issue40386] Strange behavior during invalid import of modules without if __name__ == "__main__"

2020-04-24 Thread wyz23x2
wyz23x2 added the comment: Sorry, it's "of 'this' is run", not "un". -- ___ Python tracker <https://bugs.python.org/issue40386> ___

[issue40386] Strange behavior during invalid import of modules without if __name__ == "__main__"

2020-04-24 Thread wyz23x2
Change by wyz23x2 : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue40386> ___ ___ Python-bugs-list mailing list Unsubscrib

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

2020-05-04 Thread wyz23x2
wyz23x2 added the comment: Patch? -- ___ 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-05-04 Thread wyz23x2
wyz23x2 added the comment: OK. -- ___ Python tracker <https://bugs.python.org/issue40051> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue40511] Yellow hint frame blinks when entering () in strings

2020-05-05 Thread wyz23x2
New submission from wyz23x2 : The yellow frame blinks as shown in mp4. It's annoying and isn't good to the eyes. -- assignee: terry.reedy components: IDLE messages: 368133 nosy: terry.reedy, wyz23x2 priority: normal severity: normal status: open title: Yellow hint frame b

[issue40511] Yellow hint frame blinks when entering () in strings

2020-05-05 Thread wyz23x2
wyz23x2 added the comment: OMG, request too large. I can't upload mp4 /(ㄒoㄒ)/~~ -- ___ Python tracker <https://bugs.python.org/issue40511> ___ ___ Pytho

[issue40511] IDLE yellow hint frame blinks when entering () in strings

2020-05-05 Thread wyz23x2
Change by wyz23x2 : -- title: Yellow hint frame blinks when entering () in strings -> IDLE yellow hint frame blinks when entering () in strings ___ Python tracker <https://bugs.python.org/issu

[issue40511] IDLE yellow hint frame blinks when entering () in strings in functions/classes

2020-05-05 Thread wyz23x2
Change by wyz23x2 : -- title: IDLE yellow hint frame blinks when entering () in strings -> IDLE yellow hint frame blinks when entering () in strings in functions/classes ___ Python tracker <https://bugs.python.org/issu

[issue40591] \r broken in IDLE

2020-05-11 Thread wyz23x2
New submission from wyz23x2 : When you run this code: import time for i in range(10): print(f"\r{i}", end='', flush=True) time.sleep(1) print('\n') On CMD it prints 0 at the first time, then it will erase it and print the increased i. But on IDLE it ju

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

[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

[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

[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=(), k

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

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

[issue41075] Add support of navigating through prev. commands in IDLE

2020-06-22 Thread wyz23x2
New submission from wyz23x2 : Terminals like CMD have support of navigating through commands with ↑↓. While directly implementing the arrows is not good in IDLE (the use for jumping to the prev. line in GUI is needed), there should be a good way. Some ways: 1. Alt+↑↓. The current behavior is

[issue41075] Make support of navigating through prev. commands in IDLE more conspicuous

2020-06-24 Thread wyz23x2
wyz23x2 added the comment: Doesn't work? The and work perfectly in 3.8.3! Th problem now is that only very few people know it. There should be a clearer way. -- title: Add support of navigating through prev. commands in IDLE -> Make support of navigating through prev. com

[issue41121] Path sep. in IDLE on Windows changes

2020-06-25 Thread wyz23x2
New submission from wyz23x2 : Python supports "/" and "\" separators on Windows. So in IDLE, the path shown sometimes is: D:\xxx\xxx Sometimes is: D:/xxx/xxx That isn't right. -- assignee: terry.reedy components: IDLE messages: 372395 nosy: terry.reedy,

[issue41250] Number separators in different places

2020-07-08 Thread wyz23x2
New submission from wyz23x2 : The current syntax is this for thousand separators: f'{var:,}' It will return this when var is 1234567: '1,234,567' But sometimes we need a way to insert them in other places. For example: 123456789 → '1,2345,6789' (4) 62938757312 → &#x

[issue41250] Number separators in different places

2020-07-08 Thread wyz23x2
wyz23x2 added the comment: Q: Why not use f"{var:,}".replace(',', sepchar) for the sepchar parameter? A: It is very complicated in the case below: num = 1234567 text = 'Hello, world!' print(f"{num:,}{text}").replace(',', ' ') #

[issue41251] __future__.barry_as_FLUFL.getMandatoryRelease() is wrong

2020-07-08 Thread wyz23x2
New submission from wyz23x2 : __future__.barry_as_FLUFL turns x!=y into x<>y. But the doc by help() says: Help on _Feature in module __future__

[issue41251] __future__.barry_as_FLUFL.getMandatoryRelease() is wrong

2020-07-08 Thread wyz23x2
Change by wyz23x2 : -- components: +Library (Lib) versions: +Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue41

[issue41251] __future__.barry_as_FLUFL.getMandatoryRelease() is wrong

2020-07-08 Thread wyz23x2
wyz23x2 added the comment: Help on _Feature in module __future__ object: class

[issue41251] __future__.barry_as_FLUFL.getMandatoryRelease() is wrong

2020-07-08 Thread wyz23x2
Change by wyz23x2 : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue41251> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue41075] Make support of navigating through prev. commands in IDLE more conspicuous

2020-07-10 Thread wyz23x2
Change by wyz23x2 : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue41075> ___ ___ Python-bugs-list

[issue41266] Wrong hint when class methods and builtins named same

2020-07-10 Thread wyz23x2
New submission from wyz23x2 : There is a function hex(number, /), and float objects have a method hex(). When something like 1.3.hex( is typed, the yellow box's first line contains hex(number, /). But the method is actually hex(), no arguments. It confuses users. And when 1.3.list( is

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-14 Thread wyz23x2
Change by wyz23x2 : -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue40360> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41313] OverflowError still raised when int limited in sys.maxsize

2020-07-16 Thread wyz23x2
New submission from wyz23x2 : Consider this code: import sys sys.setrecursionlimit(sys.maxsize) Causes this: OverflowError: Python int too large to convert to C int So what is the limit? It should be sys.maxsize. These 2 also don't work: sys.setrecursionlimit(sys.maxs

[issue41313] OverflowError still raised when int limited in sys.maxsize

2020-07-16 Thread wyz23x2
wyz23x2 added the comment: Needs to add 10 zeros (sys.maxsize//100) to get it work. //200 doesn't work. Python version: 3.8.4 Platform: Windows 10 2004 -- ___ Python tracker <https://bugs.python.org/is

[issue41313] OverflowError still raised when int limited in sys.maxsize

2020-07-16 Thread wyz23x2
wyz23x2 added the comment: Tested. 2**31-31 is the max, which is 2147483617, compared to sys.maxsize's 9223372036854775807! -- type: -> behavior ___ Python tracker <https://bugs.python.org

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2020-07-16 Thread wyz23x2
Change by wyz23x2 : -- type: -> crash ___ Python tracker <https://bugs.python.org/issue40477> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue41314] __future__ doc and PEP 563 conflict

2020-07-16 Thread wyz23x2
New submission from wyz23x2 : In https://docs.python.org/3/library/__future__.html: annotations | 3.7.0b1 | *4.0* | PEP 563: Postponed evaluation of annotations In PEP 563: Starting with Python 3.7, a __future__ import is required to use the described functionality. No warnings are raised

[issue41314] __future__ doc and PEP 563 conflict

2020-07-16 Thread wyz23x2
Change by wyz23x2 : -- assignee: -> docs@python components: +Documentation nosy: +docs@python versions: +Python 3.10, Python 3.7 ___ Python tracker <https://bugs.python.org/issu

  1   2   >