Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/1628#issuecomment-50691939
  
    @mengxr Yeah, that would be okay to use but it turns out that it doesn't 
solve the `lin_alg.py` problem. 
    
     `from __future__ import absolute_import` enables absolute imports, but 
_only in the file that contains it_.  In the failing `linalg.py` example, the 
problematic `import random` occurred in third-party code.  If _they_ added 
`from __future__ import absolute_import`, things would work fine.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to