This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bernie
Recipients AndrewZiem, Flimm, bernie, bronger, cito, clouserw, dns, dwayne, franz_glasner, genepi, loewis, mitar, nh2, olivier-berten
Date 2010-05-20.00:07:16
SpamBayes Score 0.0018003403
Marked as misclassified No
Message-id <1274314038.23.0.698290210185.issue2504@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2010-05-20 00:07:19berniesetrecipients: + bernie, loewis, cito, bronger, genepi, franz_glasner, dwayne, AndrewZiem, dns, mitar, nh2, clouserw, Flimm, olivier-berten
2010-05-20 00:07:18berniesetmessageid: <1274314038.23.0.698290210185.issue2504@psf.upfronthosting.co.za>
2010-05-20 00:07:17bernielinkissue2504 messages
2010-05-20 00:07:16berniecreate