You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Valentyn Tymofieiev (Jira)" <ji...@apache.org> on 2021/09/24 06:46:00 UTC

[jira] [Updated] (BEAM-3761) Fix Python 3 cmp function

     [ https://issues.apache.org/jira/browse/BEAM-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentyn Tymofieiev updated BEAM-3761:
--------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Open)

> Fix Python 3 cmp function
> -------------------------
>
>                 Key: BEAM-3761
>                 URL: https://issues.apache.org/jira/browse/BEAM-3761
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Holden Karau
>            Priority: P3
>          Time Spent: 14h 20m
>  Remaining Estimate: 0h
>
> Various functions don't exist in Python 3 that did in python 2. This Jira is to fix the use of cmp (which often will involve rewriting __cmp__ as well).
>  
> Note: there are existing PRs for basestring and unicode ( [https://github.com/apache/beam/pull/4697|https://github.com/apache/beam/pull/4697,] , [https://github.com/apache/beam/pull/4730] )
>  
> Note once all of the missing names/functions are fixed we can enable F821 in falke8 python 3.



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