Yes, it would be a regular module.

And that is probably _not_ making things simpler.

The __future__ statement cannot be made conditional, it must be the very
first statement. I think this verves for early switching of the syntax trees or so.

As for simplicity, I think extending __future__ is simpler for Stackless,
and adding a future no-op to stackless 3.x or even to add it to python 3.x
would be very cheap.

cheers - chris


On 07.01.14 19:48, Richard Tew wrote:
Oh, the user has to provide it themselves in their 3.x setup, right?

On 1/8/14, Richard Tew <[email protected]> wrote:
Sorry if I missed this bit, but how does "from __stackless__ import
..." differ in that polyglot respect?

On 1/8/14, Martijn Faassen <[email protected]> wrote:
Hi there,

On 01/07/2014 04:33 PM, Christian Tismer wrote:

Yes, that is one possibility, when stackless is only considered as a
work-around.
I think that should be a realistic consideration though. It might just
happen that people come to Stackless only interested in the 2.8 features
and not in the Stackless features, and it's better to be prepared.

On the other hand, we might also think of continuing the stackless
series
on the version 3 line.
So when people upgrade from stackless 2.8 to stackless 3.4, the
additional
futures would be clearly supported ;-)
Sure, but I think it'd be better to aim for maximum compatibility for
the start. Adding things to __future__ would make it impossible for me
to write polyglot code that runs on Stackless 2.8 and Python 3.x, and I
think that's a worthwhile goal.

Regards,

Martijn



_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless


--
Christian Tismer             :^)   <mailto:[email protected]>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* http://starship.python.net/
14482 Potsdam                :     PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/


_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to