One thing I might *try* and do is the bundle of python files that will install to build the base python subsystem, is to include IPython. Its a command line "ide" like setup that I've managed to invoke inside the server on the console, that allows me to do *ridiculous* things with the api. Like tab completion on the api, such as

In [16]: tools.Ctdl
tools.CtdlAssociateSystemUser                            tools.CtdlLoginExistingUser
tools.CtdlCheckInternetMailPermission                    tools.CtdlMakeMessage
tools.CtdlCopyMsgToRoom                                  tools.CtdlMsgCmp
tools.CtdlDeleteMessages                                 tools.CtdlOutputMsg
tools.CtdlDoIHavePermissionToDeleteMessagesFromThisRoom  tools.CtdlOutputPreLoadedMsg
tools.CtdlDoIHavePermissionToDeleteThisRoom              tools.CtdlPutSysConfig
tools.CtdlDoIHavePermissionToPostInThisRoom              tools.CtdlReadMessageBody
tools.CtdlFetchMessage                                   tools.CtdlRenameRoom
tools.CtdlForEachMessage                                 tools.CtdlRoomAccess
tools.CtdlForgetThisRoom                                 tools.CtdlSaveMsgPointerInRoom
tools.CtdlFreeMessage                                    tools.CtdlSetRelationship
tools.CtdlGetRelationship                                tools.CtdlSetSeen
tools.CtdlGetSeen                                        ; tools.CtdlSubmitMsg
tools.CtdlGetSysConfig                                   tools.CtdlTryPassword
tools.CtdlInvtKick                                       tools.CtdlWriteObject
tools.CtdlIsMe

In [16]: tools.Ctdl

Works rather nicely btw.

also, I discovered the graceful handling of dead file handles. Nice one :)
You can send SCRP testcode|explorer which opens a ipython session on the console, and hang up. The ipython session continues., and when quit form produces a fairly graceful takedown.

incidently I'm glad I found the -w option. SWIG generates code that makes GCC howl with warnings.
What *IS* "type punning" anyway. GCC asking me about "type puns" makes me want to reply "how long is a piece of string!".

Anyway. night all. I'll post some code soon.

Reply via email to