Author |
Message |
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Sun Apr 06, 2003 8:33 pm Post subject: PYTHON support |
 |
|
|
|
I remember Gremlinar mentioning updating to PYTHON module support... is this project currently in motion? I understand PYTHON has an excellent C API which would probably make this much easier.
Just checking in...
If there is absolutely no one working this please let me know, and I will*attempt* to begin cracking on it _________________ Signatures just seem so quaint. |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Sun Apr 06, 2003 10:28 pm Post subject: |
 |
|
|
|
Grel loves python, and i'll bet he'll support it before its finished for mass use. Remember, college is still in. Once college lets out, both him and i will be able to add more useless junk only 2 people would ever use. |
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: Mon Apr 07, 2003 12:59 am Post subject: |
 |
|
|
|
I don't really like it that much. I like certain things about it, and others make me cringe. I'd much prefer to make Scheme the official extension language. But I have to consider my intended audience here. |
|
Back to top |
|
 |
m/b Guest
Offline
|
Posted: Mon Apr 07, 2003 9:20 am Post subject: |
 |
|
|
|
ptyhon is so simple, and its actually a preffered teaching language $$$ |
|
Back to top |
|
 |
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Mon Apr 07, 2003 4:25 pm Post subject: |
 |
|
|
|
Scheme is nice, but even less mainstream than PYTHON, your target audience considered, i would have to ask you to seriously consider PYTHON.
A side quetion: you make use of PYTHON script within the server to load the cfg, i believe (i galnced over them). Have you compiled any extension modules for that purpose? Also, at what points in the software does the program flow to PYTHON?
I am currently researching and pseudo-coding the module for PYTHON in ASSS. Please let me know if there are any portions of this project you believe are crucial as part of the ASSS whole. As always, i can make no promises, but I believe messing with the PYTHON/ C API will keep me sufficiently enthralled. More than likely what i will end up with is a c module that makes use of a python script... until i bucker up and do it right |
|
Back to top |
|
 |
nintendo64 Seasoned Helper

Age:39 Gender: Joined: Dec 01 2002 Posts: 104 Location: Dominican Republic Offline
|
Posted: Mon Apr 07, 2003 9:27 pm Post subject: |
 |
|
|
|
I agree with Python Support, i am not fluent in C or C++, python support will be a Plus here.
-nintendo64 |
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: Tue Apr 08, 2003 2:52 am Post subject: |
 |
|
|
|
There's no python code in the server now. The few scripts there are only for processing things into C code that gets compiled into the server. Nothing at run time. Config files are processed by stuff written in C (app.c and config.c).
The big exception is the billing proxy, to connect to old (subbill or compatible) billers. That's written in python (only), and runs in a completely separate process from the server.
Feel free to start working on python extensions. If I like it, I might decide to include it. Be warned, though, I'm going to be pretty picky about this sort of thing, because I want it to be done right. Once it's done right, though, I'll probably start rewriting some of the simpler modules in python. |
|
Back to top |
|
 |
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Tue Apr 08, 2003 4:22 pm Post subject: |
 |
|
|
|
thats why i asked... i assumed i was not the one for the job, but i can't help but tinker with the idea. I can't make you "happy", so to speak, but i think i will mess around anyway. thanks for the info |
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: Thu Jul 31, 2003 1:03 am Post subject: |
 |
|
|
|
Quick update on this: the 1.1.0 release does have python module support. You can't do everything you can do with a C module, but you can do a lot, and it's much easier to do it than to write the equivalent in C. There are no sample modules yet.
If anyone tries it, let me know what features that you want to use are missing so I can start thinking about how to add them. |
|
Back to top |
|
 |
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Sat Sep 13, 2003 12:02 pm Post subject: |
 |
|
|
|
excellent |
|
Back to top |
|
 |
|