<?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/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-26T18:30:57Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Terry Reedy</name>
  <email>tjre...@udel.edu</email>
  </author>
  <updated>2009-11-26T18:30:57Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/72ea61bd64aa36fd/88eb1611f0e7b044?show_docid=88eb1611f0e7b044</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/72ea61bd64aa36fd/88eb1611f0e7b044?show_docid=88eb1611f0e7b044"/>
  <title type="text">Re: Buffered streaming</title>
  <summary type="html" xml:space="preserve">
  CPython does that when last reference disappears. &lt;br&gt; queue module
  </summary>
  </entry>
  <entry>
  <author>
  <name>Terry Reedy</name>
  <email>tjre...@udel.edu</email>
  </author>
  <updated>2009-11-26T18:21:49Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/2f5674a1f451b12f/34c6ef4a6b5e2df0?show_docid=34c6ef4a6b5e2df0</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/2f5674a1f451b12f/34c6ef4a6b5e2df0?show_docid=34c6ef4a6b5e2df0"/>
  <title type="text">Re: Feature request: String-inferred names</title>
  <summary type="html" xml:space="preserve">
  This was my response too.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Lie Ryan</name>
  <email>lie.1...@gmail.com</email>
  </author>
  <updated>2009-11-26T18:18:25Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/a1ee31bcfbbfab39/a1b7927f1fe2c03c?show_docid=a1b7927f1fe2c03c</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/a1ee31bcfbbfab39/a1b7927f1fe2c03c?show_docid=a1b7927f1fe2c03c"/>
  <title type="text">Re: Anything equivalent to cassert in C++?</title>
  <summary type="html" xml:space="preserve">
  Actually, if an assert statement is never raised in production code &lt;br&gt; irrespective of the condition (even in case of malicious inputs), it is &lt;br&gt; the correct use of assert statement. The difficulty is in proving that &lt;br&gt; it is impossible to raise the assert. In most cases it is impossible to &lt;br&gt; prove and we just turn off assert when we&#39;re quite confident that it is
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jean-Michel Pichavant</name>
  <email>jeanmic...@sequans.com</email>
  </author>
  <updated>2009-11-26T18:08:41Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/a1ee31bcfbbfab39/1bca280381ba19ea?show_docid=1bca280381ba19ea</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/a1ee31bcfbbfab39/1bca280381ba19ea?show_docid=1bca280381ba19ea"/>
  <title type="text">Re: Anything equivalent to cassert in C++?</title>
  <summary type="html" xml:space="preserve">
  Would never occur ? You can&#39;t use &#39;would&#39; and &#39;never&#39; in the same &lt;br&gt; sentence. That is the kind of concect that make (to me) asserts diffcult &lt;br&gt; to use. &lt;br&gt; I personally never use asserts in python, cause I will end up handling &lt;br&gt; with asserts what I should in fact handle properly in what you call the &lt;br&gt; production code.
  </summary>
  </entry>
  <entry>
  <author>
  <name>pepe</name>
  <email>balazovic.pe...@gmail.com</email>
  </author>
  <updated>2009-11-26T17:56:17Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/41cf1d275475eab1?show_docid=41cf1d275475eab1</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/41cf1d275475eab1?show_docid=41cf1d275475eab1"/>
  <title type="text">Re: JTAG/Debugging</title>
  <summary type="html" xml:space="preserve">
  On Nov 26, 4:32 pm, Dietmar Schwertberger &amp;lt;n...@schwertberger.de&amp;gt; &lt;br&gt; wrote: &lt;br&gt; Good to know Dietmar - thanks a lot! &lt;br&gt; Regards, &lt;br&gt; Pepe
  </summary>
  </entry>
  <entry>
  <author>
  <name>pepe</name>
  <email>balazovic.pe...@gmail.com</email>
  </author>
  <updated>2009-11-26T17:55:46Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/a9cf37cc6d9dc298?show_docid=a9cf37cc6d9dc298</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/a9cf37cc6d9dc298?show_docid=a9cf37cc6d9dc298"/>
  <title type="text">Re: JTAG/Debugging</title>
  <summary type="html" xml:space="preserve">
  I looked at this - I did some google search and it seems to me a dead &lt;br&gt; project (PyET)? &lt;br&gt; I thought that some of you is aware of embedded system development &lt;br&gt; with help of python. &lt;br&gt; It would be nice to have not just JTAG, BDM support and even data &lt;br&gt; logging, recording, display and post processing - similar to features
  </summary>
  </entry>
  <entry>
  <author>
  <name>Aahz</name>
  <email>a...@pythoncraft.com</email>
  </author>
  <updated>2009-11-26T17:43:13Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/a1ee31bcfbbfab39/68d7b4e544efe6dc?show_docid=68d7b4e544efe6dc</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/a1ee31bcfbbfab39/68d7b4e544efe6dc?show_docid=68d7b4e544efe6dc"/>
  <title type="text">Re: Anything equivalent to cassert in C++?</title>
  <summary type="html" xml:space="preserve">
  In article &amp;lt;mailman.580.1258492799.2873.p ython-l...@python.org&amp;gt;, &lt;br&gt; You should be very careful not to put unit tests in asserts because that &lt;br&gt; prevents you from testing your application under optimization.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Cousin Stanley</name>
  <email>cousinstan...@gmail.com</email>
  </author>
  <updated>2009-11-26T17:38:00Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/c6dce135ea5b777a/a552780b16ef209f?show_docid=a552780b16ef209f</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/c6dce135ea5b777a/a552780b16ef209f?show_docid=a552780b16ef209f"/>
  <title type="text">Re: How do I correctly download Wikipedia pages?</title>
  <summary type="html" xml:space="preserve">
  On occasion I use a program under Debian Linux &lt;br&gt; called wikipedia2text that is very handy &lt;br&gt; for downloading wikipedia pages as plain text files .... &lt;br&gt; Description: displays Wikipedia articles on the command line &lt;br&gt; &lt;p&gt; This script fetches Wikipedia articles (currently supports &lt;br&gt; around 30 Wikipedia languages) and displays them as plain text
  </summary>
  </entry>
  <entry>
  <author>
  <name>MRAB</name>
  <email>pyt...@mrabarnett.plus.com</email>
  </author>
  <updated>2009-11-26T17:04:55Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/c5083d707a5dd615/98858fd45f9d2b88?show_docid=98858fd45f9d2b88</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/c5083d707a5dd615/98858fd45f9d2b88?show_docid=98858fd45f9d2b88"/>
  <title type="text">Re: reposition a column</title>
  <summary type="html" xml:space="preserve">
  The code is assuming that the lines are all at least 19 characters long; &lt;br&gt; if a line is shorter then there&#39;s no position 19! &lt;br&gt; Try checking the line length too: &lt;br&gt; if len(L) &amp;gt;= 19 and L[19] == &#39;W&#39;: &lt;br&gt; Alternatively: &lt;br&gt; if L[19 : 20] == &#39;W&#39;: &lt;br&gt; (If the line is too short then L[19 : 20] will return &#39;&#39;.)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Grant Edwards</name>
  <email>inva...@invalid.invalid</email>
  </author>
  <updated>2009-11-26T16:56:56Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/369da7828fdd73b6?show_docid=369da7828fdd73b6</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/369da7828fdd73b6?show_docid=369da7828fdd73b6"/>
  <title type="text">Re: JTAG/Debugging</title>
  <summary type="html" xml:space="preserve">
  Yes. &lt;br&gt; Yes. &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.google.com/search?q=python+jtag&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.google.com/search?q=python+jtag+msp430&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>MRAB</name>
  <email>pyt...@mrabarnett.plus.com</email>
  </author>
  <updated>2009-11-26T16:52:20Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/f72103aef8aaa66a/eb00c94aa8f0d257?show_docid=eb00c94aa8f0d257</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/f72103aef8aaa66a/eb00c94aa8f0d257?show_docid=eb00c94aa8f0d257"/>
  <title type="text">Re: Can&#39;t Encode Pic</title>
  <summary type="html" xml:space="preserve">
  On line 68 you have a string literal immediately followed by a tuple, so &lt;br&gt; it looks like you&#39;re trying to call a string, hence the exception. Put a &lt;br&gt; comma between the string literal and the tuple.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Aahz</name>
  <email>a...@pythoncraft.com</email>
  </author>
  <updated>2009-11-26T16:47:45Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/ec07a27215e1bae9/7d27bb6ef682f8c5?show_docid=7d27bb6ef682f8c5</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/ec07a27215e1bae9/7d27bb6ef682f8c5?show_docid=7d27bb6ef682f8c5"/>
  <title type="text">Re: Can &quot;self&quot; crush itself?</title>
  <summary type="html" xml:space="preserve">
  In article &amp;lt;7ace3de0-4588-4b7d-9848-d9729 8717...@z41g2000yqz.googlegrou ps.com&amp;gt;, &lt;br&gt; Absolutely! That&#39;s the whole point. If you can&#39;t construct the class, &lt;br&gt; you *should* raise an error. The only other workable option is to leave &lt;br&gt; the target set to None, which is uglier because you don&#39;t track the &lt;br&gt; error.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Bruno Desthuilliers</name>
  <email>bruno.42.desthuilli...@websiteburo.invalid</email>
  </author>
  <updated>2009-11-26T16:26:47Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/7e388f22cccf7c4b/65e079c68e7c879b?show_docid=65e079c68e7c879b</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/7e388f22cccf7c4b/65e079c68e7c879b?show_docid=65e079c68e7c879b"/>
  <title type="text">Re: High-performance Python websites</title>
  <summary type="html" xml:space="preserve">
  Nick Mellor a écrit : &lt;br&gt; youtube once used quite a lot of Python IIRC. You may be able to find &lt;br&gt; relevant infos on the net. &lt;br&gt; While I may disagree with Kutlu on some points[1], it&#39;s clear that the &lt;br&gt; key to handling huge traffic is the ability to scale up. So better to &lt;br&gt; avoid solutions that make it hard - or impossible - to setup load
  </summary>
  </entry>
  <entry>
  <author>
  <name>Dietmar Schwertberger</name>
  <email>n...@schwertberger.de</email>
  </author>
  <updated>2009-11-26T15:32:23Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/995f892aa3e0cf0d?show_docid=995f892aa3e0cf0d</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/995f892aa3e0cf0d?show_docid=995f892aa3e0cf0d"/>
  <title type="text">Re: JTAG/Debugging</title>
  <summary type="html" xml:space="preserve">
  Dietmar Schwertberger schrieb: &lt;br&gt; Sorry, hit the wrong button... &lt;br&gt; Low level usage via ctypes looked like this: &lt;br&gt; import ctypes &lt;br&gt; tbdml = ctypes.windll.LoadLibrary(&amp;quot;tbd ml.dll&amp;quot;) &lt;br&gt; tbdml.tbdml_init() # returns number of devices &lt;br&gt; tbdml.tbdml_open(0) &lt;br&gt; tbdml.tbdml_target_sync() # returns 0 on success &lt;br&gt; tbdml.tbdml_write_byte(0x0,2) # set port
  </summary>
  </entry>
  <entry>
  <author>
  <name>Dietmar Schwertberger</name>
  <email>n...@schwertberger.de</email>
  </author>
  <updated>2009-11-26T15:26:25Z</updated>
  <id>http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/64ba53a5a68acfaf?show_docid=64ba53a5a68acfaf</id>
  <link href="http://groups.google.com/group/comp.lang.python/browse_thread/thread/739d5dcd6649c323/64ba53a5a68acfaf?show_docid=64ba53a5a68acfaf"/>
  <title type="text">Re: JTAG/Debugging</title>
  <summary type="html" xml:space="preserve">
  pepe schrieb: &lt;br&gt; Don&#39;t know about JTAG, but I&#39;ve successfully used a TBDML interface from &lt;br&gt; Python to control S12 microcontrollers via BDM. &lt;br&gt; Basically, any BDM or JTAG interface should have a DLL as driver which &lt;br&gt; you can import using ctypes.
  </summary>
  </entry>
</feed>
