[issue34893] Add 2to3 fixer to change send and recv methods of socket object.

Pranav Devarakonda report at bugs.python.org
Thu Oct 11 23:01:00 EDT 2018


Pranav Devarakonda <devarakondapranav at yahoo.com> added the comment:

I have added a final condition that converts the arguments passed to bytes only if the type of object is socket and the method is send() in the generated code. All the other conversions still function as expected.

----------
Added file: https://bugs.python.org/file47864/fix_socket_send_recv_reupdated.py

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


More information about the Python-bugs-list mailing list