Re: stackless python 2.7.9 and openssl-1.1.1g

2020-09-29 Thread Barry Scott
fixes. > > Barry > >> >> Regards, >> Bhashkar >> >> On Fri, Sep 25, 2020 at 2:40 AM Barry Scott > <mailto:ba...@barrys-emacs.org>> wrote: >> >> >> > On 24 Sep 2020, at 19:21, bhashkar prakash Singh > > <mailto:sin

Re: stackless python 2.7.9 and openssl-1.1.1g

2020-09-29 Thread bhashkar prakash Singh
t OpenSSL 1.1.1g. > > I would then diff the C files that do not compile in stackless to look for > the required fixes. > > Barry > > > Regards, > Bhashkar > > On Fri, Sep 25, 2020 at 2:40 AM Barry Scott > wrote: > >> >> >> > On 24 Sep 2020,

Re: stackless python 2.7.9 and openssl-1.1.1g

2020-09-25 Thread Barry
fixes. Barry > > Regards, > Bhashkar > >> On Fri, Sep 25, 2020 at 2:40 AM Barry Scott wrote: >> >> >> > On 24 Sep 2020, at 19:21, bhashkar prakash Singh >> > wrote: >> > >> > Hi, >> > >> > I am using stackl

Re: stackless python 2.7.9 and openssl-1.1.1g

2020-09-24 Thread bhashkar prakash Singh
, 2020 at 2:40 AM Barry Scott wrote: > > > > On 24 Sep 2020, at 19:21, bhashkar prakash Singh < > singh.bhash...@gmail.com> wrote: > > > > Hi, > > > > I am using stackless Python 2.7.9 in my project and openssl-1.0.2q. > > I just upgraded

Re: stackless python 2.7.9 and openssl-1.1.1g

2020-09-24 Thread Barry Scott
> On 24 Sep 2020, at 19:21, bhashkar prakash Singh > wrote: > > Hi, > > I am using stackless Python 2.7.9 in my project and openssl-1.0.2q. > I just upgraded the Openssl version to 1.1.1g, due to which python > compilation started failing. So, I patched _hashopenss

stackless python 2.7.9 and openssl-1.1.1g

2020-09-24 Thread bhashkar prakash Singh
Hi, I am using stackless Python 2.7.9 in my project and openssl-1.0.2q. I just upgraded the Openssl version to 1.1.1g, due to which python compilation started failing. So, I patched _hashopenssl.c and _ssl.c file in Python Modules as per new openssl to make compilation successful. But when I

Re: Stackless Python and EVE Online

2010-08-31 Thread Terry Reedy
On 8/31/2010 11:10 AM, Benjamin Kaplan wrote: On Tuesday, August 31, 2010, Roman Sokolyuk wrote: Hi, I am new to Python and I wanted to understand something... The EVE Online Client is build using Stackless Python So when I install the client on my machine, how doe sit get run if I do not

Re: Stackless Python and EVE Online

2010-08-31 Thread Benjamin Kaplan
gt;>> The EVE Online Client is build using Stackless Python >>> So when I install the client on my machine, how doe sit get run if I do not >>> have Python installed? >>> >> We call it "freezing" the program. There are several tools that do >> thi

Re: Stackless Python and EVE Online

2010-08-31 Thread Krister Svanlund
On Tue, Aug 31, 2010 at 5:10 PM, Benjamin Kaplan wrote: > On Tuesday, August 31, 2010, Roman Sokolyuk wrote: >> Hi, >> >> I am new to Python and I wanted to understand something... >> The EVE Online Client is build using Stackless Python >> So when I install the

Re: Stackless Python and EVE Online

2010-08-31 Thread Benjamin Kaplan
On Tuesday, August 31, 2010, Roman Sokolyuk wrote: > Hi, > > I am new to Python and I wanted to understand something... > The EVE Online Client is build using Stackless Python > So when I install the client on my machine, how doe sit get run if I do not > have Python insta

Re: Stackless Python and EVE Online

