rotor alternative?

Will Stuyvesant hwlgw at hotmail.com
Tue Nov 18 16:42:40 EST 2003


> [Robin Becker]
> It seems that the rotor module is being deprecated in 2.3, but there
> doesn't seem to be an obvious alternative. I'm using it just for
> obfuscation...

Deprecation is a very serious matter.  I love the Python language but
I have questions about the deprecation decisions.  The two
deprecations I hate most are rotor and xmllib.  I write software that
sometimes has to run on Python 1.5.2 too, because of lazy web
hostings, and I really hate to see the deprecation warnings now when I
run it with Python 2.3 on my laptop.  Doing

try: import newstuff
except ImportError: import oldstuff

and then all the tweaking makes me feel like deinstalling 2.3. and
installing 1.5.2 on the laptop too.  Especially when there are no real
good alternatives for the deprecated modules!  Use xml.sax instead of
xmllib you say?  NO!  The effbot said it well on c.l.p.: avoid SAX and
DOM like the plague.

-- 
rotor lives!




More information about the Python-list mailing list