Kind people,
I have thrown together a little C/UNIX program that forks a child process,
then proceeds to let the child and parent alternate. Either can run until
it pauses itself and wakes the other.
I would like to know if there be a way to create the same behavior in
Python 3, preferably in a n
Kind people,
Using Python 3.1
I have been poking around trying to get more insight into Python's
innards, and I have a couple of (marginally) related questions.
First, I've looked a fair bit and can't find how one can find the base
classes of a subclass? isinstance and issubclass sort of do the
s there any way (however clumsy) to do what I want to do?
Thank you for your help.
Paul
---
Paul LaFollette
CIS Department
Temple University
paul.lafollette(at)temple.edu
www.cis.temple.edu/~lafollet
--
http://mail.python.org/mailman/listinfo/python-list
Thank you all for your thoughtful and useful comments. Since this has
largely morphed into a discussion of my 3rd question, perhaps it would
interest you to hear my reason for asking it.
John is just about spot on. Part of my research involves the
enumeration and generation of various combinatori
Kind people,
Using Python 3.0 on a Gatesware machine (XP).
I am building a class in which I want to constrain the types that can
be stored in various instance variables. For instance, I want to be
certain that self.loc contains an int. This is straightforward (as
long as I maintain the disciplin
Kind people,
Is there any way one can, within Python, intercept the act of
assignment. For instance, suppose that I was obsessed with
FORTRAN II, and decided that I wanted to print a warning,
or raise an exception any time someone assigned an int to a
variable whose name did not start with i,j,k,l