<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/pprint.py, branch v2.5b2</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>pprint functions used to sort a dict (by key) if and only if</title>
<updated>2006-06-02T23:22:51+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-06-02T23:22:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=5672d9ddac3be00f1820784c0ea067cf0c655e01'/>
<id>5672d9ddac3be00f1820784c0ea067cf0c655e01</id>
<content type='text'>
the output required more than one line.  "Small" dicts got
displayed in seemingly random order (the hash-induced order
produced by dict.__repr__).  None of this was documented.
Now pprint functions always sort dicts by key, and the docs
promise it.

This was proposed and agreed to during the PyCon 2006 core
sprint -- I just didn't have time for it before now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the output required more than one line.  "Small" dicts got
displayed in seemingly random order (the hash-induced order
produced by dict.__repr__).  None of this was documented.
Now pprint functions always sort dicts by key, and the docs
promise it.

This was proposed and agreed to during the PyCon 2006 core
sprint -- I just didn't have time for it before now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change PrettyPrinter.pprint(), so that output is written directly to the</title>
<updated>2005-11-11T18:18:51+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-11-11T18:18:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=f0802b92c7ee7014c53b193814fe45d4bdfa94d8'/>
<id>f0802b92c7ee7014c53b193814fe45d4bdfa94d8</id>
<content type='text'>
output stream, instead of writing it to a StringIO first and writing the
result of this to the output stream. This should speed up the initial
output.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
output stream, instead of writing it to a StringIO first and writing the
result of this to the output stream. This should speed up the initial
output.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix pprint to be able to handle objects that don't have a __repr__</title>
<updated>2004-11-15T13:51:41+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-11-15T13:51:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=3e5758c41e640b03358a97b183023575d0dcc78d'/>
<id>3e5758c41e640b03358a97b183023575d0dcc78d</id>
<content type='text'>
attribute. Fixes SF bug #1065456.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
attribute. Fixes SF bug #1065456.
</pre>
</div>
</content>
</entry>
<entry>
<title>typo - fixes 954030.</title>
<updated>2004-05-14T16:31:56+00:00</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2004-05-14T16:31:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=8238210c0bdfad1d2cdbdebd6b0a1af54b9c2aa5'/>
<id>8238210c0bdfad1d2cdbdebd6b0a1af54b9c2aa5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace backticks with repr() or "%r"</title>
<updated>2004-02-12T17:35:32+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-02-12T17:35:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=582176023213a5bdaf76a19977f7bb6d508694e9'/>
<id>582176023213a5bdaf76a19977f7bb6d508694e9</id>
<content type='text'>
From SF patch #852334.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From SF patch #852334.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add parameters indent, width and depth to pprint.pprint() and pprint.pformat()</title>
<updated>2003-12-03T20:26:05+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-12-03T20:26:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=5ac4782ebdcb73d6f9f5ebe1a0bae520c514dc66'/>
<id>5ac4782ebdcb73d6f9f5ebe1a0bae520c514dc66</id>
<content type='text'>
and pass them along to the PrettyPrinter constructor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and pass them along to the PrettyPrinter constructor.
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #750542: pprint now will pretty print subclasses of list, tuple</title>
<updated>2003-12-03T20:15:28+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-12-03T20:15:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=39e990bf19d1cb59bc5ae0edc8c6a33c1b25ddc4'/>
<id>39e990bf19d1cb59bc5ae0edc8c6a33c1b25ddc4</id>
<content type='text'>
and dict too, as long as they don't overwrite __repr__().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and dict too, as long as they don't overwrite __repr__().
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert 1.25, as overloaded __repr__ is not considered.</title>
<updated>2003-06-07T20:47:37+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-06-07T20:47:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=eae01940055e0c0d39c96d2ba8ba354b83dfec93'/>
<id>eae01940055e0c0d39c96d2ba8ba354b83dfec93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #750542: Use issubclass instead of type identity.</title>
<updated>2003-06-07T20:17:11+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-06-07T20:17:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=e75636329c4695f34efeb3a9aba3bb74398586d4'/>
<id>e75636329c4695f34efeb3a9aba3bb74398586d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- PrettyPrinter.isreadable(), .isrecursive():</title>
<updated>2002-12-31T07:14:18+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-12-31T07:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=cbfa52afebfe798b19125b7784153d64a62d944a'/>
<id>cbfa52afebfe798b19125b7784153d64a62d944a</id>
<content type='text'>
    Pass the right number of args to .format().  (Caught by
    pychecker.)
- Protect the global namespace more carefully.
- Don't use the types module now that we don't need to.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    Pass the right number of args to .format().  (Caught by
    pychecker.)
- Protect the global namespace more carefully.
- Don't use the types module now that we don't need to.
</pre>
</div>
</content>
</entry>
</feed>
