You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2023/03/09 17:38:00 UTC
[jira] [Resolved] (IMPALA-11977) Fix broken imports on Python 3 and Python 3 object model differences
[ https://issues.apache.org/jira/browse/IMPALA-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe McDonnell resolved IMPALA-11977.
------------------------------------
Fix Version/s: Impala 4.3.0
Assignee: Joe McDonnell
Resolution: Fixed
> Fix broken imports on Python 3 and Python 3 object model differences
> --------------------------------------------------------------------
>
> Key: IMPALA-11977
> URL: https://issues.apache.org/jira/browse/IMPALA-11977
> Project: IMPALA
> Issue Type: Sub-task
> Components: Infrastructure
> Affects Versions: Impala 4.3.0
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Major
> Fix For: Impala 4.3.0
>
>
> Several libraries moved in Python 3. For example, urllib2, httplib, Queue, and several others. See:
> [https://python-future.org/compatible_idioms.html#urllib-module]
> [https://python-future.org/compatible_idioms.html#http-module]
> This is also a good time to fix several warnings about object model differences. __nonzero__ is now __bool__, metaclasses are specified differently, iterator next() method is deprecated, objects that implement __eq__ should also implement __hash__, etc.
> The pylint checks that could be fixed by this would be:
> bad-python3-import
> eq-without-hash
> metaclass-assignment
> next-method-called
> nonzero-method
> comprehension-escape
> exception-escape
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org