You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/06/03 19:31:00 UTC

[jira] [Commented] (BEAM-3723) Duration, Timestamp, and Window in utils/ are incompatible with Python 3

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

Kenneth Knowles commented on BEAM-3723:
---------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/18619

> Duration, Timestamp, and Window in utils/ are incompatible with Python 3
> ------------------------------------------------------------------------
>
>                 Key: BEAM-3723
>                 URL: https://issues.apache.org/jira/browse/BEAM-3723
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Luke Zhu
>            Priority: P3
>
> They use __cmp__ instead of rich comparison operators __eq__, __lt__, etc.
> This can be fixed by updating the Cython version (0.27.1 supports rich comparions), or possibly by configuring cythonize.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)