[C++-sig] Pyste exception handlers
paul.bridger
paul.bridger at paradise.net.nz
Wed Jun 9 02:07:38 CEST 2004
Sweet. I'm not sulkily not using Pyste anymore, just fighting off a computer
game addiction. :)
Paul.
Nicodemus wrote:
> Hi Paul,
>
> paul.bridger wrote:
>
>> Nicodemus,
>>
>> How would you recommend exception handler registration be implemented
>> in Pyste?
>>
>> A problem here would be what to do in the differing cases of:
>> - building a single pyste file into a module
>> : in this case specifying exception handlers in the pyste file is
>> sufficient
>> - building many pyste files into a single module
>> : in this case you probably want exception handlers to be specified in
>> a module-level file, or perhaps you could put them in an arbitrary
>> pyste file
>>
>> I think Pyste has some deficiencies in organising modules from
>> multiple files. It is wonderful that this can be done, but I don't
>> like that so much has to be specified on the command-line (and that
>> the meaning of command-line options changes depending on --multiple or
>> not).
>>
>> I think a better organisation would involve a module-level file, which
>> could then contain such things as exception handlers. This would also
>> make building modules out of several pyste files cleaner. (A
>> disadvantage is that it expands the scope of the tool into something
>> of a build tool).
>> What do others think?
>
>
>
> I'm not ignoring you, it's just that I haven't found time to answer this
> message... I hope I will be to answer it in the next few days.
>
> Thanks!
> Nicodemus.
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
>
More information about the Cplusplus-sig
mailing list