source: branches/source_numpy_conversion/pypar-numeric/contrib/ciceri @ 7248

Last change on this file since 7248 was 5779, checked in by steve, 16 years ago

Added the old version of pypar which works with Numeric. Necessary for parallel code until we move anuga to numpy (and then we can use pypar as distribute via sourceforge).

File size: 1.7 KB
Line 
1Hello,
2first of all thanks a lot for your work with pypar.
3
4Now my remark:
5trying out testpypar.py with python 2.2, raw_receive(string)
6doesn't work: the vanilla method is called instead of.
7
8Looking your sources, in pypar.py:220 (about)
9
10if type(x).__name__ == 'string':
11
12doesn't work with (my) python 2.2 (GNU/Linux RH7.2 on i686),
13where type(aString) == 'str'.
14
15So I've done this simple workaround:
16
17if type(x).__name__[0:3] == 'str':
18
19(this should work for both python2.1 and python2.2)
20
21HTH
22Thanks again for your effort.
23/gp
24
25
26P.S.: perhaps I've mis-compiled my python2.2, but since
27I've accepted all the defaults, I suppose that someone other
28will find this very same issue.
29
30P.S.: in my installation, pypar works with the latest LAM 6.5.6
31
32--
33Discussion: How do you feel about Open Source firms making
34millions through public offerings?
35
36"I wish these companies were making the same millions without
37distributing any non-free, user-subjugating software." --
38                                              Richard Stallman
39
40"We're so forward that sometimes we reach ourself." --
41                                              g.p.
42
43"It is amazing how much you can achieve when you don't have
44to do the real work yourself." --
45                                              Joe Celko
46
47   Gian Paolo Ciceri        Via B.Diotti 45 - 20153 Milano MI ITALY
48       CTO @ Louise         mobile :   ++39 347 4106213
49                                   :   ++39 348 3658272
50                            eMail  :   gp.ciceri@acm.org,
51                                       gp.ciceri@computer.org
52                                   :   gp.ciceri@louise.it
53                            webSite:   http://www.louise.it
54                            ICQ #  :   94620118
55
56
Note: See TracBrowser for help on using the repository browser.