You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/01/29 08:55:01 UTC
[jira] [Commented] (AVRO-2605) Use of `filter` function
incompatible with Python 3
[ https://issues.apache.org/jira/browse/AVRO-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17025716#comment-17025716 ]
ASF subversion and git services commented on AVRO-2605:
-------------------------------------------------------
Commit 2cfe522b08d07cbdfc037d6dbee3936601483616 in avro's branch refs/heads/branch-1.9 from Michael A. Smith
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=2cfe522 ]
AVRO-2605: Remove Use of Filter Function (#688)
> Use of `filter` function incompatible with Python 3
> ---------------------------------------------------
>
> Key: AVRO-2605
> URL: https://issues.apache.org/jira/browse/AVRO-2605
> Project: Apache Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.9.1
> Reporter: Michael A. Smith
> Assignee: Michael A. Smith
> Priority: Trivial
> Fix For: 1.10.0, 1.9.2
>
>
> The simple {{filter}} function was removed from being a builtin to being part of the standard library in python 3.
>
> It is used as a builtin here: [https://github.com/apache/avro/blob/master/lang/py/test/set_avro_test_path.py#L44]
>
> Therefore in order to make incremental progress in making lang/py python 3 compatible, we must remove the use of {{filter}} or import it from functools.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)