Bernie H. Innocenti <ber...@codewiz.org> added the comment:

While we're waiting for this patch to be upstreamed, what's the best way to 
emulate this functionality with the current gettext module?

I'm looking at the patch and it seems that code similar to this might work?

  def pgettext(ctx, msg):
     return gettext(ctx + "\x04" + msg)

----------
nosy: +bernie

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2504>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to