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

Nicholas Jiang commented on FLINK-19892:
----------------------------------------

[~hxbks2ks], have you already completed for this issue? If not, could you 
please assign this to me?

> Replace __metaclass__ field with metaclass keyword
> --------------------------------------------------
>
>                 Key: FLINK-19892
>                 URL: https://issues.apache.org/jira/browse/FLINK-19892
>             Project: Flink
>          Issue Type: New Feature
>          Components: API / Python
>            Reporter: Huang Xingbo
>            Priority: Major
>
> __metaclass__ is not compatible in some scenarios of python3 e.g.
>  
> {code:java}
> >>> from pyflink.serializers import Serializer
> >>> import inspect
> >>> inspect.isabstract(Serializer)
> False{code}
>  
> We can replace __metaclass__ field with 
> [metaclass|https://www.python.org/dev/peps/pep-3115/] keyword to solve these 
> problem. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to