[issue41030] Provide toList() method on iterators/generators (`list()` is a flow killer in REPL)

Julien H report at bugs.python.org
Fri Jun 19 04:59:52 EDT 2020


Julien H <julien.harbulot at epfl.ch> added the comment:

Hello Ammar Askar,

I agree `_` avoids the "up arrow" problem I mentioned in the REPL. 

I actually primarily use jupyter notebooks in my work.

Point 1. in my first message is the primary issue. Having to edit the line in two places to perform one action has driven me crazy over and over.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41030>
_______________________________________


More information about the Python-bugs-list mailing list