473,624 Members | 2,606 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stackless 3.0 for Python 2.3: new binaries

New Win32 binaries have been uploaded to the Stackless website.

Some compatibility issues with certain constructors
have been solved.

Please let me know of any problems.

more to come soon - cheers -- chris
--
Christian Tismer :^) <mailto:ti****@ stackless.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/


Jul 18 '05 #1
7 1679


Christian Tismer schrieb:
New Win32 binaries have been uploaded to the Stackless website.

Some compatibility issues with certain constructors
have been solved.

Please let me know of any problems.

Trying seriously to find out how to use stackless and what it is
good for ;-), I stumbled just in the beginning. While I was able to
execute some of my Python programs, among them Tkinter-programs
and even recursive ones,

(1) I was not able to use Stackless from IDLE:

Python 2.3.3 Stackless 3.0 040221 (#51, Feb 15 2004, 22:37:26) [MSC
v.1200 32 bit (Intel)] on win32
Type "copyright" , "credits" or "license()" for more information.

*************** *************** *************** *************** ****
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
*************** *************** *************** *************** ****

IDLE 1.0.2
3*4

Traceback (most recent call last):
File "C:\Python23\li b\idlelib\rpc.p y", line 233, in asyncqueue
self.putmessage ((seq, request))
File "C:\Python23\li b\idlelib\rpc.p y", line 322, in putmessage
s = pickle.dumps(me ssage)
RuntimeError: maximum recursion depth exceeded

(2) I don't know where to put python23.exp (and what it is good
for). Maybe this is the reason for problem (1) ??

Regards, Gregor
more to come soon - cheers -- chris

Jul 18 '05 #2


Christian Tismer schrieb:
New Win32 binaries have been uploaded to the Stackless website.

Some compatibility issues with certain constructors
have been solved.

Please let me know of any problems.

Trying seriously to find out how to use stackless and what it is
good for ;-), I stumbled just in the beginning. While I was able to
execute some of my Python programs, among them Tkinter-programs
and even recursive ones,

(1) I was not able to use Stackless from IDLE:

Python 2.3.3 Stackless 3.0 040221 (#51, Feb 15 2004, 22:37:26) [MSC
v.1200 32 bit (Intel)] on win32
Type "copyright" , "credits" or "license()" for more information.

*************** *************** *************** *************** ****
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
*************** *************** *************** *************** ****

IDLE 1.0.2
3*4

Traceback (most recent call last):
File "C:\Python23\li b\idlelib\rpc.p y", line 233, in asyncqueue
self.putmessage ((seq, request))
File "C:\Python23\li b\idlelib\rpc.p y", line 322, in putmessage
s = pickle.dumps(me ssage)
RuntimeError: maximum recursion depth exceeded

(2) I don't know where to put python23.exp (and what it is good
for). Maybe this is the reason for problem (1) ??

Regards, Gregor
more to come soon - cheers -- chris


Jul 18 '05 #3
Gregor Lingl wrote:
Christian Tismer schrieb:
New Win32 binaries have been uploaded to the Stackless website.

Some compatibility issues with certain constructors
have been solved.

Please let me know of any problems.

Trying seriously to find out how to use stackless and what it is
good for ;-),


Alaaf, you are cheating, right?
You must have known, partially, last August. ;-)
I stumbled just in the beginning. While I was able to
execute some of my Python programs, among them Tkinter-programs
and even recursive ones,

(1) I was not able to use Stackless from IDLE: ....
>>> 3*4

Traceback (most recent call last):
File "C:\Python23\li b\idlelib\rpc.p y", line 233, in asyncqueue
self.putmessage ((seq, request))
File "C:\Python23\li b\idlelib\rpc.p y", line 322, in putmessage
s = pickle.dumps(me ssage)
RuntimeError: maximum recursion depth exceeded


Yes, I tried this and I get the same problem.
Have to admit that I'm not a regular IDLE user.
Seriously, I have no idea what's going on.
Seriously, I have also no idea why Python must
try to pickle something, to compute 3*4 ???

