p4lang / ptf

Packet Test Framework
Apache License 2.0
146 stars 99 forks source link

Document Python 3 support #135

Closed rst0git closed 3 years ago

rst0git commented 3 years ago

Comparability with Python 3 has already been introduced with https://github.com/p4lang/ptf/pull/106.

Resolves #132

jfingerh commented 3 years ago

Executive summary: These changes look good to me.

More details: I have not been using all of PTF's capabilities, I am sure, but I have been running PTF tests with Python3 on an Ubuntu 20.04 system with no Python2 installed at all, plus several open source P4 dev tools, and I have not encountered any problems that I could track down to a problem with PTF code. (I have encountered and fixed several problems in Python code in my test scripts that was making calls to PTF methods, but not in PTF itself.)