<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/docutils.git/docutils/utils/__init__.py, 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 #395.</title>
<updated>2020-07-14T16:41:15+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-07-14T16:41:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=01313a3b4f6a9741875d15dd10fafa3bc6a9e72d'/>
<id>01313a3b4f6a9741875d15dd10fafa3bc6a9e72d</id>
<content type='text'>
Use the empty string as document["source"] value, when there
is no known source.

Also ensure there is no error when a PEP is written
not from a file.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8527 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the empty string as document["source"] value, when there
is no known source.

Also ensure there is no error when a PEP is written
not from a file.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8527 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor formatting updates.</title>
<updated>2020-02-06T12:46:45+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-02-06T12:46:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=618375aaab73dc4f3383247e6d44a009a9ecabcf'/>
<id>618375aaab73dc4f3383247e6d44a009a9ecabcf</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8482 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@8482 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>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>Consistent Python 3 checks.</title>
<updated>2019-08-26T16:46:17+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T16:46:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=64f1f9fa9718f72e708a92b26d5f96a0a8f6c7c9'/>
<id>64f1f9fa9718f72e708a92b26d5f96a0a8f6c7c9</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8360 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@8360 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Add aliases for removed symbols</title>
<updated>2019-08-26T12:12:32+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T12:12:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=2d5fa36e34290907e980adef59131bb0dacfb594'/>
<id>2d5fa36e34290907e980adef59131bb0dacfb594</id>
<content type='text'>
Add aliases for symbols that have been removed in Python 3.x, namely
basestring, unicode, unichr and StandardError.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
small fixes by Günter Milde.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8348 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add aliases for symbols that have been removed in Python 3.x, namely
basestring, unicode, unichr and StandardError.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
small fixes by Günter Milde.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8348 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Switch to 'except foo as bar' syntax</title>
<updated>2019-08-26T12:12:02+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T12:12:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=9679804d7f8a07ccf2151722c35b696dc64c4595'/>
<id>9679804d7f8a07ccf2151722c35b696dc64c4595</id>
<content type='text'>
This is the only form supported in Python 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@8347 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the only form supported in Python 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@8347 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Switch to print functions</title>
<updated>2019-08-26T12:11:32+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T12:11:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=97d2ad5d62ced259f8dbfc62433a1943c4862a20'/>
<id>97d2ad5d62ced259f8dbfc62433a1943c4862a20</id>
<content type='text'>
Remove all uses of print as a statement. This includes comments, many of
which are simply removed as noise (they're in version control and can be
re-added later, if necessary).

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

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8346 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove all uses of print as a statement. This includes comments, many of
which are simply removed as noise (they're in version control and can be
re-added later, if necessary).

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

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8346 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Use new style classes</title>
<updated>2019-08-26T12:10:59+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T12:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=83bba3a37073a7c90e057d742e4e8965a0580088'/>
<id>83bba3a37073a7c90e057d742e4e8965a0580088</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@8345 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@8345 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
</feed>
