<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com.au/group/comp.lang.python</id>
  <title type="text">comp.lang.python Google Group</title>
  <subtitle type="text">
  The Python computer language.
  </subtitle>
  <link href="/group/comp.lang.python/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.python feed"/>
  <updated>2009-11-08T03:48:28Z</updated>
  <generator uri="http://groups.google.com.au" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Philip Semanchuk</name>
  <email>phi...@semanchuk.com</email>
  </author>
  <updated>2009-11-08T03:48:28Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db0df83b42850e71?show_docid=db0df83b42850e71</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/c5c429b469b2ced4/db0df83b42850e71?show_docid=db0df83b42850e71"/>
  <title type="text">Re: How to parse HTTP time header?</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Carl Banks</name>
  <email>pavlovevide...@gmail.com</email>
  </author>
  <updated>2009-11-08T03:27:52Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/e60ad7e7cc2b0bee?show_docid=e60ad7e7cc2b0bee</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/e60ad7e7cc2b0bee?show_docid=e60ad7e7cc2b0bee"/>
  <title type="text">Re: Cancelling a python thread (revisited...)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>r</name>
  <email>rt8...@gmail.com</email>
  </author>
  <updated>2009-11-08T02:57:26Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/5d422ac4834c174f/d4058bafd9a2b6f8?show_docid=d4058bafd9a2b6f8</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/5d422ac4834c174f/d4058bafd9a2b6f8?show_docid=d4058bafd9a2b6f8"/>
  <title type="text">Re: An assessment of Tkinter and IDLE</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sven Marnach</name>
  <email>s...@pantoffel-wg.de</email>
  </author>
  <updated>2009-11-08T02:04:04Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/da2446151896ac0d?show_docid=da2446151896ac0d</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/af903ef349b1bddf/da2446151896ac0d?show_docid=da2446151896ac0d"/>
  <title type="text">Cancelling a python thread (revisited...)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>DarkBlue</name>
  <email>pict...@gmail.com</email>
  </author>
  <updated>2009-11-08T02:16:50Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/9641b9303f527398/fc0e6775adfbb845?show_docid=fc0e6775adfbb845</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/9641b9303f527398/fc0e6775adfbb845?show_docid=fc0e6775adfbb845"/>
  <title type="text">Re: PyQt processEvents not processing</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alan Harris-Reid</name>
  <email>a...@baselinedata.co.uk</email>
  </author>
  <updated>2009-11-08T02:08:22Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/367025d4d9a2e15d/02dec6ea36553c87?show_docid=02dec6ea36553c87</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/367025d4d9a2e15d/02dec6ea36553c87?show_docid=02dec6ea36553c87"/>
  <title type="text">Re: Web development with Python 3.1</title>
  <summary type="html" xml:space="preserve">
  Thanks for those links Mario - I&#39;ll check them out asap.. &lt;br&gt; Regards, &lt;br&gt; Alan
  </summary>
  </entry>
  <entry>
  <author>
  <name>Hrvoje Niksic</name>
  <email>hnik...@xemacs.org</email>
  </author>
  <updated>2009-11-08T01:25:42Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/1d9112d5bbe243d3/3ec0a609ed90a95c?show_docid=3ec0a609ed90a95c</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/1d9112d5bbe243d3/3ec0a609ed90a95c?show_docid=3ec0a609ed90a95c"/>
  <title type="text">Re: is None or == None ?</title>
  <summary type="html" xml:space="preserve">
  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?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tim Chase</name>
  <email>python.l...@tim.thechases.com</email>
  </author>
  <updated>2009-11-08T02:05:22Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/9d389203198d21b2?show_docid=9d389203198d21b2</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/9d389203198d21b2?show_docid=9d389203198d21b2"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Christian Heimes</name>
  <email>li...@cheimes.de</email>
  </author>
  <updated>2009-11-08T01:55:08Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/54ad8fda72c9fece?show_docid=54ad8fda72c9fece</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/54ad8fda72c9fece?show_docid=54ad8fda72c9fece"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  1e7 is a way to express a float in science and math. Try float(&amp;quot;1e7&amp;quot;) &lt;br&gt; Christian
  </summary>
  </entry>
  <entry>
  <author>
  <name>Benjamin Kaplan</name>
  <email>benjamin.kap...@case.edu</email>
  </author>
  <updated>2009-11-08T01:52:37Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/48ac18180765c5fc?show_docid=48ac18180765c5fc</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/48ac18180765c5fc?show_docid=48ac18180765c5fc"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Gary Herron</name>
  <email>gher...@islandtraining.com</email>
  </author>
  <updated>2009-11-08T01:50:53Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/f6e8e9431659a6c6?show_docid=f6e8e9431659a6c6</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/f6e8e9431659a6c6?show_docid=f6e8e9431659a6c6"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ben Finney</name>
  <email>ben+pyt...@benfinney.id.au</email>
  </author>
  <updated>2009-11-08T01:49:48Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/94ba609283821c20?show_docid=94ba609283821c20</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/94ba609283821c20?show_docid=94ba609283821c20"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  Well played, sir.
  </summary>
  </entry>
  <entry>
  <author>
  <name>MRAB</name>
  <email>pyt...@mrabarnett.plus.com</email>
  </author>
  <updated>2009-11-08T01:45:57Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/01785e5eff28450b?show_docid=01785e5eff28450b</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/01785e5eff28450b?show_docid=01785e5eff28450b"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mick Krippendorf</name>
  <email>mad.m...@gmx.de</email>
  </author>
  <updated>2009-11-08T01:42:21Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/2f449a089b92bdaa?show_docid=2f449a089b92bdaa</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/2f449a089b92bdaa?show_docid=2f449a089b92bdaa"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  It seems it does, though: &lt;br&gt; 487 &lt;br&gt; Mick.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mensanator</name>
  <email>mensana...@aol.com</email>
  </author>
  <updated>2009-11-08T01:41:03Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/b31c0f9572b016b0?show_docid=b31c0f9572b016b0</id>
  <link href="http://groups.google.com.au/group/comp.lang.python/browse_thread/thread/70f4b596ee7260a7/b31c0f9572b016b0?show_docid=b31c0f9572b016b0"/>
  <title type="text">Re: How convert string &#39;1e7&#39; to an integer?</title>
  <summary type="html" xml:space="preserve">
  Because &#39;e&#39; isn&#39;t a valid character in base 10. &lt;br&gt; 10000000
  </summary>
  </entry>
</feed>
