Exception difference 2.4 ==> 2.5

D'Arcy J.M. Cain darcy at druid.net
Wed Nov 19 15:59:34 EST 2008


On Wed, 19 Nov 2008 11:20:48 -0800
"Chris Rebert" <clp at rebertia.com> wrote:
> On Wed, Nov 19, 2008 at 8:24 AM, D'Arcy J.M. Cain <darcy at druid.net> wrote:
> > Interesting.  I installed 2.6 and tried it.  My unit test still failed
> > but for a different reason that I will have to investigate but the
> > exceptions were handled correctly.  Does this suggest something to you?
> 
> I would wildly guess that you might have encountered a bug in Python
> that was since fixed. Hard to be sure though.

If true I hope that a new version is forthcoming on the 2.5 branch.  I
am running Python 2.5.2.  I was able to reduce the program to a
reasonably small version that exhibits the problem.  It is in two files
in ftp://ftp.druid.net/pub/distrib/Test_2.5.tgz including Fredrik
Lundh's simple XML-RPC server.  Just run the test program under 2.4,
2.5 and 2.6 to see the difference.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list