History log of /external/python/cpython3/Lib/formatter.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5ad5a7d31f5328c73df523b6ade330d88573717e 16-Oct-2015 Brett Cannon <brett@python.org> Issue #25407: Drop the mention of the formatter module being removed
in Python 3.6.

The new PEP 4 policy of any module existing in both 2.7 and 3.5
applies here, hence the module will be with us for a bit longer.
/external/python/cpython3/Lib/formatter.py
781692ff6af7747948b956eca9b435c9c93c3407 27-Mar-2015 Brett Cannon <brett@python.org> Fix module deprecation warnings to have a useful stacklevel
/external/python/cpython3/Lib/formatter.py
81da286f3b64ed10d9146910e0162e72dd4c5a10 05-Jan-2015 Berker Peksag <berker.peksag@gmail.com> Issue #18644: Fix a ResourceWarning in formatter.test().

Patch by Vajrasky Kok.
d91082c777fb6494a41f85bcf56bbe4ae5ad9d37 05-Jan-2015 Berker Peksag <berker.peksag@gmail.com> Issue #18644: Fix a ResourceWarning in formatter.test().

Patch by Vajrasky Kok.
/external/python/cpython3/Lib/formatter.py
a77d0c36e561c3f56dee1c4b0fdd9451d6f8a894 21-Mar-2014 Brett Cannon <brett@python.org> Issue #19165: The formatter module graduates to full deprecation.
/external/python/cpython3/Lib/formatter.py
1448ecf470013cee63c0682f615c5256928dc6b0 04-Oct-2013 Brett Cannon <brett@python.org> Issue #18716: Deprecate the formatter module
/external/python/cpython3/Lib/formatter.py
7cd67cc992acb659f1673706e037ee835648d60b 09-Sep-2008 Georg Brandl <georg@python.org> Fix formatter usage of filter(). Bug #3800.
/external/python/cpython3/Lib/formatter.py
86def6cb2b8d6d8c7f239795fa7af57c97a5890d 21-Jan-2008 Georg Brandl <georg@python.org> Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r60151 | christian.heimes | 2008-01-21 14:11:15 +0100 (Mon, 21 Jan 2008) | 1 line

A bunch of header files were not listed as dependencies for object files. Changes to files like Parser/parser.h weren't picked up by make.
........
r60152 | georg.brandl | 2008-01-21 15:16:46 +0100 (Mon, 21 Jan 2008) | 3 lines

#1087741: make mmap.mmap the type of mmap objects, not a
factory function. Allow it to be subclassed.
........
r60153 | georg.brandl | 2008-01-21 15:18:14 +0100 (Mon, 21 Jan 2008) | 2 lines

mmap is an extension module.
........
r60154 | georg.brandl | 2008-01-21 17:28:13 +0100 (Mon, 21 Jan 2008) | 2 lines

Fix example.
........
r60155 | georg.brandl | 2008-01-21 17:34:07 +0100 (Mon, 21 Jan 2008) | 2 lines

#1555501: document plistlib and move it to the general library.
........
r60156 | georg.brandl | 2008-01-21 17:36:00 +0100 (Mon, 21 Jan 2008) | 2 lines

Add a stub for bundlebuilder documentation.
........
r60157 | georg.brandl | 2008-01-21 17:46:58 +0100 (Mon, 21 Jan 2008) | 2 lines

Removing bundlebuilder docs again -- it's not to be used anymore (see #779825).
........
r60158 | georg.brandl | 2008-01-21 17:51:51 +0100 (Mon, 21 Jan 2008) | 2 lines

#997912: acknowledge nested scopes in tutorial.
........
r60159 | vinay.sajip | 2008-01-21 18:02:26 +0100 (Mon, 21 Jan 2008) | 1 line

Fix: #1836: Off-by-one bug in TimedRotatingFileHandler rollover calculation. Patch thanks to Kathryn M. Kowalski.
........
r60161 | georg.brandl | 2008-01-21 18:13:03 +0100 (Mon, 21 Jan 2008) | 2 lines

