On Wed, Jan 23, 2019 at 6:10 PM dieter <die...@handshake.de> wrote:
> >  Did 2to3 do its job well
>
> I have not used "2to3" -- because I doubt, that it can handle
> important cases, i.e. when a Python 2 "str" must become a Python 3 bytes
> or when a "dict.{keys, values, items}" must be listified.

Have you tried? It errs on the side of safety. Your code should be
functional, and then if you decide that they _don't_ need to be
listified, you can remove the list() call.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to