History log of /external/python/cpython2/Lib/tabnanny.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2463f8f831bdf7ed562a26a13a6214f203f0b037 14-Aug-2006 Georg Brandl <georg@python.org> Make tabnanny recognize IndentationErrors raised by tokenize.
Add a test to test_inspect to make sure indented source
is recognized correctly. (fixes #1224621)
/external/python/cpython2/Lib/tabnanny.py
70a6b49821a3226f55e9716f32d802d06640cb89 12-Feb-2004 Walter Dörwald <walter@livinglogic.de> Replace backticks with repr() or "%r"

From SF patch #852334.
/external/python/cpython2/Lib/tabnanny.py
7ce734cd72bc32b5062f90f37fbe0cbc3c0e104e 31-May-2002 Neal Norwitz <nnorwitz@gmail.com> Use string methods where possible, and remove import string
/external/python/cpython2/Lib/tabnanny.py
8ac1495a6a1d18111a626cec0c7f2eb67df3edb3 23-May-2002 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/tabnanny.py
d1fa3db52de5f337e9aae5f3baad16fe62da2d0f 15-May-2002 Raymond Hettinger <python@rcn.com> Added docstrings excerpted from Python Library Reference.
Closes patch 556161.
/external/python/cpython2/Lib/tabnanny.py
bc0e9108261693b6278687f4fb4709ff76c2e543 05-Apr-2002 Tim Peters <tim.peters@gmail.com> Convert a pile of obvious "yes/no" functions to return bool.
/external/python/cpython2/Lib/tabnanny.py
f74e46cf473c3c2197c073cccc3ae4446c9b03a1 31-Mar-2002 Neal Norwitz <nnorwitz@gmail.com> Derive exception classes from Exception
/external/python/cpython2/Lib/tabnanny.py
c5943b1c8c49e235efd6e6b4c7fbfb4952c28fd0 07-Aug-2001 Guido van Rossum <guido@python.org> Add the NannyNag exception class and the process_tokens() function to
__all__, to indicate these are implied as part of the public API.

IDLE's "Check Module" command uses this, and it broke once already
because the reset_globals() and tokeneater() functions were deleted
when Neil converted this to using the generator API of tokenizer.
(See SF bug #448835.)
/external/python/cpython2/Lib/tabnanny.py
4efb6e964376a46aaa3acf365a6627a37af236bf 30-Jun-2001 Tim Peters <tim.peters@gmail.com> Turns out Neil didn't intend for *all* of his gen-branch work to get
committed.

tokenize.py: I like these changes, and have tested them extensively
without even realizing it, so I just updated the docstring and the docs.

tabnanny.py: Also liked this, but did a little code fiddling. I should
really rewrite this to *exploit* generators, but that's near the bottom
of my effort/benefit scale so doubt I'll get to it anytime soon (it
would be most useful as a non-trivial example of ideal use of generators;
but test_generators.py has already grown plenty of food-for-thought
examples).

inspect.py: I'm sure Ping intended for this to continue running even
under 1.5.2, so I reverted this to the last pre-gen-branch version. The
"bugfix" I checked in in-between was actually repairing a bug *introduced*
by the conversion to generators, so it's OK that the reverted version
doesn't reflect that checkin.
/external/python/cpython2/Lib/tabnanny.py
5ca576ed0a0c697c7e7547adfd0b3af010fd2053 19-Jun-2001 Tim Peters <tim.peters@gmail.com> Merging the gen-branch into the main line, at Guido's direction. Yay!
Bugfix candidate in inspect.py: it was referencing "self" outside of
a method.
/external/python/cpython2/Lib/tabnanny.py
3664111fb139546ca4d6a6060c52c8672f3c5765 08-Apr-2001 Tim Peters <tim.peters@gmail.com> Get rid of useless string import, as reported by Neal Norwitz's PyChecker.py
on c.l.py.
/external/python/cpython2/Lib/tabnanny.py
40fc16059f04ee8fda0b5956cc4883eb21ca8f8c 01-Mar-2001 Skip Montanaro <skip@pobox.com> final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be
giving it a slight facelift
/external/python/cpython2/Lib/tabnanny.py
b90f89a496676ec714e111a747344600f3988496 15-Jan-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/tabnanny.py
dc6883365be8caf2f68463fad7cfc4c482a53105 23-Feb-2000 Guido van Rossum <guido@python.org> Added tabnanny.py, by Tim Peters, formerly from Tools/scripts, to the
standard library. Added some comments:

# XXX Note: this is now a standard library module.
# XXX The API needs to undergo changes however; the current code is too
# XXX script-like. This will be addressed later.
/external/python/cpython2/Lib/tabnanny.py
a74c55662f2719dda984cdaa42dbb15772c0420f 30-Jul-1999 Guido van Rossum <guido@python.org> Mark Hammond writes:

"""
If the filename being complained about contains a space, enclose the
file-name in quotes.

The reason is simply that when I try and parse tabnanny's output, filenames
with spaces make it very difficult to determine where the filename stops
and the linenumber begins!
"""

Tim approves.

I slightly changed the patch (use 'in' instead of string.find()) and
arbitrarily bumped the __version__ variable up to 6.
/external/python/cpython2/Lib/tabnanny.py
dc86a4e5bb537c979377d43e7eafeb473196b5e0 18-Dec-1998 Andrew M. Kuchling <amk@amk.ca> Added a -q ('quiet') option to tabnanny, which causes only the names of
offending files to be printed. Good for emacs `tabnanny.py *.py`
/external/python/cpython2/Lib/tabnanny.py
f9a6d7d49425a04b10e4373077230c6cb93c5817 14-Sep-1998 Guido van Rossum <guido@python.org> Print serious errors to stderr instead of stdout.
/external/python/cpython2/Lib/tabnanny.py
aa2a7a4ae669a3fa6331b29429f6cf29b04dde91 09-Jun-1998 Guido van Rossum <guido@python.org> From: "Tim Peters" <tim_one@msn.com>

The 1.5.1 tabnanny.py suffers an assert error if fed a script whose last
line is both indented and lacks a newline:

if 1:
print 'oh fudge' # no newline here:

The attached version repairs that.
/external/python/cpython2/Lib/tabnanny.py
53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5 28-Apr-1998 Guido van Rossum <guido@python.org> typo in error message (fname vs. file).
(Jack)
/external/python/cpython2/Lib/tabnanny.py
ce73acf5e60fad088c762a30e4580cfef7393ce4 10-Apr-1998 Guido van Rossum <guido@python.org> Tim's version 4, with my mods
/external/python/cpython2/Lib/tabnanny.py
8053d89f7b3d26d4c113261dc9e3f58e7dd57eb9 06-Apr-1998 Guido van Rossum <guido@python.org> Add usage message when no arguments.
/external/python/cpython2/Lib/tabnanny.py
f4b44fa6ef9ce6f4d4aa5e845de57858e8a97f8b 06-Apr-1998 Guido van Rossum <guido@python.org> Tim's latest version (supports old and new tokenize modules)
/external/python/cpython2/Lib/tabnanny.py
9ab75cbaabd953ba95b2c369dc8ed203bff99c4a 31-Mar-1998 Guido van Rossum <guido@python.org> Tim Peters' program for checking whether a program's indentation is
sensitive to tab size. Uses a different strategy than tabpolice.py,
but has compatible usage.
/external/python/cpython2/Lib/tabnanny.py