2010-08-31 Thread Thomas Jollans
On Tuesday 31 August 2010, it occurred to Roman Sokolyuk to exclaim: > Hi, > > I am new to Python and I wanted to understand something... > > The EVE Online Client is build using Stackless Python > > So when I install the client on my machine, how doe sit get run if I

Stackless Python and EVE Online

2010-08-31 Thread Roman Sokolyuk
Hi, I am new to Python and I wanted to understand something... The EVE Online Client is build using Stackless Python So when I install the client on my machine, how doe sit get run if I do not have Python installed? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Concurrent tasklets in Stackless Python

2009-03-19 Thread Aahz
[posted and e-mailed] In article , Minesh Patel wrote: > >Can you suggest any Python libraries for true parallelism or should I >just stick with Python Threads or asyncore Python threads are mostly only parallel for I/O (you have to write special C code to release the GIL). If you want paralle

Re: Concurrent tasklets in Stackless Python

2009-03-09 Thread Chris Rebert
On Mon, Mar 9, 2009 at 4:47 PM, Minesh Patel wrote: > On Mon, Mar 9, 2009 at 3:17 PM, Chris Rebert wrote: >> On Mon, Mar 9, 2009 at 3:05 PM, Minesh Patel wrote: >>> Is there a way for multiple tasklets to run in parallel? >> >> Seems doubtful (though I'm not an expert). >> >> From the Wikipedia

Re: Concurrent tasklets in Stackless Python

2009-03-09 Thread Minesh Patel
On Mon, Mar 9, 2009 at 3:17 PM, Chris Rebert wrote: > On Mon, Mar 9, 2009 at 3:05 PM, Minesh Patel wrote: >> Is there a way for multiple tasklets to run in parallel? > > Seems doubtful (though I'm not an expert). > > From the Wikipedia article: "Stackless microthreads are managed by the > languag

Re: Concurrent tasklets in Stackless Python

2009-03-09 Thread Chris Rebert
On Mon, Mar 9, 2009 at 3:05 PM, Minesh Patel wrote: > Is there a way for multiple tasklets to run in parallel? Seems doubtful (though I'm not an expert). From the Wikipedia article: "Stackless microthreads are managed by the language interpreter itself, not the operating system kernel—context sw

Concurrent tasklets in Stackless Python

2009-03-09 Thread Minesh Patel
Is there a way for multiple tasklets to run in parallel? I have been following the examples in http://members.verizon.net/olsongt/stackless/why_stackless.html but it seems that tasklets block for data or are scheduled and there is no way to run them concurrently. -- Thanks, Minesh Patel -- http:/

Re: Should I use stackless python or threads?

2009-03-07 Thread Diez B. Roggisch
John Nagle schrieb: Minesh Patel wrote: On Fri, Mar 6, 2009 at 3:16 PM, Jean-Paul Calderone wrote: On Fri, 6 Mar 2009 14:50:51 -0800, Minesh Patel wrote: I am trying to figure out the best approach to solve this problem: I want to poll various directories(can be run in the main thread). Onc

Re: Should I use stackless python or threads?

2009-03-07 Thread MRAB
John Nagle wrote: Minesh Patel wrote: On Fri, Mar 6, 2009 at 3:16 PM, Jean-Paul Calderone wrote: On Fri, 6 Mar 2009 14:50:51 -0800, Minesh Patel wrote: I am trying to figure out the best approach to solve this problem: I want to poll various directories(can be run in the main thread). Once

Re: Should I use stackless python or threads?

2009-03-07 Thread John Nagle
Minesh Patel wrote: On Fri, Mar 6, 2009 at 3:16 PM, Jean-Paul Calderone wrote: On Fri, 6 Mar 2009 14:50:51 -0800, Minesh Patel wrote: I am trying to figure out the best approach to solve this problem: I want to poll various directories(can be run in the main thread). Once I notice a file has

Re: Should I use stackless python or threads?

2009-03-06 Thread alex23
On Mar 7, 9:35 am, Minesh Patel wrote: > I need to monitor each directory for the latest install, take it and > go perform some tests on a specific machine. I would like these > testing tasks to run concurrently for the obvious reasons. There are two other options to consider: * greenlet, which

Re: Should I use stackless python or threads?

2009-03-06 Thread Lie Ryan
Minesh Patel wrote: On Fri, Mar 6, 2009 at 3:16 PM, Jean-Paul Calderone wrote: On Fri, 6 Mar 2009 14:50:51 -0800, Minesh Patel wrote: I am trying to figure out the best approach to solve this problem: I want to poll various directories(can be run in the main thread). Once I notice a file has

Re: Should I use stackless python or threads?

2009-03-06 Thread Minesh Patel
On Fri, Mar 6, 2009 at 3:16 PM, Jean-Paul Calderone wrote: > On Fri, 6 Mar 2009 14:50:51 -0800, Minesh Patel wrote: >> >> I am trying to figure out the best approach to solve this problem: >> >> I want to poll various directories(can be run in the main thread). >> Once I notice a file has been ad

Re: Should I use stackless python or threads?

2009-03-06 Thread Jean-Paul Calderone
On Fri, 6 Mar 2009 14:50:51 -0800, Minesh Patel wrote: I am trying to figure out the best approach to solve this problem: I want to poll various directories(can be run in the main thread). Once I notice a file has been added to any directory, I grab a lock, spawn a thread to go perform the nece

Should I use stackless python or threads?

2009-03-06 Thread Minesh Patel
I am trying to figure out the best approach to solve this problem: I want to poll various directories(can be run in the main thread). Once I notice a file has been added to any directory, I grab a lock, spawn a thread to go perform the necessary actions, and then release the lock. -- Thanks for

Re: concurrency program design stackless python tasklet or python thread?

2008-11-12 Thread davy zhang
to the scheduler queue and allow other tasks to > have a go. > >> so we must design very carefully to avoid the big job for single task > > That's right - with cooperative scheduling careful design is the key. > >> I am just confused why the stackless python is said to b

Re: concurrency program design stackless python tasklet or python thread?

2008-11-11 Thread Aahz
n. >This idea naturally leads me to place every actor in a separate thread >waiting for msg > >but the rumor has it, stackless python with tasklet and channel can do >much more better in concurrency program, so I dive my head into it. > >but I found the tasklet is really a

Re: concurrency program design stackless python tasklet or python thread?

2008-11-11 Thread Aleksandar Radulovic
eue and allow other tasks to have a go. > so we must design very carefully to avoid the big job for single task That's right - with cooperative scheduling careful design is the key. > I am just confused why the stackless python is said to be good at > concurrency program model or j

Re: concurrency program design stackless python tasklet or python thread?

2008-11-10 Thread davy zhang
thanks very much for the hint, circuits is a very good event-driven frame work just like twisted but currently my project is in a pretty much complex way see, I'm designing a so called "Game Server", every client has their own task execution order, see like below: 1.clientA wants to sale his ar

Re: concurrency program design stackless python tasklet or python thread?

2008-11-10 Thread James Mills
to place every actor in a separate thread > waiting for msg > > but the rumor has it, stackless python with tasklet and channel can do > much more better in concurrency program, so I dive my head into it. > > but I found the tasklet is really a lined-up sequence , that means

concurrency program design stackless python tasklet or python thread?

2008-11-10 Thread davy zhang
first here is my basic idea is every actor holds their own msg queue, the process function will handle the message as soon as the dispatcher object put the message in. This idea naturally leads me to place every actor in a separate thread waiting for msg but the rumor has it, stackless python

Question about Stackless Python

2008-07-13 Thread Fisher
Hi, I have some question about Stackless Python. What is main tasklet? Usually we call stackless.run() to mainloop all the schedule tasklets. But if we just call sometaklet.channel.send(None) in main thread after all the necessary tasklets are created, what would happen? Thanks in

Stackless Python 2.5 for Nintendo DS

2007-01-08 Thread Richard Tew
Hi, I have updated NDS Python from Python 2.4.3 to Python 2.5 (or rather the Stackless version of it). You can read more about it here if it might interest you: http://www.disinterest.org/NDS/Python25.html Cheers, Richard. -- http://mail.python.org/mailman/listinfo/python-list

A Solution using Tasks Re: [Stackless] Suggestion for a Solution ? Re: Blocking Problem with Stackless Python and Twisted

2006-06-28 Thread Andrew Francis
Hello Patrick: --- "Patrick M. Nielsen" <[EMAIL PROTECTED]> wrote: > I had a similar problem, and Radix's threadless > Twisted snippet proved to be > a very viable solution > > Have a look at: > >http://twistedmatrix.com/trac/browser/sandbox/radix/threadless.py?rev=17407 Thanks for the advice.

Re: [Stackless] Suggestion for a Solution ? Re: Blocking Problem with Stackless Python and Twisted

2006-06-27 Thread Patrick M. Nielsen
I had a similar problem, and Radix's threadless Twisted snippet proved to be a very viable solutionHave a look at: http://twistedmatrix.com/trac/browser/sandbox/radix/threadless.py?rev=17407 On 6/26/06, Andrew Francis <[EMAIL PROTECTED]> wrote: Hello Jas, Bob, et al:> Twisted isn't designed for Sta

Re: Stackless Python for 2.4.3

2006-03-30 Thread Richard Tew
I would just like to clarify, the windows specific paths do not imply that Stackless compiles only on Windows, or that the tests being run on Windows is all I am interested in. Stackless compiles on a range of non-Windows platforms, including x86 linux, mac os and others. And knowing the port wor

Re: Stackless Python for 2.4.3

2006-03-30 Thread Stephan Diehl
On Thu, 30 Mar 2006 06:04:27 -0800, Fuzzyman wrote: > > Richard Tew wrote: >> Hi, >> >> Stackless Python is now available for the recent release of Python >> 2.4.3 (final). >> > > Does anyone happen to know if Stackless Python is compatible with >

Re: Stackless Python for 2.4.3

2006-03-30 Thread Fuzzyman
Richard Tew wrote: > Hi, > > Stackless Python is now available for the recent release of Python > 2.4.3 (final). > Does anyone happen to know if Stackless Python is compatible with existing third party extension modules (like e.g. Tkinter and wxPython) ? I'm afraid my inte

Stackless Python for 2.4.3

2006-03-30 Thread Richard Tew
Hi, Stackless Python is now available for the recent release of Python 2.4.3 (final). You can either obtain the source code from the SVN repository or download the precompiled windows binaries. SVN:http://codespeak.net/svn/stackless/Python-2.4.3/dev Download: http://www.stackless.com

Stackless Python sprint at PyCon 2006

2006-02-17 Thread Richard Tew
There is a Stackless Python sprint planned for PyCon 2006 during the days of the 27th of February to the 2nd of March (the post-conference sprint period). The goal is to update Stackless making it more current and approachable. We are planning to port it to the latest version of Python. But

Re: Stackless Python

2006-01-14 Thread alexander . limi
Christian Tismer wrote: > Thanks to Carl Friedrich, I restarted the Zope process. > > I have no idea why it broke, the site was running since 38 days > without problems. The Zope/Plone process was still there, blocking > the port. > > Maybe I should go for something simpler than Plone... Hi Chris

Re: Stackless Python

2006-01-07 Thread Xavier Morel
Christian Tismer wrote: > Xavier Morel wrote: > >> Would anyone have more informations about that? It doesn't seem to be an >> issue on my side (since I tried to access the Stackless site from two >> different connections and 3 computers) but I can't rule it out. > > Thanks to Carl Friedrich, I

Re: Stackless Python

2006-01-07 Thread Christian Tismer
Xavier Morel wrote: > Would anyone have more informations about that? It doesn't seem to be an > issue on my side (since I tried to access the Stackless site from two > different connections and 3 computers) but I can't rule it out. Thanks to Carl Friedrich, I restarted the Zope process. I hav

Re: Stackless Python

2006-01-07 Thread Carl Friedrich Bolz
Xavier Morel wrote: > I managed to find some documentations and papers, but most if not all of > them are related to pre-2.0 Stackless. The issue is, I just can't seem > to reach the Stackless website (http://stackless.com). Some specific > pages of the site do work (http://stackless.com/spcpape

Stackless Python

2006-01-07 Thread Xavier Morel
Some time ago, I finally decided to check what Stackless was (exactly) and which were the theorical concepts behind it (continuations and all). I managed to find some documentations and papers, but most if not all of them are related to pre-2.0 Stackless. The issue is, I just can't seem to reac

Re: Alternatives to Stackless Python?

2005-09-28 Thread Christian Tismer
Christophe wrote: ... > Not sure if greenlets support pickling yet. There are no info on that > point and my tests weren't succesful. Greenlets refine a concept of Stackless 2.0 which was orthogonal to the Python implementation in a sense that they did not conflict at all. This is less efficient

Re: Alternatives to Stackless Python?

2005-09-28 Thread Christian Tismer
Peter Hansen wrote: > [EMAIL PROTECTED] wrote: > >>>I found LGT http://lgt.berlios.de/ but it didn't seem as if the >>>NanoThreads module had the same capabilites as stackless. >> >>What specific capabilities of Stackless are you looking for, that are >>missing from NanoThreads? > > > While I c

Re: Alternatives to Stackless Python?

2005-09-25 Thread [EMAIL PROTECTED]
Honestly I am not knowledgeable about either option but mainly I was specifically targetting my feature set towards the things that a higher level game engine would need such as the one described here: http://harkal.sylphis3d.com/2005/08/10/multithreaded-game-scripting-with-stackless-python/ Which

Re: Alternatives to Stackless Python?

2005-09-24 Thread simonwittber
Peter Hansen wrote: > While I can't speak for the OP, isn't it the case that the threadlets in > Stackless (sorry, don't know what they are really called) are true > threads in the sense of being able to switch contexts no matter how far > down in a set of nested calls they might be? And that Nan

Re: Alternatives to Stackless Python?

2005-09-23 Thread Christophe
Olivier Dormond a écrit : > Christophe wrote: > >> [EMAIL PROTECTED] a écrit : >> I found LGT http://lgt.berlios.de/ but it didn't seem as if the NanoThreads module had the same capabilites as stackless. >>> >>> >>> What specific capabilities of Stackless are you looking for, that are >>

Re: Alternatives to Stackless Python?

2005-09-23 Thread Olivier Dormond
Christophe wrote: > [EMAIL PROTECTED] a écrit : > >>> I found LGT http://lgt.berlios.de/ but it didn't seem as if the >>> NanoThreads module had the same capabilites as stackless. >> >> What specific capabilities of Stackless are you looking for, that are >> missing from NanoThreads? > > Capabili

Re: Alternatives to Stackless Python?

2005-09-23 Thread Christophe
[EMAIL PROTECTED] a écrit : >>I found LGT http://lgt.berlios.de/ but it didn't seem as if the >>NanoThreads module had the same capabilites as stackless. > > > What specific capabilities of Stackless are you looking for, that are > missing from NanoThreads? Capabilities of the different "threadl

Re: Alternatives to Stackless Python?

2005-09-22 Thread D H
[EMAIL PROTECTED] wrote: > After recently getting excited about the possibilities that stackless > python has to offer > (http://harkal.sylphis3d.com/2005/08/10/multithreaded-game-scripting-with-stackless-python/) > and then discovering that the most recent version of stackless &g

Re: Alternatives to Stackless Python?

2005-09-22 Thread Peter Hansen
[EMAIL PROTECTED] wrote: >>I found LGT http://lgt.berlios.de/ but it didn't seem as if the >>NanoThreads module had the same capabilites as stackless. > > What specific capabilities of Stackless are you looking for, that are > missing from NanoThreads? While I can't speak for the OP, isn't it the

Re: Alternatives to Stackless Python?

2005-09-22 Thread simonwittber
> I found LGT http://lgt.berlios.de/ but it didn't seem as if the > NanoThreads module had the same capabilites as stackless. What specific capabilities of Stackless are you looking for, that are missing from NanoThreads? Sw. -- http://mail.python.org/mailman/listinfo/python-list

Re: Alternatives to Stackless Python?

2005-09-20 Thread Stephan Diehl
On Tue, 20 Sep 2005 08:50:44 -0700, [EMAIL PROTECTED] wrote: > After recently getting excited about the possibilities that stackless > python has to offer > (http://harkal.sylphis3d.com/2005/08/10/multithreaded-game-scripting-with-stackless-python/) > and then discovering that the

Alternatives to Stackless Python?

2005-09-20 Thread [EMAIL PROTECTED]
After recently getting excited about the possibilities that stackless python has to offer (http://harkal.sylphis3d.com/2005/08/10/multithreaded-game-scripting-with-stackless-python/) and then discovering that the most recent version of stackless available on stackless.com was for python 2.2 I am

Re: Python in Games (was RE: [Stackless] Python in Games)

2005-06-15 Thread Don
Irmen de Jong wrote: > Patrick Down wrote: >> My understanding is that the upcoming Civilization IV will have python >> scripting. >> > > Also, alledgedly the new BattleField II uses Python in a way... > because I heard that you had to comment out a certain line > in a certain .py file to remove

RE: Python in Games (was RE: [Stackless] Python in Games)

2005-06-14 Thread Delaney, Timothy C (Timothy)
Irmen de Jong wrote: > Also, alledgedly the new BattleField II uses Python in a way... > because I heard that you had to comment out a certain line > in a certain .py file to remove the time limit of the demo :-) Silly silly people - they should have at least had the launcher and that part in Pyr

Re: Python in Games (was RE: [Stackless] Python in Games)

2005-06-14 Thread Irmen de Jong
Patrick Down wrote: > My understanding is that the upcoming Civilization IV will have python > scripting. > Also, alledgedly the new BattleField II uses Python in a way... because I heard that you had to comment out a certain line in a certain .py file to remove the time limit of the demo :-) --

Re: Python in Games (was RE: [Stackless] Python in Games)

2005-06-14 Thread Patrick Down
My understanding is that the upcoming Civilization IV will have python scripting. -- http://mail.python.org/mailman/listinfo/python-list

RE: Python in Games (was RE: [Stackless] Python in Games)

2005-06-14 Thread Delaney, Timothy C (Timothy)
Dave LeCompte (really) wrote: >> Who is using Python in games >> >> Python has been used in a number of games, including >> >>* ToonTown - http://www.toontown.com/ >>* EveOnline - http://www.eve-online.com/ >>* Blade of Darkness - http://www.codemastersusa.com/blade/ Add to that: -

Re: HELP ! Anybody knows where the stackless python website is ?

2005-04-12 Thread Pierre-Frédéric Caillaud
Great ! Thanks ! On Tue, 12 Apr 2005 16:15:42 +0200, cfbolz <[EMAIL PROTECTED]> wrote: Hi! Pierre-Frédéric Caillaud wrote: I've been trying desperately to access http://www.stackless.com but it's been down, for about a week now ! The stackless webpage is working again. Regards, Carl Fri

Re: HELP ! Anybody knows where the stackless python website is ?

2005-04-12 Thread cfbolz
Hi! Pierre-Frédéric Caillaud wrote: > I've been trying desperately to access http://www.stackless.com but > it's been down, for about a week now ! The stackless webpage is working again. Regards, Carl Friedrich Bolz -- http://mail.python.org/mailman/listinfo/python-list

HELP ! Anybody knows where the stackless python website is ?

2005-04-11 Thread Pierre-Frédéric Caillaud
Hello ! I've been trying desperately to access http://www.stackless.com but it's been down, for about a week now ! I desperatly need to download stackless python... Of course the stackless mailing list is on their server, so it's down, too. Does anybody has a