Jython incompatibilities

Syver Enstad syver at NOSPAMcyberwatcher.com
Sun Feb 4 16:37:04 EST 2001


I've tried to reach the Jython list but it wouldn't listen to me so....

I'm checking out Jython while waiting for .NET python.

One thing that was a bit weird was that the max function behaves differently
on Jython than Cpython.

Ex under python:
min([])

throws a ValueError exception

Ex under jython:
min([])

throws a TypeError exception.

This is not so great as it can break an application, it did to one of mine.






More information about the Python-list mailing list