Skip to content

Use print() function in both Python 2 and Python 3 - #7383

Merged
htuch merged 1 commit into
envoyproxy:masterfrom
cclauss:patch-2
Jun 24, 2019
Merged

htuch merged 1 commit into
envoyproxy:masterfrom
cclauss:patch-2

Conversation

@cclauss

@cclauss cclauss commented Jun 24, 2019

Copy link
Copy Markdown
Contributor

Related to #4552

Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3.

Signed-off-by: Christian Clauss [email protected]

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Related to envoyproxy#4552

Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3.

Signed-off-by: Christian Clauss [email protected]
Signed-off-by: cclauss <[email protected]>

@htuch htuch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@htuch
htuch merged commit c390bbd into envoyproxy:master Jun 24, 2019
@cclauss
cclauss deleted the patch-2 branch June 25, 2019 05:18
htuch pushed a commit that referenced this pull request Jun 27, 2019
Blocked by: #7383, #7384, and #7385

Related to: #4552 #7322 

Signed-off-by: cclauss [email protected]

Also adds more critical flake8 tests.

Signed-off-by: cclauss <[email protected]>
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.

2 participants