New submission from Erik Allik:
This is either a bug, or a very weird but undocumented feature/caveat.
def fn1():
while True:
try:
raise Exception()
finally:
pass
def fn2():
while True:
try:
raise Exception()
finally
Erik Allik added the comment:
It looks to me that it was not removed from the doc but explicitly changed to
say that 'break' does not cause the exception to be discarded, unless I'm
misunderstanding it:
1.20 +:keyword:`finally` clause is executed. If there is a saved exception
1.21
New submission from Erik Allik:
class Foo(object):
... pass
...
asdads % Foo()
'asdads'
Doesn't look like it's supposed to be this way.
As per the documentation:
If format requires a single argument, values may be a single non-tuple object.
[5] Otherwise, values must be a tuple
Erik Allik added the comment:
Respectable reaction time.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15801
___
___
Python-bugs-list mailing