Message219739
While editing code that uses ElementTree, the call tips code is working in the background and emits warnings to the console:
Warning (from warnings module):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/CallTips.py", line 170
if ob.im_self:
FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
This appears to be an unfortunate interaction between the call tips code and the objects being call-tipped. The behavior appears to be new (I had not encountered it prior to 2.7.7).
If possible the call-tip code should test for len(ob.im_self) or somesuch. |
|
Date |
User |
Action |
Args |
2014-06-04 01:31:00 | rhettinger | set | recipients:
+ rhettinger |
2014-06-04 01:31:00 | rhettinger | set | messageid: <1401845460.42.0.600793284066.issue21654@psf.upfronthosting.co.za> |
2014-06-04 01:31:00 | rhettinger | link | issue21654 messages |
2014-06-04 01:30:59 | rhettinger | create | |
|