On 2007-05-10 23:56:05 +0200, Vincent Lefevre wrote: > I've seen many problems after Python upgrades under Debian (e.g. > things that no longer work, probably because incompatibilities > between versions)...
Well, not only on Debian. With MacPorts too: the latest python upgrade (2.4.3_1 -> 2.4.4_0) breaks Mercurial: Traceback (most recent call last): File "/opt/local/bin/hg", line 10, in ? from mercurial import commands File "/opt/local/lib/python2.4/site-packages/mercurial/commands.py", line 2559, in ? globalopts = [ File "/opt/local/lib/python2.4/site-packages/mercurial/demandload.py", line 61, in __getattribute__ module = object.__getattribute__(self, 'module')() File "/opt/local/lib/python2.4/site-packages/mercurial/demandload.py", line 54, in module return object.__getattribute__(self, 'importer').module() File "/opt/local/lib/python2.4/site-packages/mercurial/demandload.py", line 30, in module self.fromlist) File "/opt/local/lib/python2.4/site-packages/mercurial/util.py", line 20, in ? _encoding = os.environ.get("HGENCODING") or locale.getpreferredencoding() \ File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/locale.py", line 399, in getpreferredencoding import _locale ImportError: No module named _locale -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users