Changes by A.M. Kuchling:
--
keywords: +easy
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2220
__
___
Python-bugs-list mailing list
Unsubscribe:
Georg Brandl added the comment:
Fixed in r61275, r61276 (2.5).
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2220
__
New submission from Lorenz Quack:
The following code would raise a TypeError:
rlcompleter.Completer().complete(print self.foo, 0)
with this fix it will just return None
--
components: Library (Lib)
files: rlcompleter.patch
keywords: patch
messages: 63208
nosy: donlorenzo
severity:
Lorenz Quack added the comment:
Some more information:
the dot in the example causes complete() to call self.attr_matches(text)
which in turn performes the following call
re.match(r(\w+(\.\w+)*)\.(\w*), text)
and return None if there is no match.
the complete method unconditionally accesses the
Changes by Benjamin Peterson:
--
type: crash - behavior
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2220
__
___
Python-bugs-list mailing list
Unsubscribe: