New submission from Austin Bingham:

When passed a weakref.proxy to a legitimate sequence, reversed() throws a 
TypeError complaining that its argument isn't a sequence. Perhaps this is the 
expected behavior, but it's surprising to at least me and the few others I've 
spoken with about it.

----------
components: Library (Lib)
files: reversed_proxy_failure.py
messages: 201002
nosy: abingham
priority: normal
severity: normal
status: open
title: reversed() does not work with weakref.proxy of sequences
type: behavior
versions: Python 2.7, Python 3.3
Added file: http://bugs.python.org/file32309/reversed_proxy_failure.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19359>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to