[Stackless] stackless.stackless

Kristján Valur Jónsson kristjan at ccpgames.com
Mon Apr 12 12:09:32 CEST 2010


Ah, but you can still do both:
from stackless import *
import stackless

Anyway, if that's the only reason, it seems a bit superflous :)

K

From: Christian Tismer [mailto:tismer at stackless.com]
Sent: 12. apríl 2010 06:16
To: The Stackless Python Mailing List
Cc: Kristján Valur Jónsson
Subject: Re: [Stackless] stackless.stackless

On 3/26/10 11:40 AM, Kristján Valur Jónsson wrote:
I just noticed that the stackless module has a an attribute "stackless" that points to itself.
This is highly irregular.  I noticed this because some of the tests in stackless/test do
from stackless import *
and then proceed to do stuff such as
r = stackless.channel()

I'd like to remove this module self reference if no one objects.

The purpose of this irregularity was to be able to use
'from stackless import *'



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20100412/7924d493/attachment.htm>


More information about the Stackless mailing list