General module name clash problem?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Fri Oct 19 07:34:58 EDT 2007


On Fri, 19 Oct 2007 13:09:22 +0200, jipjip wrote:

> I mean, this is a general problem.
> Must i look for every module that gets importet for not clashing
> with my module files residing in the calling directory?

Yes.

> Is the python package system insufficient, is there something wrong with 
> my opinions or do i need a "gotcha"?

The package system is not insufficient but could solve your problem
actually.  Don't put all your modules simply in the same directory but in a
package so that your `whatever.pickle` does not clash with the standard
`pickle` anymore.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list