<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>comp.lang.python Google Group</title>
  <link>http://groups.google.com.au/group/comp.lang.python</link>
  <description>The Python computer language.</description>
  <language>en</language>
  <item>
  <title>Re: How to parse HTTP time header?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db100807eb1bea31?show_docid=db100807eb1bea31</link>
  <description>
  Sorry, my mistake -- 2616 != 2822. I&#39;m not sure if there&#39;s something &lt;br&gt; in the standard library for parsing RFC 2616 dates. &lt;br&gt; When I faced the problem of parsing HTTP dates, I wrote my own &lt;br&gt; function although this was in an application that was deliberately &lt;br&gt; unforgiving of invalid input and therefore my code makes no allowances
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db100807eb1bea31?show_docid=db100807eb1bea31</guid>
  <author>
  phi...@semanchuk.com
  (Philip Semanchuk)
  </author>
  <pubDate>Sun, 08 Nov 2009 04:19:11 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to parse HTTP time header?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db0df83b42850e71?show_docid=db0df83b42850e71</link>
  <description>
  The parsedate() function in the rfc822 module does this and claims to &lt;br&gt; be tolerant of slightly malformed dates, but that module is deprecated &lt;br&gt; as of Python 2.5 in favor of the email module which hopefully has an &lt;br&gt; equivalent function. &lt;br&gt; HTH &lt;br&gt; Philip
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db0df83b42850e71?show_docid=db0df83b42850e71</guid>
  <author>
  phi...@semanchuk.com
  (Philip Semanchuk)
  </author>
  <pubDate>Sun, 08 Nov 2009 03:48:28 UT
</pubDate>
  </item>
  <item>
  <title>Re: Cancelling a python thread (revisited...)</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/e60ad7e7cc2b0bee?show_docid=e60ad7e7cc2b0bee</link>
  <description>
  It doesn&#39;t sound like the thread is communicating with the process &lt;br&gt; much. Therefore: &lt;br&gt; 1. Run the C code in a separate process, or &lt;br&gt; 2. Create the thread from a C extension, maybe even straight from &lt;br&gt; ctypes, and kill it from C or ctypes. &lt;br&gt; Arguing that there are good reasons to allow killing threads isn&#39;t &lt;br&gt; going to get you very far. The language developers already know
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/e60ad7e7cc2b0bee?show_docid=e60ad7e7cc2b0bee</guid>
  <author>
  pavlovevide...@gmail.com
  (Carl Banks)
  </author>
  <pubDate>Sun, 08 Nov 2009 03:27:52 UT
</pubDate>
  </item>
  <item>
  <title>Re: An assessment of Tkinter and IDLE</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/5d422ac4834c174f/d4058bafd9a2b6f8?show_docid=d4058bafd9a2b6f8</link>
  <description>
  More on canvas widget... &lt;br&gt; The Canvas widget should return objects and not simple tags/ids for &lt;br&gt; canvas items *OR* at least allow for me to add attributes to the &lt;br&gt; canvasitems &amp;quot;obj&amp;quot;. I find that the id/tag system --while quite simple &lt;br&gt; and strait forward-- can really leave you with both hands tied behind &lt;br&gt; you back whilst suffering a wicked itch on the tip of your nose that
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/5d422ac4834c174f/d4058bafd9a2b6f8?show_docid=d4058bafd9a2b6f8</guid>
  <author>
  rt8...@gmail.com
  (r)
  </author>
  <pubDate>Sun, 08 Nov 2009 02:57:26 UT