Adapt pydoc to new doc URLs.
........
r60162 | georg.brandl | 2008-01-21 18:17:00 +0100 (Mon, 21 Jan 2008) | 2 lines

Fix old link.
........
r60163 | georg.brandl | 2008-01-21 18:22:06 +0100 (Mon, 21 Jan 2008) | 2 lines

#1726198: replace while 1: fp.readline() with file iteration.
........
r60164 | georg.brandl | 2008-01-21 18:29:23 +0100 (Mon, 21 Jan 2008) | 2 lines

Clarify $ behavior in re docstring. #1631394.
........
r60165 | vinay.sajip | 2008-01-21 18:39:22 +0100 (Mon, 21 Jan 2008) | 1 line

Minor documentation change - hyperlink tidied up.
........
r60166 | georg.brandl | 2008-01-21 18:42:40 +0100 (Mon, 21 Jan 2008) | 2 lines

#1530959: change distutils build dir for --with-pydebug python builds.
........
r60167 | vinay.sajip | 2008-01-21 19:16:05 +0100 (Mon, 21 Jan 2008) | 1 line

Updated to include news on recent logging fixes and documentation changes.
........
r60168 | georg.brandl | 2008-01-21 19:35:49 +0100 (Mon, 21 Jan 2008) | 3 lines

Issue #1882: when compiling code from a string, encoding cookies in the
second line of code were not always recognized correctly.
........
r60170 | georg.brandl | 2008-01-21 19:36:51 +0100 (Mon, 21 Jan 2008) | 2 lines

Add NEWS entry for #1882.
........
r60172 | georg.brandl | 2008-01-21 19:41:24 +0100 (Mon, 21 Jan 2008) | 2 lines

Use original location of document, which has translations.
........
r60173 | walter.doerwald | 2008-01-21 21:18:04 +0100 (Mon, 21 Jan 2008) | 2 lines

Follow PEP 8 in module docstring.
........
r60175 | georg.brandl | 2008-01-21 21:20:53 +0100 (Mon, 21 Jan 2008) | 2 lines

Adapt to latest doctools refactoring.
........
/external/python/cpython3/Lib/formatter.py
1bc535dc7854b6be009a6bf3413a3a470e3fe749 15-May-2007 Guido van Rossum <guido@python.org> Merged revisions 55328-55341 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
r55329 | brett.cannon | 2007-05-14 16:36:56 -0700 (Mon, 14 May 2007) | 3 lines

Implement the removal of tuple parameter unpacking (PEP 3113).
Thanks, Tony Lownds for the patch.
........
r55331 | neal.norwitz | 2007-05-14 16:40:30 -0700 (Mon, 14 May 2007) | 1 line

Update to use Python 3.0
........
r55332 | brett.cannon | 2007-05-14 16:47:18 -0700 (Mon, 14 May 2007) | 2 lines

Mention PEP 3113. And thanks to Tony Lownds for the PEP 3113 patch.
........
r55333 | neal.norwitz | 2007-05-14 16:57:06 -0700 (Mon, 14 May 2007) | 1 line

Fix exception printing (no more exceptions module)
........
r55334 | neal.norwitz | 2007-05-14 17:11:10 -0700 (Mon, 14 May 2007) | 1 line

Remove popen* functions from os
........
r55335 | neal.norwitz | 2007-05-14 18:03:38 -0700 (Mon, 14 May 2007) | 1 line

Get rid of most of popen. There are still some uses I need to cleanup.
........
r55336 | neal.norwitz | 2007-05-14 21:11:34 -0700 (Mon, 14 May 2007) | 1 line

Remove a few more remnants of the compiler package
........
r55337 | neal.norwitz | 2007-05-14 22:28:27 -0700 (Mon, 14 May 2007) | 1 line

Get test_[cx]pickle working on 64-bit platforms (avoid overflow int/long)
........
/external/python/cpython3/Lib/formatter.py
be19ed77ddb047e02fe94d142181062af6d99dcc 09-Feb-2007 Guido van Rossum <guido@python.org> Fix most trivially-findable print statements.

There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.

