Issue222873

classification
Title: TypeError: call of non-function ('int' object)
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:45:53 by bckfnn, last changed 2000-11-18.23:18:15 by bckfnn.

Messages
msg195 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:45:53
C:\jpython>jpython
JPython 1.1 on java1.3.0 (JIT: null)
Copyright (C) 1997-1999 Corporation for National Research Initiatives
>>> len = 1
>>> off = 3
>>> cur = "abcdefg"
>>> bef = cur[0:off]
>>> aft = cur[off+len:]
>>> new = bef + aft
>>> new
'abcefg'
>>> len(new)
Traceback (innermost last):
  File "<console>", line 1, in ?
TypeError: call of non-function ('int' object)
>>>
msg196 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.23:18:15
Not a bug. The builtin len() is overridden by a local vrbl.
History
Date User Action Args
2000-11-18 19:45:53bckfnncreate