Steven D'Aprano wrote:
(snip)

> I say "think you want" because I don't know what problem you are trying to
> solve with this messy, self-referential, piece of code.

This messy piece of code is mine, thanks !-)

And it's not "self-referential" - it introduces a references cycle
(class object -> instances -> class object), which may or may not be a
problem.

> If you could
> explain what your goal is, 

He did (more or less), please read the original post.

> there is probably a better way of reaching it.

Probably, yes.

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to