Comment #4 on issue 543 by vlada.pe...@gmail.com: warnings on python setup.py build
http://code.google.com/p/sympy/issues/detail?id=543

Yes, you can have empty __init__ files, even the documentation says so. From [1]:

"The __init__.py files are required to make Python treat the directories as containing packages; this is done to prevent directories with a common name, such as string, from unintentionally hiding valid modules that occur later on the module search path. In the simplest case, __init__.py can just be an empty file, but it can also execute initialization code for the package or set the __all__ variable, described later."

[1] http://docs.python.org/tutorial/modules.html

So yeah, they're harmless, but you can silence the warnings (and perhaps prevent some future issues) by adding empty __init__.py files.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to