[
https://issues.apache.org/jira/browse/BEAM-3981?focusedWorklogId=96282&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-96282
]
ASF GitHub Bot logged work on BEAM-3981:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Apr/18 23:47
Start Date: 27/Apr/18 23:47
Worklog Time Spent: 10m
Work Description: robertwb commented on a change in pull request #5053:
[BEAM-3981] Futurize coders subpackage
URL: https://github.com/apache/beam/pull/5053#discussion_r184828680
##########
File path: sdks/python/apache_beam/coders/coder_impl.py
##########
@@ -253,8 +258,8 @@ def decode(self, encoded):
NONE_TYPE = 0
INT_TYPE = 1
FLOAT_TYPE = 2
-STR_TYPE = 3
-UNICODE_TYPE = 4
+BYTES_TYPE = 3
+TEXT_TYPE = 4
Review comment:
I would leave this as UNICODE_TYPE. TEXT_TYPE is ambiguous wrt. Python 2 vs.
3.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 96282)
Time Spent: 15h (was: 14h 50m)
> 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: Robbe
> Priority: Major
> Time Spent: 15h
> 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)