<?xml version="1.0"?>
<rss version="0.91">
  <channel>
    <title>The Voidspace Techie Blog</title>
    <link>http://www.voidspace.org.uk/python/weblog/index.shtml</link>
    <description>Python Programming, news on the Voidspace Python Projects and all things techie.</description>
        <item>
      <title>unittest.mock and mock 1.0 alpha 1</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2012_03_24.shtml#e1237</link>
<category>Python</category>
<category>Projects</category>
<category>mock</category>
<category>release</category>


      <description><![CDATA[One of the results of the Python Language Summit at PyCon 2012 is that mock is now in the Python standard library. In Python 3.3 mock is available as unittest.mock. ... [501 words]]]></description>
      <pubDate>Wed, 28 Mar 2012 17:15:44 GMT</pubDate>
    </item>
    <item>
      <title>Ergonomics: Kinesis Freestyle Keyboard and Evoluent Vertical Mouse</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2012_03_03.shtml#e1236</link>
<category>Life</category>
<category>Computers</category>
<category>rsi</category>
<category>ergonomics</category>
<category>gadgets</category>


      <description><![CDATA[I've been using computers for a long time, and for most of that time I've been using them for the whole of the working day and often the rest of the day too. A few years ago I started getting pains in my wrists (classic programmer's RSI) and began using wrist rests and an ergonomic keyboard. ... [1783 words]]]></description>
      <pubDate>Mon, 5 Mar 2012 09:16:23 GMT</pubDate>
    </item>
    <item>
      <title>Tests that fail one day every four years</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2012_02_25.shtml#e1235</link>
<category>Python</category>
<category>Hacking</category>
<category>bugs</category>
<category>dates</category>


      <description><![CDATA[Some code looks harmless but has hidden bugs lurking in its nether regions. Code that handles dates is notorious for this, and this being February 29th (the coders' halloween) it's time for the bugs to come crawling out of the woodwork. ... [230 words]]]></description>
      <pubDate>Wed, 29 Feb 2012 14:24:39 GMT</pubDate>
    </item>
    <item>
      <title>mock 0.8 released</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2012_02_11.shtml#e1234</link>
<category>Projects</category>
<category>Python</category>
<category>mock</category>
<category>release</category>
<category>testing</category>


      <description><![CDATA[After more than six months development work mock 0.8 has been released. 0.8 is a big release with many new features, general improvements and bugfixes. ... [968 words]]]></description>
      <pubDate>Thu, 16 Feb 2012 11:56:14 GMT</pubDate>
    </item>
    <item>
      <title>Callable object with state using generators</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2012_01_21.shtml#e1233</link>
<category>Python</category>
<category>Hacking</category>
<category>generators</category>
<category>recipe</category>


      <description><![CDATA[It's often convenient to create callable objects that maintain some kind of state. In Python we can do this with objects that implement the __call__ method and store the state as instance attributes. ... [597 words]]]></description>
      <pubDate>Sun, 22 Jan 2012 14:05:46 GMT</pubDate>
    </item>
    <item>
      <title>Simple mocking of open as a context manager</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2012_01_07.shtml#e1232</link>
<category>Projects</category>
<category>Python</category>
<category>Hacking</category>
<category>mock</category>
<category>recipe</category>
<category>testing</category>


      <description><![CDATA[Using open as a context manager is a great way to ensure your file handles are closed properly and is becoming common: with open('/some/path', 'w') as f: f.write('something') The issue is that even if you mock out the call to open it is the returned object that is used as a context manager (and has __enter__ and __exit__ called). Using MagicMock from the mock library, we can mock out context managers very simply. ... [320 words]]]></description>
      <pubDate>Fri, 13 Jan 2012 11:18:35 GMT</pubDate>
    </item>
    <item>
      <title>Mocks with some attributes not present</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2012_01_07.shtml#e1231</link>
<category>Projects</category>
<category>Hacking</category>
<category>Python</category>
<category>mock</category>
<category>testing</category>
<category>recipe</category>


      <description><![CDATA[Mock objects, from the mock library, create attributes on demand. This allows them to pretend to be objects of any type. ... [199 words]]]></description>
      <pubDate>Thu, 12 Jan 2012 11:33:15 GMT</pubDate>
    </item>
    <item>
      <title>mock 0.8rc2: new release and development docs</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2012_01_07.shtml#e1230</link>
<category>Projects</category>
<category>Python</category>
<category>mock</category>
<category>release</category>
<category>documentation</category>


      <description><![CDATA[I've pushed out a new release of mock. This fixes an inconsistency in the create_autospec api I discovered whilst working on the docs (yes I've really been working on the docs), and a fix for a bug with using ANY. ... [190 words]]]></description>
      <pubDate>Wed, 11 Jan 2012 01:13:32 GMT</pubDate>
    </item>
    <item>
      <title>Python on Google Plus</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2011_12_31.shtml#e1229</link>
<category>Python</category>
<category>Blog on Blogging</category>
<category>Life</category>


      <description><![CDATA[As you may (or perhaps not) have noticed, I've been blogging a lot less in the last year. A new job with Canonical (although I've been there over a year now) and an eight month old daughter all make blogging harder. ... [83 words]]]></description>
      <pubDate>Tue, 3 Jan 2012 10:41:02 GMT</pubDate>
    </item>
    <item>
      <title>Sphinx doctests and the execution namespace</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2011_12_31.shtml#e1228</link>
<category>Python</category>
<category>Hacking</category>
<category>mock</category>
<category>testing</category>
<category>doctest</category>


      <description><![CDATA[I've finally started work on the documentation for mock 0.8 release, and much of it involves converting the write-ups I did in the blog entries. The mock documentation is built with the excellent Sphinx (of course!) ... [402 words]]]></description>
      <pubDate>Sat, 31 Dec 2011 23:28:03 GMT</pubDate>
    </item>
    <item>
      <title>mock 0.8 release candidate 1 and handling mutable arguments</title>
      <link>http://www.voidspace.org.uk/python/weblog/arch_d7_2011_12_24.shtml#e1227</link>
<category>Python</category>
<category>Projects</category>
<category>release</category>
<category>mock</category>
<category>testing</category>
<category>performance</category>
<category>copying</category>
<category>mutable</category>


      <description><![CDATA[I've released mock 0.8 release candidate 1. You can download it it or install it with: pip install -U mock==dev mock is a library for testing in Python. ... [613 words]]]></description>
      <pubDate>Thu, 29 Dec 2011 12:04:47 GMT</pubDate>
    </item>

  </channel>
</rss>