</pubDate>
  </item>
  <item>
  <title>Cancelling a python thread (revisited...)</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/da2446151896ac0d?show_docid=da2446151896ac0d</link>
  <description>
  Hi, &lt;br&gt; the Python threading module does not seem to provide a means to cancel &lt;br&gt; a running thread. There are many discussions on the web dealing with &lt;br&gt; this issue and many solutions are offered, but none of them seems to &lt;br&gt; be applicable to my situation, which is as follows: &lt;br&gt; I have a C library which does some very computationally intensive
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/da2446151896ac0d?show_docid=da2446151896ac0d</guid>
  <author>
  s...@pantoffel-wg.de
  (Sven Marnach)
  </author>
  <pubDate>Sun, 08 Nov 2009 02:04:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: PyQt processEvents not processing</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/9641b9303f527398/fc0e6775adfbb845?show_docid=fc0e6775adfbb845</link>
  <description>
  As per your suggestion I added a timer to the init part and now the &lt;br&gt; update works as expected , even without calls to processEvents. &lt;br&gt; self.myTimer = QtCore.QTimer(self) &lt;br&gt; QtCore.QObject.connect(self.my Timer,QtCore.SIGNAL(&amp;quot;timeout() &amp;quot;), &lt;br&gt; self.doUpdate) &lt;br&gt; self.timerTime = 0 &lt;br&gt; self.myTimer.start(2000) &lt;br&gt; Thanks &lt;br&gt; Db
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/9641b9303f527398/fc0e6775adfbb845?show_docid=fc0e6775adfbb845</guid>
  <author>
  pict...@gmail.com
  (DarkBlue)
  </author>
  <pubDate>Sun, 08 Nov 2009 02:16:50 UT
</pubDate>
  </item>
  <item>
  <title>Re: Web development with Python 3.1</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/367025d4d9a2e15d/02dec6ea36553c87?show_docid=02dec6ea36553c87</link>
  <description>
  Thanks for those links Mario - I&#39;ll check them out asap.. &lt;br&gt; Regards, &lt;br&gt; Alan
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/367025d4d9a2e15d/02dec6ea36553c87?show_docid=02dec6ea36553c87</guid>
  <author>
  a...@baselinedata.co.uk
  (Alan Harris-Reid)
  </author>
  <pubDate>Sun, 08 Nov 2009 02:08:22 UT
</pubDate>
  </item>
  <item>
  <title>Re: is None or == None ?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/1d9112d5bbe243d3/3ec0a609ed90a95c?show_docid=3ec0a609ed90a95c</link>
  <description>
  I&#39;m not sure I understand this. How would you implement tagged integers &lt;br&gt; without encoding type information in bits of the pointer value?
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/1d9112d5bbe243d3/3ec0a609ed90a95c?show_docid=3ec0a609ed90a95c</guid>
  <author>
  hnik...@xemacs.org
  (Hrvoje Niksic)
  </author>
  <pubDate>Sun, 08 Nov 2009 01:25:42 UT
</pubDate>
  </item>
  <item>
  <title>Re: How convert string &#39;1e7&#39; to an integer?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/9d389203198d21b2?show_docid=9d389203198d21b2</link>
  <description>
  Bah...so narrow-minded ;-) &lt;br&gt; &amp;gt;&amp;gt;&amp;gt; print &#39;\n&#39;.join(&amp;quot;Base %i: %i&amp;quot; % (base, int(&#39;1e7&#39;, &lt;br&gt; base=base)) for base in range(15,37)) &lt;br&gt; Base 15: 442 &lt;br&gt; Base 16: 487 &lt;br&gt; Base 17: 534 &lt;br&gt; Base 18: 583 &lt;br&gt; Base 19: 634 &lt;br&gt; Base 20: 687 &lt;br&gt; Base 21: 742 &lt;br&gt; Base 22: 799 &lt;br&gt; Base 23: 858 &lt;br&gt; Base 24: 919 &lt;br&gt; Base 25: 982 &lt;br&gt; Base 26: 1047 &lt;br&gt; Base 27: 1114 &lt;br&gt; Base 28: 1183
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/9d389203198d21b2?show_docid=9d389203198d21b2</guid>
  <author>
  python.l...@tim.thechases.com
  (Tim Chase)
  </author>
  <pubDate>Sun, 08 Nov 2009 02:05:22 UT