Everything works with Python 2.2. I expect something
has changed dramatically with Idle, and there is some
compatability issue with all the new pickling support that
we had to add for Python 2.3. Eeek, how do I debug that!
(2) I don't know where to put python23.exp (and what it is good
for). Maybe this is the reason for problem (1) ??


Forget it. it is just a table of exported names which might help
with debugging.

ciao -- chris

p.s.: Stackless Sprint in Berlin: March 10-14, maybe one day less.
--
Christian Tismer :^) <mailto:ti****@ stackless.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
Jul 18 '05 #4
Bob Ippolito wrote:

....
This is not an authoritative response, because I don't actually know,
however here is my guess:
Good guess.
But I must reiterate that I have no idea.. never looked at the IDLE
source code, don't use IDLE, haven't been on python-dev long enough to
notice if/when this happened... I have however run into these sorts of
problems on my own plenty of times and solved them to various degrees
(but have not written a full out RPC mechanism, though I would like to
at some point if a good one doesn't yet exist).


I'm no IDLE or Tcl/Tk user, either. But I had Tcl problems,
before. What I really would hate is to have to build the Tcl
stuff and debug that.
What I'm probably going to try tomorrow is to disable all
pikcling extensions at all and see if it runs, then.
Then I will re-enable them, one after the other.
My guess is that something gets pickled because it shows
up as pickleable, through introspection.
Maybe a special case is hit again (like with cell objects)
that needs to use the ternary __reduce__ protocol. I don't know.

I need sleep. ciao - chris

--
Christian Tismer :^) <mailto:ti****@ stackless.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
Jul 18 '05 #5
Christian Tismer wrote:
OK got it: It must be functype which tends
to produce infinite recursion:
This works:

int init_prickelpit (void)
{
if (0
|| init_codetype()
// || init_functype()
|| init_celltype()
|| init_frametype( )
|| init_tracebackt ype()
|| init_moduletype ()
|| init_moduledict type()
|| init_itertype()
|| init_methodtype ()
|| init_generatort ype()
|| init_dictiterty pe()
|| init_enumtype()
|| init_enumfactor ytype()
|| init_listiterty pe()
|| init_rangeitert ype()
|| init_tupleitert ype()
) return -1;
return 0;
}

So I think I have to change pickling of functions and we are there.
I guess this is not a Tkinter issue, but it would have hit us
at some time, later.

good night finally! :-) chris

(yes, hacks like this are my strength)

--
Christian Tismer :^) <mailto:ti****@ stackless.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
Jul 18 '05 #6
Christian Tismer wrote:
Bob Ippolito wrote:

...
This is not an authoritative response, because I don't actually know,
however here is my guess:

Good guess.
But I must reiterate that I have no idea.. never looked at the IDLE
source code, don't use IDLE, haven't been on python-dev long enough to
notice if/when this happened... I have however run into these sorts of
problems on my own plenty of times and solved them to various degrees
(but have not written a full out RPC mechanism, though I would like to
at some point if a good one doesn't yet exist).

I'm no IDLE or Tcl/Tk user, either. But I had Tcl problems,
before. What I really would hate is to have to build the Tcl
stuff and debug that.
What I'm probably going to try tomorrow is to disable all
pikcling extensions at all and see if it runs, then.
Then I will re-enable them, one after the other.
My guess is that something gets pickled because it shows
up as pickleable, through introspection.
Maybe a special case is hit again (like with cell objects)
that needs to use the ternary __reduce__ protocol. I don't know.


Hey, this is a hit!
First result: It works, if we do this:

int init_prickelpit (void)
{
if (0
// || init_codetype()
// || init_functype()
// || init_celltype()
// || init_frametype( )
// || init_tracebackt ype()
// || init_moduletype ()
|| init_moduledict type()
// || init_itertype()
// || init_methodtype ()
// || init_generatort ype()
// || init_dictiterty pe()
|| init_enumtype()
|| init_enumfactor ytype()
// || init_listiterty pe()
// || init_rangeitert ype()
// || init_tupleitert ype()
) return -1;
return 0;
}

I will uncomment stuff tomorrow, then we'll see :-))

good knight -- chris

--
Christian Tismer :^) <mailto:ti****@ stackless.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
Jul 18 '05 #7
Christian Tismer wrote:

