@aaltay , see related discussion here: https://issues.apache.org/jira/browse/BEAM-5620.
@HuangLED We could reduce the number of lines by checking `if sys.version_info[0] < 3:`, but I'm OK either way since this PR already adds value. [ Full content available at: https://github.com/apache/beam/pull/6587 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org