(Oh, and I don't know if the compiler package works.)
/external/python/cpython3/Lib/formatter.py
333da5f000a3d5da1b58dd7ca0ebc5237447949e 07-Dec-2004 Fred Drake <fdrake@acm.org> remove the other half of one of the regsub-related comments; the other
half was removed in revision 1.25
/external/python/cpython3/Lib/formatter.py
57aef9cb29c894497110f38949b8efb593a5c0c2 07-Dec-2004 Raymond Hettinger <python@rcn.com> Remove outdated references to the regsub module.
/external/python/cpython3/Lib/formatter.py
70a6b49821a3226f55e9716f32d802d06640cb89 12-Feb-2004 Walter Dörwald <walter@livinglogic.de> Replace backticks with repr() or "%r"

From SF patch #852334.
/external/python/cpython3/Lib/formatter.py
68468eba635570400f607e140425a222018e56f9 27-Feb-2003 Guido van Rossum <guido@python.org> Get rid of many apply() calls.
/external/python/cpython3/Lib/formatter.py
65230a2de758fbde57b3893c402436ae0202ada3 03-Jun-2002 Walter Dörwald <walter@livinglogic.de> Remove uses of the string and types modules:

x in string.whitespace => x.isspace()
type(x) in types.StringTypes => isinstance(x, basestring)
isinstance(x, types.StringTypes) => isinstance(x, basestring)
type(x) is types.StringType => isinstance(x, str)
type(x) == types.StringType => isinstance(x, str)
string.split(x, ...) => x.split(...)
string.join(x, y) => y.join(x)
string.zfill(x, ...) => x.zfill(...)
string.count(x, ...) => x.count(...)
hasattr(types, "UnicodeType") => try: unicode except NameError:
type(x) != types.TupleTuple => not isinstance(x, tuple)
isinstance(x, types.TupleType) => isinstance(x, tuple)
type(x) is types.IntType => isinstance(x, int)

Do not mention the string module in the rlcompleter docstring.

This partially applies SF patch http://www.python.org/sf/562373
(with basestring instead of string). (It excludes the changes to
unittest.py and does not change the os.stat stuff.)
/external/python/cpython3/Lib/formatter.py
094662a16542d1cc56713b35dde39089490dec35 01-Jun-2002 Raymond Hettinger <python@rcn.com> Replace boolean test with is None
/external/python/cpython3/Lib/formatter.py
aef22fb9cdf31fb7f0afc28ad049f08a89e23761 29-May-2002 Raymond Hettinger <python@rcn.com> Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2).
/external/python/cpython3/Lib/formatter.py
8ea9227b1b73500eba8aad5869f6aa25355fbbbb 13-Aug-2001 Andrew M. Kuchling <amk@amk.ca> Remove empty __init__ (PyChecker)
/external/python/cpython3/Lib/formatter.py
6f6a14f888a80d97c846cd777a452c45acfc9fdc 11-May-2001 Fred Drake <fdrake@acm.org> Remove a bare try/except completely -- it just did not make sense!

Add a comment elsewhere making clear an assumption in the code.
/external/python/cpython3/Lib/formatter.py
b08b2d316653bf22d39ad76814b5a0e7dad30c31 09-Feb-2001 Eric S. Raymond <esr@thyrsus.com> String method conversion.
/external/python/cpython3/Lib/formatter.py
88869f9787cd4ceb2298e4b13980beb057687824 15-Jan-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython3/Lib/formatter.py
4b8c6eaf8b287a27e0054cf6c751448b2077e83b 04-Feb-2000 Guido van Rossum <guido@python.org> Actually, the previous batch's comment should have been different;
*this* set of patches is Ka-Ping's final sweep:

The attached patches update the standard library so that all modules
have docstrings beginning with one-line summaries.

