>> I have a namespace collision with MiscUtils/inspect.py because it >> gets imported before the default python2.4/inspect.py, and this is >> causing problems with another python package we are using. (of course >> i have the MiscUtils directory in my path...) > > Did you put MiscUtils in the path or is Webware doing this somewhere?
yes i have put MiscUtils in the path specifically; i don't remember why at the moment [time passes] so I did some investigation and i found a checkin by another developer that added that to our path back in 2003 so that importing DBPool didn't need a prefix of 'MiscUtils'. Of course shortly after that DBPool.py was moved elsewhere in our code tree to account for some custom modifications, so it didn't matter one way or another, but we use DBUtils now, so this whole problem might be moot for me if i clean up some code. (i don't see any other need for MiscUtils directly in my python path now). (yes my group at work has been using Webware/WebKit that long) >> So the easy fix (for me) is to rename MiscUtils/inspect.py to >> MiscUtils/ww_inspect.py > > Maybe we should move this and other old modules which are in the stdlib > now (pydoc, cgitb, Cookie, ...) into a package "MiscUtils.StdLib"? > >> ! from MiscUtils import ww_inspect > > You mean from MiscUtils import ww_inspect as inspect? > right-o; i should try my patches first... i'm still digging through a few other migration to 1.0rc issues so we'll see how that goes =) -- Jehiah http://jehiah.cz/ ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel