<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/markdown/__init__.py, branch 2.2.1.final</title>
<subtitle>github.com: waylan/Python-Markdown.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/'/>
<entry>
<title>Upped version to 2.2.1.</title>
<updated>2012-11-04T22:49:37+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-11-04T22:49:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=6aa18462014e9c6327b84bf39108dd5f56db37e5'/>
<id>6aa18462014e9c6327b84bf39108dd5f56db37e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Misc typos.</title>
<updated>2012-08-28T08:45:53+00:00</updated>
<author>
<name>chri</name>
<email>chri@ashboing.baco.myftp.org</email>
</author>
<published>2012-08-28T08:45:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=58b77ab4ae1239da08d43cb8bc316f6733512fea'/>
<id>58b77ab4ae1239da08d43cb8bc316f6733512fea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed encoding issues when writing to stdout.</title>
<updated>2012-08-23T13:39:53+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-08-23T13:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=28110c48bd21a5ba80a1ed71e8217ce903dab8be'/>
<id>28110c48bd21a5ba80a1ed71e8217ce903dab8be</id>
<content type='text'>
In Python 2.x, if you write to stdout and stdout is piped
(for example: `python -m markdown foo.txt | less`), then
`sys.stdout.encoding` is `None` and an error is rasied.
Commit 1132f9e20cd7a5d6be809651f1034c44c32dbc0e was an attempt to
fix this, and it works in Python 2.x.

However, it does not work in Python 3.x, which does not exhibit this problem.
In fact, that fix actually breaks things in Python 3 whether the output
is piped or not. Additionaly, in Python 2.x, the fix is not needed if the
output is not being piped.

As we do not have a version specific issue, but an issue with
`sys.stdout.encoding`, we check for that to determine which way to go.
This way, the "right thing" *should* happen every time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 2.x, if you write to stdout and stdout is piped
(for example: `python -m markdown foo.txt | less`), then
`sys.stdout.encoding` is `None` and an error is rasied.
Commit 1132f9e20cd7a5d6be809651f1034c44c32dbc0e was an attempt to
fix this, and it works in Python 2.x.

However, it does not work in Python 3.x, which does not exhibit this problem.
In fact, that fix actually breaks things in Python 3 whether the output
is piped or not. Additionaly, in Python 2.x, the fix is not needed if the
output is not being piped.

As we do not have a version specific issue, but an issue with
`sys.stdout.encoding`, we check for that to determine which way to go.
This way, the "right thing" *should* happen every time.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improved `Markdown.set_output_format()`</title>
<updated>2012-08-09T09:47:23+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-08-09T09:47:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=b2939d19260aca2a308e2ff5f135d36e5bdecc60'/>
<id>b2939d19260aca2a308e2ff5f135d36e5bdecc60</id>
<content type='text'>
Specificaly, `self.output_format` is defined and contains a string of the
output format used on the instance. This is more useful that an instance
of the searializer when determining alternate behavior elsewhere in the parser.
For example, see Issue #129.

Also cleaned up the error when an invalid format is provided. We now re-raise
the original error (with a custom message) rather than raising a new error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specificaly, `self.output_format` is defined and contains a string of the
output format used on the instance. This is more useful that an instance
of the searializer when determining alternate behavior elsewhere in the parser.
For example, see Issue #129.

Also cleaned up the error when an invalid format is provided. We now re-raise
the original error (with a custom message) rather than raising a new error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed UnicodeEncodeError when output from markdown_py is piped into another program.</title>
<updated>2012-07-26T08:59:52+00:00</updated>
<author>
<name>Alexander Artemenko</name>
<email>svetlyak.40wt@gmail.com</email>
</author>
<published>2012-07-26T08:52:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=1132f9e20cd7a5d6be809651f1034c44c32dbc0e'/>
<id>1132f9e20cd7a5d6be809651f1034c44c32dbc0e</id>
<content type='text'>
In this case text should be encoded into the output encoding explicitly, because
sys.stdout.encoding is None, when piping data.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In this case text should be encoded into the output encoding explicitly, because
sys.stdout.encoding is None, when piping data.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #112 and cleaned up error reporting when loading extensions.</title>
<updated>2012-07-12T12:02:02+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-07-12T12:02:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=5b3e724fb78da73ab87fb34e4ac9d9299773cfed'/>
<id>5b3e724fb78da73ab87fb34e4ac9d9299773cfed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Upped version to 2.2.0-Final.</title>
<updated>2012-07-05T18:18:13+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-07-05T18:18:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=32d57ffdee6eae3e7dbe0a7ccc08c5d4aa27728e'/>
<id>32d57ffdee6eae3e7dbe0a7ccc08c5d4aa27728e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #105. Non-existant extensions fail with a warning only.</title>
<updated>2012-06-28T09:55:56+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-06-28T09:55:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=9adbb8e4589b19968c9d09d573db00f1d40b61db'/>
<id>9adbb8e4589b19968c9d09d573db00f1d40b61db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated version to 2.2.0.alpha.</title>
<updated>2012-05-04T15:54:57+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-05-04T15:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=19f459a2a3089e18caff88c6a65c1b58fbf9d3a6'/>
<id>19f459a2a3089e18caff88c6a65c1b58fbf9d3a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #82. 'enable_attributes' honors 'safe_mode'.</title>
<updated>2012-05-03T18:47:28+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan@gmail.com</email>
</author>
<published>2012-05-03T18:47:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=c64c19676e14f3177b3d0e7e0532c24d48958ec8'/>
<id>c64c19676e14f3177b3d0e7e0532c24d48958ec8</id>
<content type='text'>
Note that you can still explicitly set 'enable_attributes' and that
value will be honored regardless of 'safe_mode'. However if 'safe_mode'
is on and 'enable_attributes' is not explicitly set, then
'enable_attributes' defaults to False.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that you can still explicitly set 'enable_attributes' and that
value will be honored regardless of 'safe_mode'. However if 'safe_mode'
is on and 'enable_attributes' is not explicitly set, then
'enable_attributes' defaults to False.
</pre>
</div>
</content>
</entry>
</feed>
