[Pythonmac-SIG] OS9/2.1 IDE problem

2005-03-20 Thread Michael Dunn
Yeah, I'm using old stuff, I know. Having a weird problem. I've defined a few functions for a program and put them in a separate file. In my main program I write "from filename import *". When I run as an applet, everything seems to work. When I run from the IDE, it appears that ONL

Re: [Pythonmac-SIG] ETA on MacPython 2.4?

2005-03-20 Thread Bob Ippolito
On Mar 20, 2005, at 12:59 AM, Daniel Keep wrote: Hi all. Please be gentle--I use a PC. I'm doing my third-year computer science project at university, and we're in the early stages of requirements testing. That said, I'm also trying to extol the virtues of Python upon the group, as I honestly

[Pythonmac-SIG] mod_python / lib compatibility question

2005-03-20 Thread Jim Muller
Hi, A question from a new mod_python user: When I run within an otherwise working apache2/mod_python, if my script imports MySQLdb I get a dyld compability version error: File "/Users/jim/Sites/WatchEvents.py", line 97, in ? import MySQLdb, pickle File "/opt/local/lib/python2.4/s

Re: [Pythonmac-SIG] OS9/2.1 IDE problem

2005-03-20 Thread Just van Rossum
Michael Dunn wrote: > Yeah, I'm using old stuff, I know. > > Having a weird problem. I've defined a few functions for a > program and put them in a separate file. In my main program I write > "from filename import *". > > When I run as an applet, everything seems to work. When I

[Pythonmac-SIG] Another odd question re breaks/returns

2005-03-20 Thread Michael Dunn
I have a double-nested 'for' loop in a function. I can't use 'break' to get out of BOTH loops from the inner loop. Can I simply put a 'return' statement in the inner loop, or will this completely mess up the stack or something? thanks! Michael _

Re: [Pythonmac-SIG] OS9/2.1 IDE problem

2005-03-20 Thread Michael Dunn
At 11:04 PM +0100 2005/3/20, Just van Rossum wrote: Michael Dunn wrote: Yeah, I'm using old stuff, I know. Having a weird problem. I've defined a few functions for a program and put them in a separate file. In my main program I write "from filename import *". When I run as an

Re: [Pythonmac-SIG] Another odd question re breaks/returns

2005-03-20 Thread Bob Ippolito
On Mar 20, 2005, at 5:09 PM, Michael Dunn wrote: I have a double-nested 'for' loop in a function. I can't use 'break' to get out of BOTH loops from the inner loop. Can I simply put a 'return' statement in the inner loop, or will this completely mess up the stack or something? return will wo

Re: [Pythonmac-SIG] mod_python / lib compatibility question

2005-03-20 Thread Bob Ippolito
On Mar 20, 2005, at 4:26 PM, Jim Muller wrote: A question from a new mod_python user: When I run within an otherwise working apache2/mod_python, if my script imports MySQLdb I get a dyld compability version error: File "/Users/jim/Sites/WatchEvents.py", line 97, in ? import MySQLdb,

Re: [Pythonmac-SIG] ETA on MacPython 2.4?

2005-03-20 Thread Daniel Keep
Bob Ippolito wrote: On Mar 20, 2005, at 12:59 AM, Daniel Keep wrote: Hi all. Please be gentle--I use a PC. I'm doing my third-year computer science project at university, and we're in the early stages of requirements testing. That said, I'm also trying to extol the virtues of Python upon the gr

[Pythonmac-SIG] bdist_mpkg zipdist and unzip(1) (was ANN: pygame 1.7.0 for Mac OS X 10.3)

2005-03-20 Thread Robert Kern
Robert Kern wrote: Using /usr/bin/unzip to unzip the package seems to strip the executable flags from these files. Stuffit Expander seems to work fine. I've traced the problem to a deficiency in Python's zipfile (well, one could equally say that there is a deficiency in Info-Zip's code, but Pyth