Archive of UserLand's first discussion group, started October 5, 1998.

Re: "2.0" doesn't look like an integer to me

Author:Skip Montanaro
Posted:1/19/1999; 7:21:02 PM
Topic:Frontier on MacOS X Server
Msg #:2287 (In response to 2277)
Prev/Next:2286 / 2288

Ken wrote:

> We'll probably want to have a solid spec for how to handle that > because Perl doesn't have booleans at all.

Nor does Python. Fredrik solved this problem by defining a Boolean class in xmlrpclib and two instances, True and False. Booleans in the XML get mapped to those two objects. If Python acquires a boolean type in the future those two symbols can just get set to the true and false booleans.

Skip




This page was archived on 6/13/2001; 4:47:25 PM.

© Copyright 1998-2001 UserLand Software, Inc.