[PATCH] Rename posix to hgposix to prevent name clash (issue1575)

Éric Araujo merwok at netwok.org
Fri Apr 10 14:38:27 CDT 2009


Hello

PEP 328 [1] solves this shadowing import problem durably and without
adhockery (i.e. forcing each and every package to rename modules
conflicting with one in the stdlib). However, I’m afraid explicit
relative imports are only in Python 2.5+, so I give the link
merely for future reference.

By the way, where can we find a policy about supported Python versions?

This is my first posting. I’ll take the occasion to thank you all for
the awesome tool that is Mercurial.

Kind regards, Éric Araujo


[1] PEP 328, “Imports: Multi-Line and Absolute/Relative”,
http://www.python.org/dev/peps/pep-0328/



More information about the Mercurial-devel mailing list