[issue16395] Documentation claims that PySequence_Fast returns a tuple, when it actually returns a list.

Simon Law report at bugs.python.org
Sat Nov 3 16:32:43 CET 2012


Simon Law added the comment:

It looks like this was caught in the 3.3 branch, but only fixed it in the comment:

changeset:   75448:d8f68195210e
user:        Larry Hastings <larry at hastings.org>
date:        Mon Mar 05 22:59:13 2012 -0800
summary:     Fix a comment: PySequence_Fast() creates a list, not a tuple.

The included patch applies cleanly to Python 2.7 and 3.2. When applying to 3.3, include the failure in Objects/abstract.c because the same change has already been made.

----------
keywords: +patch
Added file: http://bugs.python.org/file27857/16395.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16395>
_______________________________________


More information about the Python-bugs-list mailing list