Github user dorx commented on the pull request:

    https://github.com/apache/spark/pull/1628#issuecomment-50525518
  
    In NumPy's source, they had a directory named random: 
https://github.com/numpy/numpy/tree/master/numpy/random
    It seems like having directory hierarchy is the only way to organize 
packages:
    https://docs.python.org/2/tutorial/modules.html#packages
    In the flat structure that we have right now, naming a file random.py would 
override the python random package. We could either break the flat structure we 
currently have, rename the package to something else in Scala (although I don't 
know what's a good alternative), or let it be named something other than 
random. I'm okay with any of these options.


---
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