History log of /external/python/cpython2/Lib/rlcompleter.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96bc1757ce5eb25cb536c03aabb06fcbc42b6d27 24-Nov-2015 Martin Panter <vadmium+py@gmail.com> Issue #25663: Make rlcompleter avoid duplicate global names
/external/python/cpython2/Lib/rlcompleter.py
ef2b2f437e7160ea68d8087df43c069fa6534fb0 13-Nov-2015 Martin Panter <vadmium+py@gmail.com> Issue #25590: Make rlcompleter only call getattr() once per attribute

Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
/external/python/cpython2/Lib/rlcompleter.py
f5469cff1f90381819291bcddcc70f5aaf2da141 17-Aug-2013 Ezio Melotti <ezio.melotti@gmail.com> #18705: fix a number of typos. Patch by Févry Thibault.
/external/python/cpython2/Lib/rlcompleter.py
c56e667b6e3e1c7db809ebbafefc62a54589dea3 27-Mar-2012 Georg Brandl <georg@python.org> Closes #14411: remove outdated comment in rlcompleter docstring.
/external/python/cpython2/Lib/rlcompleter.py
52597be2a15130ced487240159392a076d1c7cca 01-Aug-2008 Brett Cannon <bcannon@gmail.com> Remove a use of callable() to silence the warning triggered under -3.
/external/python/cpython2/Lib/rlcompleter.py
f3f67599fe2c1935c33eadceceea85286086e294 21-Jul-2008 Facundo Batista <facundobatista@gmail.com> Issue 3396. Fixed the autocompletion of 'int.', and worked
a little that part of the code, fixing a detail and enhancing
a bit others.
/external/python/cpython2/Lib/rlcompleter.py
66c527755d0f751e4239328558082bf22f52d361 02-Jul-2008 Facundo Batista <facundobatista@gmail.com> Issue #449227: Now with the rlcompleter module, callable objects are
added a '(' when completed.
/external/python/cpython2/Lib/rlcompleter.py
627a666db05a0a70ac54fe6456719ee0530b5df7 11-May-2008 Georg Brandl <georg@python.org> - #2250: Exceptions raised during evaluation of names in rlcompleter's
``Completer.complete()`` method are now caught and ignored.
/external/python/cpython2/Lib/rlcompleter.py
4286138e7b06e5dd2cb1e8ebf12f768d018be3c2 06-Mar-2008 Georg Brandl <georg@python.org> #2220: handle matching failure more gracefully.
/external/python/cpython2/Lib/rlcompleter.py
3583cff5a9d55b9c1bc17b5d82670e5e6b0fc10d 30-Apr-2006 Georg Brandl <georg@python.org> Patch #1472854: make the rlcompleter.Completer class usable on non-
UNIX platforms.
/external/python/cpython2/Lib/rlcompleter.py
f0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc 20-Oct-2003 Walter Dörwald <walter@livinglogic.de> Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
/external/python/cpython2/Lib/rlcompleter.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/cpython2/Lib/rlcompleter.py
e0d4972acc8cfd4b8fb16c074a8031e50fab0f29 02-Jun-2002 Raymond Hettinger <python@rcn.com> Replaced .keys() with dictionary iterators
/external/python/cpython2/Lib/rlcompleter.py
863ac44b74cd66f7d289748816d65c65808c149b 16-Apr-2002 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/rlcompleter.py
dbab3e3178d8819a839ad08571f995376edcba00 24-Mar-2002 Neil Schemenauer <nascheme@enme.ucalgary.ca> Add namespace selection for rlcompleter. Closes SF patch 490026.
/external/python/cpython2/Lib/rlcompleter.py
0de65807e6bdc5254f5a7e99b2f39adeea6b883b 15-Feb-2001 Skip Montanaro <skip@pobox.com> bunch more __all__ lists
also modified check_all function to suppress all warnings since they aren't
relevant to what this test is doing (allows quiet checking of regsub, for
instance)
/external/python/cpython2/Lib/rlcompleter.py
7e47402264cf87b9bbb61fc9ff610af08add7c7b 16-Jul-2000 Thomas Wouters <thomas@python.org> Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
/external/python/cpython2/Lib/rlcompleter.py
46bd9a6191236c07401169ff407914aeacbddc98 31-May-2000 Fred Drake <fdrake@acm.org> Do not expose __builtins__ name as a completion; this is an implementation
detail that confuses too many people. Based on discussion in python-dev.
/external/python/cpython2/Lib/rlcompleter.py
768d2271a8e15566c8421dabe845446a9221f031 09-Nov-1999 Guido van Rossum <guido@python.org> Oops. Remove some garbage from the doc string that was accidentally
checked in due to a patching mishap. Reported by Detlef Lannert;
thanks!
/external/python/cpython2/Lib/rlcompleter.py
4e20de59dd5a9058c0d99c10d773b9d0bcbbe07d 26-Oct-1999 Guido van Rossum <guido@python.org> Patch by Michael Hudson: when the object of attribute expansion is a
class instance, include the class attributes in the list of possible
expansions.
/external/python/cpython2/Lib/rlcompleter.py
d458faadc303cef6fd07b9e22bfa9e08456426cf 12-Jun-1998 Guido van Rossum <guido@python.org> In completer(), return None instead of raising an IndexError when
there are no more completions left. (This for compatibility with
Donald Beaudry's code.)
/external/python/cpython2/Lib/rlcompleter.py
45e2fbc2e70ef28b1f0327207f33dab3a4e825c5 26-Mar-1998 Guido van Rossum <guido@python.org> Mass check-in after untabifying all files that need it.
/external/python/cpython2/Lib/rlcompleter.py
12f86ade21f6f5c38b9d1c7fb42a3044a82aad9c 22-Oct-1997 Guido van Rossum <guido@python.org> Removed some unneeded imports, moved others around.
/external/python/cpython2/Lib/rlcompleter.py
2781fbe46c7f8d8e391c3f3f3e8692b451e6142f 27-Sep-1997 Guido van Rossum <guido@python.org> Word completion for the new readline.set_completer() function.

When completing a simple identifier, it completes keywords, built-ins
and globals in __main__; when completing NAME.NAME..., it evaluates
(!) the expression up to the last dot and completes its attributes.

It's very cool to do "import string" type "string.", hit the
completion key (twice), and see the list of names defined by the
string module!

Tip: to use the tab key as the completion key, call

readline.parse_and_bind("tab: complete")
/external/python/cpython2/Lib/rlcompleter.py