[PYTHONMAC-SIG] Some Mac-Specific Python Questions

Mark Guzdial guzdial@cc.gatech.edu
Mon, 14 Jul 1997 12:27:17 -0400


One of my summer goals is to read both "Internet Programming with Python"
(IPWP) (Watters/Rossum/Ahlstrom) and "Programming Python" (Lutz).  Of
course, this is getting me playing with and exploring Python on my Mac more
than I have in the past, which is, in turn, leading me to a bunch of
Mac-specific questions that I'm not finding addressed on-line or in the
books:

- GRAIL: Anyone know what's needed to get Grail to work successfully on a
Mac?  It starts for me, opens the local file, but when I try to use an http
URL, it just sits there and I have to force an application close.
  Second and related question: Has anyone successfully applet-ized Grail?
(I haven't tried yet -- it seemed useless until I could figure out how to
make Grail work well for me, first.)

- Threaded CGI: Jack's CGI example is neat -- I can understand it and
probably even build one myself.  What's unclear to me is how multiple
nearly-simultaneous hits will be handled.  It seems to be a non-issue on
UNIX (from the IPWP book's CGI example). I know that, on the Mac, WebStar
is threaded, and I've done Frontier CGIs which are threaded, so that
multiple hits just get handled, invisibly to me.  Is there a way to do
threaded CGI's on Macs?
  Or is there a technique to get around thread-less MacPython?  For
example, Joe Strout's POO isn't threaded, but it handles multiple "threads"
even on Macs by chopping up tasks into pieces and timeslicing the pieces.
Has anyone done something similar to create a sort-of CGI-event-server on a
Mac?

- Open Transport: As I read through the ReadMe's in the 1.4 distribution
(BTW, is it too soon to ask when a Mac 1.5 is going to be available?), I
note various places where things aren't supposed to work because of MacTCP
oddities (e.g., the reference in Demo:Readme).  Does Open Transport make
more of those things work (which I can test myself) and/or make them
capable of working (which would be nice to know before I start digging)?

After looking at the GUI example in IPWP, I'm in no hurry to see WPY on the
Mac.  Tkinter looks much cleaner and easier to use, ThankYouVeryMuch.

Thanks!
 Mark

--------------------------
Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280
(404) 894-5618 : Fax (404) 894-0673 : guzdial@cc.gatech.edu
http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html



_______________
PYTHONMAC-SIG  - SIG on Python for the Apple Macintosh

send messages to: pythonmac-sig@python.org
administrivia to: pythonmac-sig-request@python.org
_______________