[ 
https://issues.apache.org/jira/browse/BEAM-3981?focusedWorklogId=99496&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-99496
 ]

ASF GitHub Bot logged work on BEAM-3981:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/May/18 12:44
            Start Date: 08/May/18 12:44
    Worklog Time Spent: 10m 
      Work Description: RobbeSneyders commented on issue #5053: [BEAM-3981] 
Futurize coders subpackage
URL: https://github.com/apache/beam/pull/5053#issuecomment-387389750
 
 
   I think we can remove the `range()` import from coders_impl.py without 
changing any behavior. We will have to disable the lint check for this file 
though.
   
   An alternative to the iteritems() import is using `for k, v in 
dict_value.items()`. This will have improved performance in Python 3, but will 
return a list on Python 2. This might however still perform better with Cython 
compared to the `iteritems()` import. Could you check this, @tvalentyn?

----------------------------------------------------------------
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: 99496)
    Time Spent: 15h 50m  (was: 15h 40m)

> 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 50m
>  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)

Reply via email to