</pubDate>
  </item>
  <item>
  <title>Re: How convert string &#39;1e7&#39; to an integer?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/54ad8fda72c9fece?show_docid=54ad8fda72c9fece</link>
  <description>
  1e7 is a way to express a float in science and math. Try float(&amp;quot;1e7&amp;quot;) &lt;br&gt; Christian
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/54ad8fda72c9fece?show_docid=54ad8fda72c9fece</guid>
  <author>
  li...@cheimes.de
  (Christian Heimes)
  </author>
  <pubDate>Sun, 08 Nov 2009 01:55:08 UT
</pubDate>
  </item>
  <item>
  <title>Re: How convert string &#39;1e7&#39; to an integer?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/48ac18180765c5fc?show_docid=48ac18180765c5fc</link>
  <description>
  Whenever you use that notation, you always get a float &lt;br&gt; 10000000.0 &lt;br&gt; So to convert &#39;1e7&#39; to a number, you need to use float(&#39;1e7&#39;) which &lt;br&gt; you can then convert to an int &lt;br&gt; 10000000
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/48ac18180765c5fc?show_docid=48ac18180765c5fc</guid>
  <author>
  benjamin.kap...@case.edu
  (Benjamin Kaplan)
  </author>
  <pubDate>Sun, 08 Nov 2009 01:52:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: How convert string &#39;1e7&#39; to an integer?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/f6e8e9431659a6c6?show_docid=f6e8e9431659a6c6</link>
  <description>
  But 1e7 is a valid float, so this works: &lt;br&gt; &amp;gt;&amp;gt;&amp;gt; int(float(&#39;1e7&#39;)) &lt;br&gt; 10000000 &lt;br&gt; That has a problem though, if you surpass the ability of a float: &lt;br&gt; &amp;gt;&amp;gt;&amp;gt; int(float(&#39;1e20&#39;)) &lt;br&gt; 100000000000000000000L &lt;br&gt; &amp;gt;&amp;gt;&amp;gt; int(float(&#39;1e30&#39;)) &lt;br&gt; 100000000000000001988462483865 6L &lt;br&gt; Gary Herron
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/f6e8e9431659a6c6?show_docid=f6e8e9431659a6c6</guid>
  <author>
  gher...@islandtraining.com
  (Gary Herron)
  </author>
  <pubDate>Sun, 08 Nov 2009 01:50:53 UT
</pubDate>
  </item>
  <item>
  <title>Re: How convert string &#39;1e7&#39; to an integer?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/94ba609283821c20?show_docid=94ba609283821c20</link>
  <description>
  Well played, sir.
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/94ba609283821c20?show_docid=94ba609283821c20</guid>
  <author>
  ben+pyt...@benfinney.id.au
  (Ben Finney)
  </author>
  <pubDate>Sun, 08 Nov 2009 01:49:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: How convert string &#39;1e7&#39; to an integer?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/01785e5eff28450b?show_docid=01785e5eff28450b</link>
  <description>
  In Python the e-form indicates a float, as does the presence of a &lt;br&gt; decimal point, but you can convert to float and then to int: &lt;br&gt; &amp;gt;&amp;gt;&amp;gt; int(float(&#39;1e7&#39;)) &lt;br&gt; 10000000
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/01785e5eff28450b?show_docid=01785e5eff28450b</guid>
  <author>
  pyt...@mrabarnett.plus.com
  (MRAB)
  </author>
  <pubDate>Sun, 08 Nov 2009 01:45:57 UT
</pubDate>
  </item>
  <item>
  <title>Re: How convert string &#39;1e7&#39; to an integer?</title>
  <link>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/2f449a089b92bdaa?show_docid=2f449a089b92bdaa</link>
  <description>
  It seems it does, though: &lt;br&gt; 487 &lt;br&gt; Mick.
  </description>
  <guid isPermaLink="true">http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/2f449a089b92bdaa?show_docid=2f449a089b92bdaa</guid>
  <author>
  mad.m...@gmx.de
  (Mick Krippendorf)
  </author>
  <pubDate>Sun, 08 Nov 2009 01:42:21 UT
</pubDate>
  </item>
  </channel>
</rss>
