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

ASF subversion and git services commented on IMPALA-11952:
----------------------------------------------------------

Commit ba3518366a503efceb859102c8e6d6450083ae38 in impala's branch 
refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=ba3518366 ]

IMPALA-11952 (part 4): Fix odds and ends: Octals, long, lambda, etc.

There are a variety of small python 3 syntax differences:
 - Octal constants need to start with 0o rather than just 0
 - Long constants are not supported (i.e. numbers ending with L)
 - Lambda syntax is slightly different
 - The 'ur' string mode is no longer supported

Testing:
 - check-python-syntax.sh now passes

Change-Id: Ie027a50ddf6a2a0db4b34ec9b49484ce86947f20
Reviewed-on: http://gerrit.cloudera.org:8080/19554
Reviewed-by: Joe McDonnell <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Michael Smith <[email protected]>


> Fix all syntax errors for Python 3
> ----------------------------------
>
>                 Key: IMPALA-11952
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11952
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>    Affects Versions: Impala 4.3.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> There are several categories of syntax fixes:
>  # Except syntax
>  # Raise syntax
>  # print function
>  # Odds and ends (octal constants, long constants, etc)
> Note that this does not cover non-syntax issues like xrange or iteritems.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to