You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Mike Dusenberry (JIRA)" <ji...@apache.org> on 2016/07/29 16:08:20 UTC

[jira] [Resolved] (SYSTEMML-829) Python API Broken In Python 3 Due To Inclusion Of Tabs In Source File

     [ https://issues.apache.org/jira/browse/SYSTEMML-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Dusenberry resolved SYSTEMML-829.
--------------------------------------
    Resolution: Fixed

> Python API Broken In Python 3 Due To Inclusion Of Tabs In Source File
> ---------------------------------------------------------------------
>
>                 Key: SYSTEMML-829
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-829
>             Project: SystemML
>          Issue Type: Bug
>    Affects Versions: SystemML 0.9, SystemML 0.10, SystemML 0.11
>            Reporter: Mike Dusenberry
>            Assignee: Mike Dusenberry
>            Priority: Minor
>             Fix For: SystemML 0.11, SystemML 0.10.1
>
>
> Currently, our Python Api ({{SystemML.py}}) does not support Python 3 due to accidental inclusion of tabs into the source file.  Both Python 2 and Python 3 heavily discourage the use of any tabs, and Python 3 explicitly does not allow a file to contain both tabs and spaces \[1].  Therefore, this fix will replace any tabs with spaces, and we must ensure that any future Python additions **only** include spaces.
> \[1]: [PEP 8 | https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)