<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A NAT-PMP client library for Python</title>
	<atom:link href="http://blog.yimingliu.com/2008/01/07/nat-pmp-client-library-for-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yimingliu.com/2008/01/07/nat-pmp-client-library-for-python/</link>
	<description>source control for my (useless) knowledge</description>
	<lastBuildDate>Tue, 09 Mar 2010 19:59:44 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: NatMap 0.0 &#171; Stranger At Large</title>
		<link>http://blog.yimingliu.com/2008/01/07/nat-pmp-client-library-for-python/comment-page-1/#comment-619</link>
		<dc:creator>NatMap 0.0 &#171; Stranger At Large</dc:creator>
		<pubDate>Thu, 21 May 2009 13:42:25 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2008/01/07/a-nat-pmp-client-library-for-python/#comment-619</guid>
		<description>[...] But it requires a rather large SOAP library.  For NAT-PMP there&#8217;s a few hacks (notably this) around, but nothing really [...]</description>
		<content:encoded><![CDATA[<p>[...] But it requires a rather large SOAP library.  For NAT-PMP there&#8217;s a few hacks (notably this) around, but nothing really [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yiming</title>
		<link>http://blog.yimingliu.com/2008/01/07/nat-pmp-client-library-for-python/comment-page-1/#comment-16</link>
		<dc:creator>yiming</dc:creator>
		<pubDate>Tue, 05 Feb 2008 11:45:00 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2008/01/07/a-nat-pmp-client-library-for-python/#comment-16</guid>
		<description>Hi roee shlomo,&lt;br/&gt;&lt;br/&gt;Thanks for the regex.  I&#039;ve integrated it.</description>
		<content:encoded><![CDATA[<p>Hi roee shlomo,</p>
<p>Thanks for the regex.  I&#8217;ve integrated it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roee Shlomo</title>
		<link>http://blog.yimingliu.com/2008/01/07/nat-pmp-client-library-for-python/comment-page-1/#comment-15</link>
		<dc:creator>Roee Shlomo</dc:creator>
		<pubDate>Tue, 05 Feb 2008 11:12:00 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2008/01/07/a-nat-pmp-client-library-for-python/#comment-15</guid>
		<description>Hi,&lt;br/&gt;&lt;br/&gt;I noticed the get_gateway_addr for nt systems is still TODO.&lt;br/&gt;I think the following pattern would work, the rest of the code should be exactly the same as the posix code. it works fine here.&lt;br/&gt;&lt;br/&gt;&gt;pattern = re.compile(&quot;.*?Default Gateway:[ ]+(.*?)\n&quot;)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I noticed the get_gateway_addr for nt systems is still TODO.<br />I think the following pattern would work, the rest of the code should be exactly the same as the posix code. it works fine here.</p>
<p>>pattern = re.compile(&#8220;.*?Default Gateway:[ ]+(.*?)\n&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yiming</title>
		<link>http://blog.yimingliu.com/2008/01/07/nat-pmp-client-library-for-python/comment-page-1/#comment-14</link>
		<dc:creator>yiming</dc:creator>
		<pubDate>Tue, 05 Feb 2008 01:10:00 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2008/01/07/a-nat-pmp-client-library-for-python/#comment-14</guid>
		<description>Hi anon,&lt;br/&gt;&lt;br/&gt;Thanks for the suggest/bug report.  The mutex was left over from when I tried to do a simple thread-safe queue for requests, as per the spec.   I decided to leave it for 0.0.2, and forgot to remove the half-baked attempt.&lt;br/&gt;&lt;br/&gt;I&#039;ve removed it for now until the exception raising and handling code gets cleaned up a bit.</description>
		<content:encoded><![CDATA[<p>Hi anon,</p>
<p>Thanks for the suggest/bug report.  The mutex was left over from when I tried to do a simple thread-safe queue for requests, as per the spec.   I decided to leave it for 0.0.2, and forgot to remove the half-baked attempt.</p>
<p>I&#8217;ve removed it for now until the exception raising and handling code gets cleaned up a bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.yimingliu.com/2008/01/07/nat-pmp-client-library-for-python/comment-page-1/#comment-13</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 04 Feb 2008 21:45:00 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2008/01/07/a-nat-pmp-client-library-for-python/#comment-13</guid>
		<description>One suggestion:&lt;br/&gt;put the send_request_with_retry calls inside a try-finally block.&lt;br/&gt;    &gt;try:&lt;br/&gt;    &gt; addr_response = send_request_with_retry(...)&lt;br/&gt;    &gt;finally:&lt;br/&gt;    &gt; request_mutex.unlock()</description>
		<content:encoded><![CDATA[<p>One suggestion:<br />put the send_request_with_retry calls inside a try-finally block.<br />    >try:<br />    > addr_response = send_request_with_retry(&#8230;)<br />    >finally:<br />    > request_mutex.unlock()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.yimingliu.com/2008/01/07/nat-pmp-client-library-for-python/comment-page-1/#comment-12</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 04 Feb 2008 18:54:00 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2008/01/07/a-nat-pmp-client-library-for-python/#comment-12</guid>
		<description>Many thanks!&lt;br/&gt;&lt;br/&gt;I really needed this one :)&lt;br/&gt;I&#039;m sure it would be useful for many python applications.&lt;br/&gt;Thanks again.</description>
		<content:encoded><![CDATA[<p>Many thanks!</p>
<p>I really needed this one <img src='http://blog.yimingliu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />I&#8217;m sure it would be useful for many python applications.<br />Thanks again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
