[RFC] _chunks_to_lines_pyx rebuild problem

Martin Pool mbp at canonical.com
Thu May 28 21:24:44 BST 2009


2009/5/28 Alexander Belchenko <bialix at ukr.net>:

> Actually setup.py is importing bzrlib only (i.e. bzrlib/__init__.py).
> But bzrlib/__init__.py has following code:
>
> from bzrlib.osutils import get_user_encoding
>
> # XXX: Compatibility. This should probably be deprecated
> user_encoding = get_user_encoding()
>
>
> How to deprecate user_encoding member and remove import of osutils in __init__?

I can't work out how to deprecate that variable at reasonable cost so
I suggest we just delete it, treat it as an api break, and fix
whatever breaks.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list