-
Notifications
You must be signed in to change notification settings - Fork 61
Update hard-switching routines from greenlet #10
Comments
Original comment by RMTEW FULL NAME (Bitbucket: rmtew, GitHub: rmtew): @krisvale on 2013-01-30 11:40:24 said: Interesting proposition. IMO, it is better to wait to do that, rather than to use the greenlet switching routines directly. |
Original comment by RMTEW FULL NAME (Bitbucket: rmtew, GitHub: rmtew): @ctismer on 2013-01-30 11:53:08 said: In fact, this is interesting. On the tealets, which are meanwhile superseded by "continulet": |
Original comment by RMTEW FULL NAME (Bitbucket: rmtew, GitHub: rmtew): Where do we stand on this? Are we integrating tealet in 2.8? If I recall correctly there was a discussion about integrating this in 2.7 and it was veto'd by @akruis. If tealet is not going in, reassign to me and I'll integrate the switching routines directly. |
Original comment by Anselm Kruis (Bitbucket: akruis, GitHub: akruis): Well I wouldn't call it a veto. The conclusion was, that we need a proven benefit for the users of 2.7-slp. A reduced maintenance effort alone is probably no argument for 2.7-slp, because 2.7-slp is already very stable and we don't have any open issues with hard switching. Let's put it into 2.8 or 3.4 first. If it works well enough we can still convert 2.7 to tealets. |
There were some grammatical errors in weakref.WeakValueDictionary documentation.
@kristjanvalur To answer your comment in PR #163 You wrote a good summary. For 2.7. it is probably not worth the effort. One more year and than 2.7 is history. We suspended our discussion about this topic nearly 5 years ago, but issue #10 is still open. since the the situation changed a bit: the test suite is better and more complete, memory leaks are gone, git simplifies the development workflow. Therefore I'm willing to review and approve pull requests. But don't expect me to do all the work myself. I maintain Stackless in my leisure time and the preparation of new minor versions (like 3.7) takes a lot of time. |
In the years since I left CCP Games, I have had very little to do with core python development, including Stackless. Pressures of work mean that I don't have much time to contribute. Once in a while I do revisit some toy projects, including the tealet project. But that hasn't been updated in a while. Also, I don't know what is the current states of low level switching routines. There is some mismatch between all three, stackless, greenlets, and tealets. The latter (Anselm Kruis' latest foray into this) removes the needs for static variables. |
Outdated by pull request #230 (stackman). |
Originally reported by: RMTEW FULL NAME (Bitbucket: rmtew, GitHub: rmtew)
(originally reported in Trac by @rmtew on 2012-07-23 03:05:10)
Greenlet has updated versions of Stackless' hard switching routines. It would be worthwhile to update these for Stackless where suitable.
One way in which it may not be suitable, is that Stackless is under the PSF license. And greenlet is under some confused mix of the MIT and PSF license, due to the confused authorship of Stackless-sourced files within it.
Any that are obviously derived from Stackless versions, should be PSF licensed.
Kristjan, should we consider this for the 3.3 release?
The text was updated successfully, but these errors were encountered: