Message10884
Hi,
I have the following script:
class Foo(object):
def __str__(self):
return 'foo'
def __getattr__(self, name):
print(name)
f = Foo()
print('%s' % f)
With CPython and Pypy, it prints:
foo
With Jython 2.7.1b3, it prints:
__getitem__
foo |
|
Date |
User |
Action |
Args |
2016-07-30 09:53:57 | progval | set | recipients:
+ progval |
2016-07-30 09:53:57 | progval | set | messageid: <1469872437.8.0.0114440633843.issue2511@psf.upfronthosting.co.za> |
2016-07-30 09:53:57 | progval | link | issue2511 messages |
2016-07-30 09:53:57 | progval | create | |
|