[ https://issues.apache.org/jira/browse/BEAM-5324?focusedWorklogId=145568&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-145568 ]
ASF GitHub Bot logged work on BEAM-5324: ---------------------------------------- Author: ASF GitHub Bot Created on: 19/Sep/18 05:22 Start Date: 19/Sep/18 05:22 Worklog Time Spent: 10m Work Description: tvalentyn commented on a change in pull request #6424: [BEAM-5324] Partially port unpackaged modules to Python 3 URL: https://github.com/apache/beam/pull/6424#discussion_r218671781 ########## File path: sdks/python/apache_beam/runners/worker/bundle_processor.py ########## @@ -108,7 +106,7 @@ def __init__(self, operation_name, step_name, consumers, counter_factory, self.receivers = [ operations.ConsumerSet( self.counter_factory, self.name_context.step_name, 0, - next(itervalues(consumers)), self.windowed_coder)] + next(iter(consumers.values())), self.windowed_coder)] Review comment: What do you think about having `next(iter(itervalues(consumers)))` here to avoid expansion on Python 2? ---------------------------------------------------------------- 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: 145568) Time Spent: 1h 10m (was: 1h) > Finish Python 3 porting for unpackaged files > -------------------------------------------- > > Key: BEAM-5324 > URL: https://issues.apache.org/jira/browse/BEAM-5324 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core > Reporter: Robbe > Assignee: Robbe > Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)