You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran into a case where a generator passed to
list.extend was raising the error "argument to list.extend
() must be iterable". It turned out that code inside the
generator was causing a TypeError. This error was then
caught by PySequence_Fast, which remapped it to its
error string parameter.
Attached is a modified PySequence_Fast which should
avoid this kind of masking.
I'm accepting this for Py2.4 but doubt that it should be
backported to Py2.3. Since only the message changes, no
ones code will live or die by this one.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: