[rfc] bencode unicode strings
Alexander Belchenko
bialix at ukr.net
Tue Jun 16 19:50:53 BST 2009
Aaron Bentley пишет:
> I think you can actually use the standard API (though this wasn't
> intended behaviour)
>
> $ python
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import bzrlib.config
>>>> bzrlib.config.GlobalConfig().set_user_option('foo', {'me':'you'})
>>>> bzrlib.config.GlobalConfig().get_user_option('foo')
> {u'me': u'you'}
I will check this. Thanks.
More information about the bazaar
mailing list