<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/docutils.git/docutils/utils/math, branch docutils-0.17</title>
<subtitle>svn.code.sf.net: p/docutils/code
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/'/>
<entry>
<title>Fix link to 2-Clause BSD license.</title>
<updated>2020-09-04T16:52:11+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-09-04T16:52:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=48576500f4e73c5ed0c914829c76a8c8f63c58f8'/>
<id>48576500f4e73c5ed0c914829c76a8c8f63c58f8</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8554 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8554 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>trivial: Misc whitespace fixes</title>
<updated>2019-08-27T19:49:29+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T19:49:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=f422acab8503fc27a29c09ff098979a5b450837e'/>
<id>f422acab8503fc27a29c09ff098979a5b450837e</id>
<content type='text'>
Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8376 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8376 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Wrap 'foo.keys()', 'zip(foo, bar') in 'list'</title>
<updated>2019-08-27T12:11:15+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T12:11:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=c01014b7ad56db09667210f4543a3feb584b3300'/>
<id>c01014b7ad56db09667210f4543a3feb584b3300</id>
<content type='text'>
In Python 3, 'dict.keys()', 'zip' and 'map' no longer return a list but
rather types 'dict_keys', 'zip' and 'map', respectively. You can't
append to these types nor can you delete from them while in a loop.  The
simple solution to both issues is to wrap things in 'list'.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 3, 'dict.keys()', 'zip' and 'map' no longer return a list but
rather types 'dict_keys', 'zip' and 'map', respectively. You can't
append to these types nor can you delete from them while in a loop.  The
simple solution to both issues is to wrap things in 'list'.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Fix magic methods</title>
<updated>2019-08-27T12:10:52+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T12:10:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=ae6b9738566aa00f849279b31c5948652a6bbd9d'/>
<id>ae6b9738566aa00f849279b31c5948652a6bbd9d</id>
<content type='text'>
Python 3 uses '__bool__' and '__next__', where Python 2 used
'__nonzero__' and 'next'. Use the new names but add aliases.

Based on patch by Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8371 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3 uses '__bool__' and '__next__', where Python 2 used
'__nonzero__' and 'next'. Use the new names but add aliases.

Based on patch by Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8371 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Handle 'urllib', 'urllib2' to 'urlib.*' rename</title>
<updated>2019-08-27T12:10:39+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T12:10:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=9261d51930d09645405d9b31960aa78614598300'/>
<id>9261d51930d09645405d9b31960aa78614598300</id>
<content type='text'>
Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8370 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8370 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Formatting changes to facilitate integration of "py3" patchset.</title>
<updated>2019-08-27T12:09:56+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T12:09:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=c0440cc1576e8de85bf25ccf26cb721b22bb5061'/>
<id>c0440cc1576e8de85bf25ccf26cb721b22bb5061</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8367 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8367 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Replace 'ur' prefix</title>
<updated>2019-08-27T12:09:19+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T12:09:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=3e160024a560b8e31bf94db73d2cf8f93c0122f2'/>
<id>3e160024a560b8e31bf94db73d2cf8f93c0122f2</id>
<content type='text'>
While the 'u' prefix was backported to Python 3.3 or thereabouts, 'ur'
remains invalid in Python 3. Just escape all backslashes and use plain
old 'u'.

Based on patch by Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8366 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While the 'u' prefix was backported to Python 3.3 or thereabouts, 'ur'
remains invalid in Python 3. Just escape all backslashes and use plain
old 'u'.

Based on patch by Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8366 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Replace 'foo.next()' with 'next(foo)'</title>
<updated>2019-08-26T16:46:50+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T16:46:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=9a978b58b0052d5e019fcb56b8b19c2ecbeed179'/>
<id>9a978b58b0052d5e019fcb56b8b19c2ecbeed179</id>
<content type='text'>
The former only works in Python 2, while the latter works in Python 2.7
and 3.x.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8361 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The former only works in Python 2, while the latter works in Python 2.7
and 3.x.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8361 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Use 'isinstance(foo, bar)' instead of 'type(foo) is bar'</title>
<updated>2019-08-26T16:45:33+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T16:45:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=4f9369385de9a6d414672dae98c489722065c26f'/>
<id>4f9369385de9a6d414672dae98c489722065c26f</id>
<content type='text'>
This one is more stylistic than anything.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8359 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This one is more stylistic than anything.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8359 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Use 'sorted(foo)' instead of 'foo.sort()'</title>
<updated>2019-08-26T16:44:51+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T16:44:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=62952d5f75adff89b9fa5694e4c58f6bd068f680'/>
<id>62952d5f75adff89b9fa5694e4c58f6bd068f680</id>
<content type='text'>
This works with iterators also (like 'dict.keys()' in Python 3)

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8357 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works with iterators also (like 'dict.keys()' in Python 3)

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8357 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
</feed>
