[issue13705] Raising exceptions from finally works better than advertised in the documentation

2012-01-03 Thread Sinisa Segvic
New submission from Sinisa Segvic sinisa.seg...@fer.hr: Hi, The documentation says: If the finally clause raises another exception (...) the saved exception is lost. This does not appear to be true. In the example below the backtrace shows both exceptions. import math try: ... 1/0

[issue13705] Raising exceptions from finally works better than advertised in the documentation

2012-01-03 Thread Sinisa Segvic
Sinisa Segvic sinisa.seg...@fer.hr added the comment: Link to the documentation: http://docs.python.org/py3k/reference/compound_stmts.html#id2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13705

[issue12964] Two improvements for the locale aliasing engine

2011-09-12 Thread Sinisa Segvic
New submission from Sinisa Segvic sinisa.seg...@fer.hr: Hi, There appears to be some space for improvement regarding the stable implementation of the Python locale aliasing engine. Sometimes, one wishes to be able to override the default system locale. For instance, it would be nice