Message89987
When using a class instance as a mapping for the right hand value in a
sting format expression without conversion specifier, it seems logical
that the class has a __getitem__ method. Therefore following format
expression should raise an exception.
>>> class AClass(object):
... pass
...
>>> c = AClass()
>>> "a string with no conversion specifier" % c
'a string with no conversion specifier' |
|
| Date |
User |
Action |
Args |
| 2009-07-01 16:14:07 | msaghaei | set | recipients:
+ msaghaei |
| 2009-07-01 16:14:07 | msaghaei | set | messageid: <1246464847.52.0.736883285817.issue6396@psf.upfronthosting.co.za> |
| 2009-07-01 16:14:04 | msaghaei | link | issue6396 messages |
| 2009-07-01 16:14:04 | msaghaei | create | |
|