[ 
https://issues.apache.org/jira/browse/BEAM-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16663113#comment-16663113
 ] 

Valentyn Tymofieiev commented on BEAM-5322:
-------------------------------------------

Observation: infer_return_type_func returns inconsistent results.

For the same lambda function ` on Python 2 and Python 3 for the same lambda 
function `lambda x, s: [x * y for y in s]`,

Python 2 returns `set([List[Any]])`, while Python 3 returns Any.

[~robertwb], do you have an intuition how critical are correct type inferences 
for successful pipeline execution? Is this an important functionality or 
something we can potentially disable if it does not work on Python 3 and 
requires significant effort to fix?  

> Finish Python 3 porting for typehints module
> --------------------------------------------
>
>                 Key: BEAM-5322
>                 URL: https://issues.apache.org/jira/browse/BEAM-5322
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Robbe
>            Assignee: Simon
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to