[ https://issues.apache.org/jira/browse/BEAM-3981?focusedWorklogId=90708&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-90708 ]
ASF GitHub Bot logged work on BEAM-3981: ---------------------------------------- Author: ASF GitHub Bot Created on: 13/Apr/18 06:38 Start Date: 13/Apr/18 06:38 Worklog Time Spent: 10m Work Description: tvalentyn commented on a change in pull request #5053: [BEAM-3981] Futurize coders subpackage URL: https://github.com/apache/beam/pull/5053#discussion_r181296673 ########## File path: sdks/python/apache_beam/coders/coders_test_common.py ########## @@ -129,7 +130,7 @@ def test_dill_coder(self): def test_fast_primitives_coder(self): coder = coders.FastPrimitivesCoder(coders.SingletonCoder(len)) - self.check_coder(coder, None, 1, -1, 1.5, 'str\0str', u'unicode\0\u0101') + self.check_coder(coder, None, 1, -1, 1.5, b'str\0str', u'unicode\0\u0101') self.check_coder(coder, (), (1, 2, 3)) self.check_coder(coder, [], [1, 2, 3]) self.check_coder(coder, dict(), {'a': 'b'}, {0: dict(), 1: len}) Review comment: Also here 'a' and 'b' are not bytestrings. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 90708) Time Spent: 8h 40m (was: 8.5h) > Futurize and fix python 2 compatibility for coders package > ---------------------------------------------------------- > > Key: BEAM-3981 > URL: https://issues.apache.org/jira/browse/BEAM-3981 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core > Reporter: Robbe > Assignee: Ahmet Altay > Priority: Major > Time Spent: 8h 40m > Remaining Estimate: 0h > > Run automatic conversion with futurize tool on coders subpackage and fix > python 2 compatibility. This prepares the subpackage for python 3 support. -- This message was sent by Atlassian JIRA (v7.6.3#76005)