<?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.se/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>2010-03-20T11:00:31Z</updated>
  <generator uri="http://groups.google.se" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Mark Dickinson</name>
  <email>dicki...@gmail.com</email>
  </author>
  <updated>2010-03-20T11:00:31Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/2e78fb0deab39908?show_docid=2e78fb0deab39908</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/2e78fb0deab39908?show_docid=2e78fb0deab39908"/>
  <title type="text">Re: Writing tests for the Python bug tracker</title>
  <summary type="html" xml:space="preserve">
  On Mar 20, 6:52 am, Steven D&#39;Aprano &amp;lt;st...@REMOVE-THIS- &lt;br&gt; This looks like a fine start to me. I have a feeling that the current &lt;br&gt; fashion is for assertEqual rather than assertEquals, but I might be &lt;br&gt; wrong. :)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mark Dickinson</name>
  <email>dicki...@gmail.com</email>
  </author>
  <updated>2010-03-20T10:56:51Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/6227d2d35905f571?show_docid=6227d2d35905f571</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/6227d2d35905f571?show_docid=6227d2d35905f571"/>
  <title type="text">Re: Writing tests for the Python bug tracker</title>
  <summary type="html" xml:space="preserve">
  On Mar 20, 6:23 am, Steven D&#39;Aprano &amp;lt;st...@REMOVE-THIS- &lt;br&gt; Not that I can think of, beyond those you&#39;ve already mentioned. I &lt;br&gt; mostly just copy the style of existing tests (though there are &lt;br&gt; definitely some test_*** files that aren&#39;t particularly well written). &lt;br&gt; For quick questions, you might get good answers by asking on the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven D&#39;Aprano</name>
  <email>st...@remove-this-cybersource.com.au</email>
  </author>
  <updated>2010-03-20T10:12:40Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/ebf04db3af12e2b0/880a7570d530a74c?show_docid=880a7570d530a74c</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/ebf04db3af12e2b0/880a7570d530a74c?show_docid=880a7570d530a74c"/>
  <title type="text">Re: google token</title>
  <summary type="html" xml:space="preserve">
  Perhaps you should be asking a Java discussion group? This group is for &lt;br&gt; discussing Python.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven D&#39;Aprano</name>
  <email>st...@remove-this-cybersource.com.au</email>
  </author>
  <updated>2010-03-20T09:53:33Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/686dbf062c4d9660?show_docid=686dbf062c4d9660</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/686dbf062c4d9660?show_docid=686dbf062c4d9660"/>
  <title type="text">Re: Writing tests for the Python bug tracker</title>
  <summary type="html" xml:space="preserve">
  Doh! *face-palm* &lt;br&gt; I was shadowing the test package with a long forgotten test module.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Stefan Behnel</name>
  <email>stefan...@behnel.de</email>
  </author>
  <updated>2010-03-20T09:44:39Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/03c70fd75579881f/7f9d0376038ad145?show_docid=7f9d0376038ad145</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/03c70fd75579881f/7f9d0376038ad145?show_docid=7f9d0376038ad145"/>
  <title type="text">Re: C-API PyObject_Call</title>
  <summary type="html" xml:space="preserve">
  moerchendiser2k3, 20.03.2010 03:01: &lt;br&gt; &amp;gt; But in a case, I expect a special return value of this function. &lt;br&gt; Ah, ok, that was the important piece of information that you omitted from &lt;br&gt; your previous posts. So what you actually do is call a user provided &lt;br&gt; function and you want to report errors back to the user if the function
  </summary>
  </entry>
  <entry>
  <author>
  <name>Dennis Lee Bieber</name>
  <email>wlfr...@ix.netcom.com</email>
  </author>
  <updated>2010-03-20T09:19:36Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/fbe9426580697037/f45531a499ebf880?show_docid=f45531a499ebf880</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/fbe9426580697037/f45531a499ebf880?show_docid=f45531a499ebf880"/>
  <title type="text">Re: sqlite3, memory db and multithreading</title>
  <summary type="html" xml:space="preserve">
  On Fri, 19 Mar 2010 12:04:16 +0100, królewna &amp;lt;króle...@ee.pl&amp;gt; declaimed &lt;br&gt; the following in gmane.comp.python.general: &lt;br&gt; Is there any real reason you need to use an in-memory database? &lt;br&gt; What about using the tmpfile module to obtain a named temporary file &lt;br&gt; name, pass that name to all the threads for connection purposes...
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thufir</name>
  <email>hawat.thu...@gmail.com</email>
  </author>
  <updated>2010-03-20T09:17:14Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/ebf04db3af12e2b0/81e508a5b9349cd5?show_docid=81e508a5b9349cd5</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/ebf04db3af12e2b0/81e508a5b9349cd5?show_docid=81e508a5b9349cd5"/>
  <title type="text">google token</title>
  <summary type="html" xml:space="preserve">
  I&#39;d like to acquire a token, as below, but from Java: &lt;br&gt; def get_token(self,force=False) : &lt;br&gt; &#39;&#39;&#39;Return a tokey. A token is a special string that is used like &lt;br&gt; a session identification, but that expire rather quickly.&#39;&#39;&#39; &lt;br&gt; if ( force or (self._token == None) ) : &lt;br&gt; feedurl = CONST.URI_PREFIXE_API + CONST.API_TOKEN + &#39;?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter Otten</name>
  <email>__pete...@web.de</email>
  </author>
  <updated>2010-03-20T08:36:22Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/1282b9ec08adc2a6/8dc69696d8ff2cda?show_docid=8dc69696d8ff2cda</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/1282b9ec08adc2a6/8dc69696d8ff2cda?show_docid=8dc69696d8ff2cda"/>
  <title type="text">Re: logging: local functions ==&gt; loss of lineno</title>
  <summary type="html" xml:space="preserve">
  Just reading it is a significantly more conservative approach than setting &lt;br&gt; it to an object with an unusual notion of equality ;) &lt;br&gt; How about replacing logging._srcfile with fixname(logging.__file__)? &lt;br&gt; Yeah, I had hoped that I could get away without drawing the &amp;quot;consenting &lt;br&gt; adults&amp;quot; wildcard... &lt;br&gt; &lt;p&gt;Having two filename/lineno sets ist likely to confuse.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Gregory Ewing</name>
  <email>greg.ew...@canterbury.ac.nz</email>
  </author>
  <updated>2010-03-20T07:32:23Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/02e5000548314c86/da372e39792df14a?show_docid=da372e39792df14a</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/02e5000548314c86/da372e39792df14a?show_docid=da372e39792df14a"/>
  <title type="text">Re: to pass self or not to pass self</title>
  <summary type="html" xml:space="preserve">
  Yes, len() invokes the C-level sq_len slot of the type object, &lt;br&gt; which for built-in types points directly to the C function &lt;br&gt; implementing the len() operation for that type. So len() on &lt;br&gt; a string doesn&#39;t involve looking up a __len__ attribute or &lt;br&gt; creating a bound method at all. &lt;br&gt; The only reason a __len__ attribute exists at all for
  </summary>
  </entry>
  <entry>
  <author>
  <email>exar...@twistedmatrix.com</email>
  </author>
  <updated>2010-03-20T07:07:58Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/d861ecd0c531afa8?show_docid=d861ecd0c531afa8</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/d861ecd0c531afa8?show_docid=d861ecd0c531afa8"/>
  <title type="text">Re: Writing tests for the Python bug tracker</title>
  <summary type="html" xml:space="preserve">
  Take a careful look at the stack being reported. Then, think of a &lt;br&gt; better name than &amp;quot;test&amp;quot; for your file. &lt;br&gt; Jean-Paul
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven D&#39;Aprano</name>
  <email>st...@remove-this-cybersource.com.au</email>
  </author>
  <updated>2010-03-20T06:52:08Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/32ac84239505797c?show_docid=32ac84239505797c</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/32ac84239505797c?show_docid=32ac84239505797c"/>
  <title type="text">Re: Writing tests for the Python bug tracker</title>
  <summary type="html" xml:space="preserve">
  I&#39;ve found this: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://docs.python.org/library/test.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; and I&#39;ve written a small test: &lt;br&gt; $ cat test_unicode_interpolation.py &lt;br&gt; import test.test_support &lt;br&gt; import unittest &lt;br&gt; class K(unicode): &lt;br&gt; def __str__(self): return &amp;quot;Surprise!&amp;quot; &lt;br&gt; class UnicodeInterpolationTest(unitt est.TestCase): &lt;br&gt; def test_interpolation(self):
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven D&#39;Aprano</name>
  <email>st...@remove-this-cybersource.com.au</email>
  </author>
  <updated>2010-03-20T06:23:14Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/d73e04c404894180?show_docid=d73e04c404894180</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/010b66272f3c138b/d73e04c404894180?show_docid=d73e04c404894180"/>
  <title type="text">Writing tests for the Python bug tracker</title>
  <summary type="html" xml:space="preserve">
  I have two reported bugs in the bug tracker waiting on tests: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://bugs.python.org/issue8128&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://bugs.python.org/issue4037&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Are there any guidelines for writing tests for the standard library and &lt;br&gt; language? I&#39;ve googled, but found nothing useful: lots of guidelines for &lt;br&gt; writing tests, and of course I&#39;ve read PEP 8, but I&#39;m not sure if there
  </summary>
  </entry>
  <entry>
  <author>
  <name>Aahz</name>
  <email>a...@pythoncraft.com</email>
  </author>
  <updated>2010-03-20T04:39:38Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/d4570c53d000cdbf/7cc4203d07e473d0?show_docid=7cc4203d07e473d0</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/d4570c53d000cdbf/7cc4203d07e473d0?show_docid=7cc4203d07e473d0"/>
  <title type="text">Re: (updated) Choosing a collection of common modules/packages for a general purpose reusable PY2EXE runtime</title>
  <summary type="html" xml:space="preserve">
  In article &amp;lt;mailman.491.1268144871.23598. python-l...@python.org&amp;gt;, &lt;br&gt; It&#39;s not clear what the purpose of this is. You can build several &lt;br&gt; scripts against the same py2exe backend.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Naeem</name>
  <email>kse.listed....@gmail.com</email>
  </author>
  <updated>2010-03-20T04:18:15Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/597c607de14e7d30/b914c67e03375034?show_docid=b914c67e03375034</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/597c607de14e7d30/b914c67e03375034?show_docid=b914c67e03375034"/>
  <title type="text">&quot;EURO GIRLS&quot; &quot;MISS EUROPE&quot; &quot;MISS FRENCH&quot; &quot;FRENCH&quot; &quot;PRETTY GIRLS&quot; &quot;SEXY FRENCH GIRLS&quot; on www.sexyandpretty-girls.blogspot.com &quot;SEXY RUSSIAN GIRLS&quot; &quot;SEXY GREEK GIRLS&quot; &quot;SEXY DUTCH GIRLS&quot; &quot;SEXY UK GIRLS&quot; &quot;SEXY HOLLYWOOD GIRLS&quot; &quot;SEXY BOLLYWOOD&quot;</title>
  <summary type="html" xml:space="preserve">
  &amp;quot;EURO GIRLS&amp;quot; &amp;quot;MISS EUROPE&amp;quot; &amp;quot;MISS FRENCH&amp;quot; &amp;quot;FRENCH&amp;quot; &amp;quot;PRETTY GIRLS&amp;quot; &amp;quot;SEXY &lt;br&gt; FRENCH GIRLS&amp;quot; on &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.sexyandpretty-girls.blogspot.com&quot;&gt;[link]&lt;/a&gt; &amp;quot;SEXY &lt;br&gt; RUSSIAN GIRLS&amp;quot; &amp;quot;SEXY GREEK GIRLS&amp;quot; &amp;quot;SEXY DUTCH GIRLS&amp;quot; &amp;quot;SEXY UK GIRLS&amp;quot; &lt;br&gt; &amp;quot;SEXY HOLLYWOOD GIRLS&amp;quot; &amp;quot;SEXY BOLLYWOOD&amp;quot;&amp;quot;EURO GIRLS&amp;quot; &amp;quot;MISS EUROPE&amp;quot; &lt;br&gt; &amp;quot;MISS FRENCH&amp;quot; &amp;quot;FRENCH&amp;quot; &amp;quot;PRETTY GIRLS&amp;quot; &amp;quot;SEXY FRENCH GIRLS&amp;quot; on
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alf P. Steinbach</name>
  <email>al...@start.no</email>
  </author>
  <updated>2010-03-20T04:15:08Z</updated>
  <id>http://groups.google.se/group/comp.lang.python/browse_thread/thread/b34177ecd26d20f3/2276459d9f1b3d84?show_docid=2276459d9f1b3d84</id>
  <link href="http://groups.google.se/group/comp.lang.python/browse_thread/thread/b34177ecd26d20f3/2276459d9f1b3d84?show_docid=2276459d9f1b3d84"/>
  <title type="text">Re: Simple lock</title>
  <summary type="html" xml:space="preserve">
  * MRAB: &lt;br&gt; Right. But the OP is clearly a beginner who has yet to learn conventions (like &lt;br&gt; all uppercase reserved for macros) and good versus bad programming constructs &lt;br&gt; (like using void*), and who is even confusing C++ with Python. So it might just &lt;br&gt; be that &#39;Lock&#39; is a macro, and then it can expand to anything.
  </summary>
  </entry>
</feed>
