[ https://issues.apache.org/jira/browse/BEAM-3761?focusedWorklogId=118475&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-118475 ]
ASF GitHub Bot logged work on BEAM-3761: ---------------------------------------- Author: ASF GitHub Bot Created on: 02/Jul/18 23:07 Start Date: 02/Jul/18 23:07 Worklog Time Spent: 10m Work Description: superbobry edited a comment on issue #5843: [BEAM-3761] Define cmp() in Python 3 URL: https://github.com/apache/beam/pull/5843#issuecomment-401963701 I'm curious, why does Cython fail on Jenkins? I've tried locally with both Python 2.7 and 3.6 and Cython 0.28.1, and the following imports fine: ```python from past.builtins import unicode print(unicode) ``` ---------------------------------------------------------------- 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: 118475) Time Spent: 10h 10m (was: 10h) > 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: holdenk > Priority: Major > Time Spent: 10h 10m > 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 (v7.6.3#76005)