network programming without goto (refactoring)

Nick Coghlan ncoghlan at email.com
Sat Nov 27 08:22:22 EST 2004


Roy Smith wrote:
> In article <10qfcmta665kbeb at corp.supernews.com>,
>  Jeff Shannon <jeff at ccvcorp.com> wrote:
> 
> 
>>In Python, exceptions use 'raise', not 'throw'...
> 
> 
> Doh!  I guess it shows that I've been doing a lot of C++ lately :-)

Heh. I'm working on a Python test harness that uses a C++ hardware interface 
module. I keep writing raise on the C++ side and throw on the Python side.

However, that's nothing compared to the amount of swearing regarding the 
uselessness of C++ vectors as compared to Python lists. . .

Cheers,
Nick.



More information about the Python-list mailing list