[docs] [issue10029] bug in sample code in documentation
report at bugs.python.org
Tue Oct 5 20:37:12 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
The relevant comment at Stack Overflow is:
It looks like it's a bug in the documentation. The 'equivalent' code working in python2, but not in python3, where it has an infinite loop.
And the latest version of the documentation has the same problem: http://docs.python.org/release/3.1.2/library/functions.html
Look like change r61361 was the problem, as it merged changes from python 2.6 without verifying that they were correct for python 3.
nosy: +belopolsky, loewis
Python tracker <report at bugs.python.org>
More information about the docs