[issue43276] add `false` and `true` keywords (aliases) for True and False

2021-02-20 Thread parsa mpsh
parsa mpsh added the comment: I sent a PR: https://github.com/python/cpython/pull/24600 -- ___ Python tracker ___ ___ Python-bugs-l

[issue43276] add `false` and `true` keywords (aliases) for True and False

2021-02-20 Thread parsa mpsh
Change by parsa mpsh : -- pull_requests: +23378 pull_request: https://github.com/python/cpython/pull/24600 ___ Python tracker ___ __

[issue43276] add `false` and `true` keywords (aliases) for True and False

2021-02-20 Thread parsa mpsh
parsa mpsh added the comment: Also adding them as builtin keywords will make it easier than setting them as variables. in this method, we should define them everywhere, but in builtin type its easy. -- ___ Python tracker

[issue43276] add `false` and `true` keywords (aliases) for True and False

2021-02-20 Thread parsa mpsh
parsa mpsh added the comment: Yes i know this. but why not adding this builtin? this will be very nice! -- ___ Python tracker ___ _

[issue43276] add `false` and `true` keywords (aliases) for True and False

2021-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can do it yourself in your script. It is just two lines of code: true = True false = False And it works in all Python versions! -- nosy: +serhiy.storchaka resolution: -> rejected stage: -> resolved status: open -> closed

[issue43276] add `false` and `true` keywords (aliases) for True and False

2021-02-20 Thread parsa mpsh
New submission from parsa mpsh : I wanna add `true` and `false` aliases for `True` and `False` keywords. Currently my patch is ready and i will send it as a pull request. -- messages: 387411 nosy: parsampsh priority: normal severity: normal status: open title: add `false` and `true` key