Skip to content

code rewriten into python3#1

Open
psklenar wants to merge 1 commit intoSECFORCE:masterfrom
psklenar:python3rewrite
Open

code rewriten into python3#1
psklenar wants to merge 1 commit intoSECFORCE:masterfrom
psklenar:python3rewrite

Conversation

@psklenar
Copy link

This is about rewritten into python3.

There is one suspicious part where python3 denied tuple as parameter:

def datagramReceived(self, data, (host, port))

And it was rewritten like : (a,b) > a_b
So it looks like now:
def datagramReceived(self, data, host_port):

= tuple parameter info =
https://twistedmatrix.com/trac/ticket/8346

I tried at :
fedora29 with python3-3.7.4-1.fc29.x86_64
fedora32 with python3-3.8.0~b4-1.fc32.x86_64

please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant