<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jeremy&#039;s Thoughts &#187; rhpl</title>
	<atom:link href="http://velohacker.com/tag/rhpl/feed/" rel="self" type="application/rss+xml" />
	<link>http://velohacker.com</link>
	<description>Ramblings of a Cyclist Hacker</description>
	<lastBuildDate>Thu, 19 Apr 2012 15:50:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Repeating the cycle, time to kill rhpl</title>
		<link>http://velohacker.com/2009/06/30/repeating-the-cycle-time-to-kill-rhpl/</link>
		<comments>http://velohacker.com/2009/06/30/repeating-the-cycle-time-to-kill-rhpl/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:01:47 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[rhpl]]></category>

		<guid isPermaLink="false">http://velohacker.com/?p=3863</guid>
		<description><![CDATA[Continuing on the historical vein, once upon a time there was a package included in Red Hat Linux called pythonlib. One of the things I helped do was to finish killing it off. We went along and then a few &#8230; <a href="http://velohacker.com/2009/06/30/repeating-the-cycle-time-to-kill-rhpl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Continuing on the historical vein, once upon a time there was a package included in Red Hat Linux called <code>pythonlib</code>.  One of the things I helped do was to finish killing it off.  We went along and then a few releases later, wanted to share some python code again.  Thus was born <code>rhpl</code> &#8211; the Red Hat Python Library.  It started out simply enough &#8212; some wrappers for translation stuff and one or two other little things.  And then it began to grow, as these things do over time.  Some of the things made sense, some less so.  Over time, pieces have moved around into other things (including <code>rhpxl</code> &#8212; the Red Hat Python Xconfig library)</p>
<p>Fast-forward to today and it&#8217;s a bit of a mess with things contributed by various people and used in one config tool (or two) and barely maintained.  Also a lot of the things being wrapped have gotten a lot better in the python standard library.  The <code>gettext</code> module is leaps and bounds better than the one from python 1.5 and also the <code>subprocess</code> module is awesome for spawning processes.</p>
<p>Therefore, I think it&#8217;s time to continue the cycle and <a href="http://bugzilla.redhat.com/508951">kill off <code>rhpl</code> for Fedora 12</a>.  I&#8217;m starting to make patches and file them for packages using <code>rhpl</code> to transition them over.  Help much appreciated from anyone that wants to join in.</p>
<p>For the <code>rhpl.translate</code> -&gt; <code>gettext</code> case, you generally want to replace the import of _ and N_ from rhpl.translate with something like</p>
<blockquote><p>
import gettext<br />
_ = lambda x: gettext.ldgettext(domain, x)<br />
N_ = lambda x: x
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://velohacker.com/2009/06/30/repeating-the-cycle-time-to-kill-rhpl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

