F. Petitjean wrote: [snip] > Conclusion : > sre_compile and sre_parse should be coded with a __all__ attribute
Problem with this is that it would change the API for the two modules. And the main reason for the dependencies is that sre_constants is import-star'ed; same with sre_constants. But yes, it wouldn't hurt to lower them. But then again people are not supposed to be using these modules directly; they are there to provide support to the re module. > The standard library contains a module 'tzparse' which cannot be imported ! It can, but you must have the 'TZ' environment variable set. It's deprecated and has been moved to lib-old as of Python 2.5 . > Most library modules do not begin with #!/usr/bin/env python and a > coding cookie. > Not all modules are meant to be run as a script. Plus, with the advent of the '-m' argument for the interpreter it really isn't necessary. And as for the encoding cookie, most modules have been around much longer than that feature so they are almost all ASCII encoded. -Brett -- http://mail.python.org/mailman/listinfo/python-list