[issue13494] 'cast' any value to a Boolean?
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2f9c986b46cd by Ezio Melotti in branch '2.7': #13494: s/cast/convert/. Also add a link. http://hg.python.org/cpython/rev/2f9c986b46cd New changeset 69369fd3514b by Ezio Melotti in branch '3.2': #13494: s/cast/convert/. Also add a link. http://hg.python.org/cpython/rev/69369fd3514b New changeset 454b97887c5a by Ezio Melotti in branch 'default': #13494: merge with 3.2. http://hg.python.org/cpython/rev/454b97887c5a -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13494] 'cast' any value to a Boolean?
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed! @Eli At least in the doc, I haven't seen any other suspicious use of 'cast'. -- assignee: docs@python - ezio.melotti resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13494] 'cast' any value to a Boolean?
New submission from Mark Dickinson dicki...@gmail.com: Docs nit: at http://docs.python.org/dev/library/stdtypes.html#boolean-values we have The built-in function bool() can be used to cast any value to a Boolean ... It's a little unusual to talk about casting in Python. Any objections to replacing 'cast' with 'convert'? -- assignee: docs@python components: Documentation messages: 148480 nosy: docs@python, mark.dickinson priority: normal severity: normal status: open title: 'cast' any value to a Boolean? versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13494] 'cast' any value to a Boolean?
Ezio Melotti ezio.melo...@gmail.com added the comment: +1 -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13494] 'cast' any value to a Boolean?
Meador Inge mead...@gmail.com added the comment: +1 -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13494] 'cast' any value to a Boolean?
Eli Bendersky eli...@gmail.com added the comment: 'bool' is just one of many conversion functions that convert their argument to the type they designate. Does this doc problem only exist for 'bool' or also for 'int', 'float' and others? -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com