[IDLE was not running]
So I think I have to change pickling of functions and we are there.
I guess this is not a Tkinter issue, but it would have hit us
at some time, later.


Issue solved.
Stackless works fine with IDLE, now.
This was not IDLE-specific, but a forgotton adaption of
cPickle to Stackless.
At the same time, a real cPickle bug showed up, and I submitted
a patch.

If there are no further bugs showing up, I wish to freeze
Stackless for three weeks. Development will continue on
the Stackless Sprint in Berlin, March 10-14.

See the updated website at http://www.stackless.com/

cheers - chris

--
Christian Tismer :^) <mailto:ti****@ stackless.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
Jul 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1240
by: Christian Tismer | last post by:
Hi Stackless friends, There is a small update of the Stackless web site. The binaries are updated, the CVS address is corrected, and a few words about the Stackless Python Alliance to be founded are there. Also there is a link to the new Zope demo page on the new server. http://www.stackless.com/
0
1136
by: Christian Tismer | last post by:
Dear friends, there have been so many changes, additions, contributions and discussion of Stackless in the last few days, that I did an update of the website and created new binaries as well. There also were some kind people who sent some money via PayPal. I would like to thank these, and encourage others to follow their example. Everybody is listed in the sponsors page.
1
2316
by: srijit | last post by:
Hello Chris, Please refer an old message below. I unzipped python23.dll.zip and kept python23.dll in a local folder. I started Python from a dos box (Win XP machine) in the same local folder. I typed help(stackless) and got an error message, as shown below. D:\Python23\myfiles>python Python 2.3.3 (#51, Dec 18 2003, 20:22:39) on win32 Type "help", "copyright", "credits" or "license" for more information.
0
1336
by: Christian Tismer | last post by:
As already announced, the *********************************************** *** *** *** S t a c k l e s s S p r i n t *** *** *** *********************************************** has now a settled date: It will take place in Berlin, March 10-14 2004.
1
2269
by: Lorenzo Gatti | last post by:
Last weekend I tried to install Pygtk2 on Windows. I succeeded (maybe), but I discovered a likely bug. I have Windows 2000, Python 2.3.3 (with ActivePython installed after the normal version) and a recent Stackless 3.0 python23.dll. I think I've chosen correct and matching versions of GTK2 (Dropline distribution 2.2.4-2) and Pygtk2 (pygtk 2.2.0-1.win32-py2.3.exe). I installed both in the default locations (pygtk in site-packages, GTK2 in...
4
2278
by: Christian Tismer | last post by:
Dear Former Stackless Users, I have to use this list to announce something really bad to you, since all the Stackless lists are defunct: The Stackless project is finally dead, now and forever. If this doesn't affect you, please don't worry and just ignore it. I don't take any responsibilities for any harm brought to you, your family or your descendants
28
4842
by: Matt Leslie | last post by:
Hi, I'm trying to use microthreads under stackless python, since they sound like exactly what I am after, but I am having very little success. I've got a fresh install of python 2.3.3 from python.org, then downloaded the binary python2.3 release of stackless python from www.stackless.com. This contained three files: python23.dll, python23.lib, python23.exp
11
2652
by: binarybana | last post by:
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 wondering if Stackless is dead/declining and if so, are there any viable alternatives that exist today? I found LGT http://lgt.berlios.de/ but...
3
2013
by: Richard Tew | last post by:
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/download
0
8179
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8685
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8631
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8490
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7174
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
1796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1489
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.