<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 5: python-3.1 support</title><link href="https://sourceforge.net/p/python-xlib/patches/5/" rel="alternate"/><link href="https://sourceforge.net/p/python-xlib/patches/5/feed.atom" rel="self"/><id>https://sourceforge.net/p/python-xlib/patches/5/</id><updated>2013-10-11T18:42:03.549000Z</updated><subtitle>Recent changes to 5: python-3.1 support</subtitle><entry><title>#5 python-3.1 support</title><link href="https://sourceforge.net/p/python-xlib/patches/5/?limit=50#eaf7" rel="alternate"/><published>2013-10-11T18:42:03.549000Z</published><updated>2013-10-11T18:42:03.549000Z</updated><author><name>Marc Deslauriers</name><uri>https://sourceforge.net/u/mdeslaur/</uri></author><id>https://sourceforge.net8f4f68a0a9736f4be7b1b40ce1415d7ea5172d28</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here is an updated version of the patch that fixes a couple of porting errors.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#5 python-3.1 support</title><link href="https://sourceforge.net/p/python-xlib/patches/5/?limit=50#05ad" rel="alternate"/><published>2013-09-04T08:20:35.484000Z</published><updated>2013-09-04T08:20:35.484000Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net499addcc9d0edd9b95498dab124cc213341f49ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm afraid above patch was only the tip of the iceberg. Current xlib still uses tons of deprecated Python concepts, such as old-style classes, intermixing bytes and str, calling apply(), obsolete &lt;strong&gt;cmp&lt;/strong&gt;(), the "new" module, and so on. On top of that, there are some Python 3 specific things which need to be ported, such as / now yielding a float (needs //), and imports now always being absolute instead of relative.&lt;/p&gt;
&lt;p&gt;The attached patch ports the whole Xlib, plus the examples and the tests. With this, all test cases and examples work with both python 2.7 and 3.3.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>python-3.1 support</title><link href="https://sourceforge.net/p/python-xlib/patches/5/" rel="alternate"/><published>2011-09-06T20:43:59Z</published><updated>2011-09-06T20:43:59Z</updated><author><name>Thomas Klausner</name><uri>https://sourceforge.net/u/thomasklausner/</uri></author><id>https://sourceforge.net5ce7d87fcb991e29c7bdebe4bfe28f8bc78d54f3</id><summary type="html">The attached patches make py-Xlib compile with python-3.1, while dropping support for python-2.4.x and python-2.5.x \(2.6.x and 2.7.x are fine\).</summary></entry></feed>