You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/08/09 14:24:00 UTC

[jira] [Commented] (PROTON-2590) Remove "from __future__ import ..." as they are all the default behaviour for Python 3

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

ASF subversion and git services commented on PROTON-2590:
---------------------------------------------------------

Commit a4375a8351c3435bd5025bb2481307efe97dc99e in qpid-proton's branch refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=a4375a835 ]

PROTON-2590: [Python] Remove use of "from __future__ import ..."

Every one of these future imports that we use is already the default for
Python 3 so we no longer need any of them.

- Also a couple of other small changes where we are checking for things
  that are different with Python 2.


> Remove "from __future__ import ..." as they are all the default behaviour for Python 3
> --------------------------------------------------------------------------------------
>
>                 Key: PROTON-2590
>                 URL: https://issues.apache.org/jira/browse/PROTON-2590
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: python-binding
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Minor
>
> As we now only support Python 3 we can remove all instances of
> {{from __future__ import ...}} as every one that we use is the default for Python 3.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org