[issue13494] 'cast' any value to a Boolean?

2011-12-02 Thread Roundup Robot
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:

[issue13494] 'cast' any value to a Boolean?

2011-12-02 Thread Ezio Melotti
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

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Mark Dickinson
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

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Ezio Melotti
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 ___

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: +1 -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___ ___

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Eli Bendersky
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