<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/docutils.git/docutils/io.py, branch docutils-0.8.1</title>
<subtitle>svn.code.sf.net: p/docutils/code
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/'/>
<entry>
<title>Do not close() sys.stdin, sys.stdout, or sys.stderr. </title>
<updated>2011-07-07T06:49:19+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2011-07-07T06:49:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=8bb6e731d72226ad92f3b40901ff84dfa5989d37'/>
<id>8bb6e731d72226ad92f3b40901ff84dfa5989d37</id>
<content type='text'>
Prevents ``Exception ValueError: I/O operation on closed file.`` 
with Python 3.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7073 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevents ``Exception ValueError: I/O operation on closed file.`` 
with Python 3.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7073 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>New sub-module and test suite for error reporting.</title>
<updated>2011-05-19T08:56:27+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2011-05-19T08:56:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=695770df84c623ec84c3b00d3b9b115c6e3f2892'/>
<id>695770df84c623ec84c3b00d3b9b115c6e3f2892</id>
<content type='text'>
* Code to handle encoding/decoding errors when reporting exceptions.
* Test and fix error reporting with problematic locale settings.
  (https://bugs.gentoo.org/show_bug.cgi?id=349101)

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7037 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Code to handle encoding/decoding errors when reporting exceptions.
* Test and fix error reporting with problematic locale settings.
  (https://bugs.gentoo.org/show_bug.cgi?id=349101)

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7037 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix IOError to unicode conversion and add a test case.</title>
<updated>2011-05-15T20:47:04+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2011-05-15T20:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=d58aeb3a45fd82d0c74d9bd5ef9d208a81bacae8'/>
<id>d58aeb3a45fd82d0c74d9bd5ef9d208a81bacae8</id>
<content type='text'>
Cf. https://bugs.gentoo.org/attachment.cgi?id=273231

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7035 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cf. https://bugs.gentoo.org/attachment.cgi?id=273231

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7035 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Robust error reporting: ErrorString</title>
<updated>2011-05-13T21:27:50+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2011-05-13T21:27:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=032319e7b071dd656ba2f11b99b3f5fd732f33b2'/>
<id>032319e7b071dd656ba2f11b99b3f5fd732f33b2</id>
<content type='text'>
A wrapper providing robust (bytes and unicode) string conversion.

Prevents encoding errors with locales that have non-ASCII chars in
their IOError messages, cf. https://bugs.gentoo.org/show_bug.cgi?id=349101

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7034 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A wrapper providing robust (bytes and unicode) string conversion.

Prevents encoding errors with locales that have non-ASCII chars in
their IOError messages, cf. https://bugs.gentoo.org/show_bug.cgi?id=349101

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7034 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Use io.ErrorOutput in utils.Reporter</title>
<updated>2011-05-11T23:29:41+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2011-05-11T23:29:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=70c3c95c25bf049f2b70eb3fa4c143c85b1d16f7'/>
<id>70c3c95c25bf049f2b70eb3fa4c143c85b1d16f7</id>
<content type='text'>
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7032 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7032 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>fix and re-organize error printing to sys.stderr</title>
<updated>2011-05-10T10:02:54+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2011-05-10T10:02:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=d132a1fc2635a3cc35c7185791093ce3f9434fdd'/>
<id>d132a1fc2635a3cc35c7185791093ce3f9434fdd</id>
<content type='text'>
New class docutils.io.ErrorOutput:

Wrapper class for file-like error streams with
failsave de- and encoding of `str`, `bytes`, `unicode` and
`Exception` instances.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7030 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New class docutils.io.ErrorOutput:

Wrapper class for file-like error streams with
failsave de- and encoding of `str`, `bytes`, `unicode` and
`Exception` instances.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7030 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: failsafe encoding of unicode strings before writing to sys.stderr</title>
<updated>2011-05-06T11:22:20+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2011-05-06T11:22:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=e6de1ea04fa0db75737a3046d5760cd47713f05c'/>
<id>e6de1ea04fa0db75737a3046d5760cd47713f05c</id>
<content type='text'>
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7027 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7027 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix input/output for py3k.</title>
<updated>2010-03-18T22:27:53+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2010-03-18T22:27:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=6625dcc441b468f22e6b4a35221b907fa23fc633'/>
<id>6625dcc441b468f22e6b4a35221b907fa23fc633</id>
<content type='text'>
In py3k, decoding/encoding of text files is done automatically during
read/write operations and the write() method fails with encoded (i.e.
binary) strings. For performance, and universal newline support, we
use the built-in encoding mechanism instead of the "homegrown" one if
py3k is detected; as a consequence, io.FileIO.write() returns a
Unicode string (the correct argument type for file.write() in py3k).


git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6269 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In py3k, decoding/encoding of text files is done automatically during
read/write operations and the write() method fails with encoded (i.e.
binary) strings. For performance, and universal newline support, we
use the built-in encoding mechanism instead of the "homegrown" one if
py3k is detected; as a consequence, io.FileIO.write() returns a
Unicode string (the correct argument type for file.write() in py3k).


git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6269 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>FileInput opens files as text files with universal newline support</title>
<updated>2009-10-25T20:47:22+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2009-10-25T20:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=036be0587ba363e15ebab17cac5c3b13574a35d8'/>
<id>036be0587ba363e15ebab17cac5c3b13574a35d8</id>
<content type='text'>
(Configurable with the new optional argument "mode".)

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6186 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(Configurable with the new optional argument "mode".)

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6186 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix [ 2809965 ] Test suite failure on Windows (CR/LF incompatibility)</title>
<updated>2009-09-11T14:24:35+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2009-09-11T14:24:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=40a1a6c4e96fb1afcb37c6635fb185f95718277d'/>
<id>40a1a6c4e96fb1afcb37c6635fb185f95718277d</id>
<content type='text'>
FileOutput now open files in text mode again. As there is a BinaryFileOutput
class too, I suppose the change to "wb" instead of "w" is a side-effect of
the latest Python-3 compatibility change.


git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6125 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FileOutput now open files in text mode again. As there is a BinaryFileOutput
class too, I suppose the change to "wb" instead of "w" is a side-effect of
the latest Python-3 compatibility change.


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