New submission from Rohith PR: It would be cleaner to do list(obj) than obj.to_list() (Eg: in numpy).
PS: this is the first time that I'm contributing to python. If this feature request is accepted can I work on it myself? ---------- messages: 244522 nosy: Rohith.PR priority: normal severity: normal status: open title: Provide __list__(self) along the lines of __str__(self) type: enhancement versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24335> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com