A new docstring was added to formatter. The docstring for os.py
was updated to mention nt, os2, ce in addition to posix, dos, mac.
/external/python/cpython3/Lib/formatter.py
f4bb656a4ff1b06c0af4e340edd60159a3d4522a 12-Jan-1999 Fred Drake <fdrake@acm.org> DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to
the newsgroup by Raymond Tong Leng Ng <rntl@yahoo.com>.
/external/python/cpython3/Lib/formatter.py
45e2fbc2e70ef28b1f0327207f33dab3a4e825c5 26-Mar-1998 Guido van Rossum <guido@python.org> Mass check-in after untabifying all files that need it.
/external/python/cpython3/Lib/formatter.py
a8832b45e77fc4f75b6071a335ab4e414ce3f266 22-Oct-1997 Guido van Rossum <guido@python.org> Removed unneeded imports of regex and regsub.
/external/python/cpython3/Lib/formatter.py
2823168c4687d90c369978dedcbb764a91cc96b6 31-Dec-1996 Fred Drake <fdrake@acm.org> (formatter.py): Add a flush() method to the writer interface. This really
needs to be a standard part of the interface, so we'll have it in
for the next release.
/external/python/cpython3/Lib/formatter.py
ca8cdc60661708d0d7975fa01fa99caa9646a9b2 08-Oct-1996 Fred Drake <fdrake@acm.org> (formatter.py): Simplify NullFormatter definition of add_hor_rule() to match
documentation.
/external/python/cpython3/Lib/formatter.py
ccd8b19c99c353950c54d9818bb57c408df09a53 07-Oct-1996 Guido van Rossum <guido@python.org> Add provisions to set the (to be documented!) instance variable
'writer' of the NullFormatter to the writter passed in, or to a
NullWriter if none (or None) is passed in.
/external/python/cpython3/Lib/formatter.py
8e44991b34d44038c50dcd6dc0ef806a82c1daa4 26-Aug-1996 Guido van Rossum <guido@python.org> Three sets of changes from Grail:

date: 1996/08/14 17:27:21; author: fdrake; state: Exp; lines: +11 -9
(formatter.py): Establish a consistent space-handling policy, so that all
spaces are handled by the outermost context in which they might be
considered. (I.e., softspaces at element boundaries migrate
outwards.)

For instance: "<A> <IMG> </A>" becomes " <A><IMG></A> ".

This avoids some of those nasty underlined spaces around images. It
does not affect spaces *between* images within an anchor.

date: 1996/08/01 17:02:09; author: fdrake; state: Exp; lines: +3 -2
(formatter.py): Added required parameter to the NullFormatter class; this
was omitted by accident.

Made AbstractFormatter.add_literal_data() handle preceeding softspace
correctly instead of expecting the caller to do it.

date: 1996/07/23 22:18:56; author: fdrake; state: Exp; lines: +1 -1
(formatter.py): Correct assert_line_data() to update all internal conditions;
This now handles headers with only image content immediately followed
by anything.
/external/python/cpython3/Lib/formatter.py
3672aa2dcdd8898ff520aa3885f8444ac73a2b2c 29-May-1996 Guido van Rossum <guido@python.org> change DumbWriter to derive from NullWriter
/external/python/cpython3/Lib/formatter.py
9787bdafe0c980129700dcdedca56cba3220e16f 29-May-1996 Guido van Rossum <guido@python.org> Many improvements dure to Fred Drake
/external/python/cpython3/Lib/formatter.py
7bb7ecd39e42189033176ecb960e8b9e1555fa3a 13-Feb-1996 Guido van Rossum <guido@python.org> even better way to normalize spaces in add_flowing_data
/external/python/cpython3/Lib/formatter.py
93dc801b069dc3d4f628dc8c820ba32a51372ddf 13-Feb-1996 Guido van Rossum <guido@python.org> better way to normalize spaces in add_flowing_data
/external/python/cpython3/Lib/formatter.py
909507dd0be2a0a2371461744e828b1f71518051 06-Oct-1995 Guido van Rossum <guido@python.org> added NullFormatter
/external/python/cpython3/Lib/formatter.py
c7ae92069d9b83b3c50ffd68b86a97a28d6f75cc 30-Sep-1995 Guido van Rossum <guido@python.org> add flush_softspace() interface
/external/python/cpython3/Lib/formatter.py
a0eab1d3670897e8bc4407e8706fdec315a7daf9 07-Aug-1995 Guido van Rossum <guido@python.org> Initial revision
/external/python/cpython3/Lib/formatter.py