[issue41264] Do not use the name of the built-in function as a variable.

2020-07-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We usually do not accept pure cosmetic changes. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41264] Do not use the name of the built-in function as a variable.

2020-07-10 Thread Wansoo Kim
Change by Wansoo Kim : -- pull_requests: +20575 pull_request: https://github.com/python/cpython/pull/21428 ___ Python tracker ___ __

[issue41264] Do not use the name of the built-in function as a variable.

2020-07-10 Thread Wansoo Kim
Change by Wansoo Kim : -- keywords: +patch pull_requests: +20574 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21427 ___ Python tracker ___ _

[issue41264] Do not use the name of the built-in function as a variable.

2020-07-09 Thread Wansoo Kim
New submission from Wansoo Kim : Using the name of the built-in function as a variable can cause unexpected problems. ``` # example type = 'Hello' ... type('Happy') Traceback (most recent call last): File "", line 1, in TypeError: 'str' object is not callable ``` You can go back witho