Comment 6 for bug 1644003

Revision history for this message
Vincent Ladeuil (vila) wrote : Re: breaks with python 2.7.12-7

Reproduced \o/ Thanks Jelmer !

Adding 'de_DE.UTF-8 UTF-8' to /etc/locale.gen and running 'locale-gen' and then:

$ LANG=de_DE.UTF-8 LC_ALL=de_DE.UTF-8 ./bzr pull

I get the same issue.

@Russel:

Commenting line 115 in bzrlib/lazy_regexp.py:

=== modified file 'bzrlib/lazy_regex.py'
--- bzrlib/lazy_regex.py 2011-12-19 13:23:58 +0000
+++ bzrlib/lazy_regex.py 2016-11-26 10:32:53 +0000
@@ -112,7 +112,7 @@
     This overrides re.compile with lazy_compile. To restore the original
     functionality, call reset_compile().
     """
- re.compile = lazy_compile
+# re.compile = lazy_compile

 def reset_compile():

works around the issue:

LANG=de_DE.UTF-8 LC_ALL=de_DE.UTF-8 BZR_PDB=1 ./bzr pull
Gespeichertes übergeordnetes Verzeichnis wird verwendet: http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/
No revisions or tags to pull.
bzr: warning: some compiled extensions could not be loaded; see <https://answers.launchpad.net/bzr/+faq/703>

Can you confirm this works for you while I'll dig to fix ?