1 | Hello, |
---|
2 | first of all thanks a lot for your work with pypar. |
---|
3 | |
---|
4 | Now my remark: |
---|
5 | trying out testpypar.py with python 2.2, raw_receive(string) |
---|
6 | doesn't work: the vanilla method is called instead of. |
---|
7 | |
---|
8 | Looking your sources, in pypar.py:220 (about) |
---|
9 | |
---|
10 | if type(x).__name__ == 'string': |
---|
11 | |
---|
12 | doesn't work with (my) python 2.2 (GNU/Linux RH7.2 on i686), |
---|
13 | where type(aString) == 'str'. |
---|
14 | |
---|
15 | So I've done this simple workaround: |
---|
16 | |
---|
17 | if type(x).__name__[0:3] == 'str': |
---|
18 | |
---|
19 | (this should work for both python2.1 and python2.2) |
---|
20 | |
---|
21 | HTH |
---|
22 | Thanks again for your effort. |
---|
23 | /gp |
---|
24 | |
---|
25 | |
---|
26 | P.S.: perhaps I've mis-compiled my python2.2, but since |
---|
27 | I've accepted all the defaults, I suppose that someone other |
---|
28 | will find this very same issue. |
---|
29 | |
---|
30 | P.S.: in my installation, pypar works with the latest LAM 6.5.6 |
---|
31 | |
---|
32 | -- |
---|
33 | Discussion: How do you feel about Open Source firms making |
---|
34 | millions through public offerings? |
---|
35 | |
---|
36 | "I wish these companies were making the same millions without |
---|
37 | distributing 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 |
---|
44 | to 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 | |
---|