1 |
Moin, |
2 |
|
3 |
Am Mittwoch, 28. April 2010 08:01:03 schrieb Randy Andy: |
4 |
|
5 |
> mir scheint du arbeitest da noch mit Python 2.4, daher könnte es die |
6 |
> Probleme geben. |
7 |
|
8 |
Nee, habe 2.4 und 2.6 installiert, laut 'eselect python list' ist 2.6 aktiv. |
9 |
Habe deswegen auch mal spaßeshalber auf die 2.4 umgeschaltet, aber dann |
10 |
funktioniert emerge selbst nicht mehr. |
11 |
|
12 |
übrigens: |
13 |
|
14 |
# locate optparse.py |
15 |
/usr/lib/python2.6/test/test_optparse.py |
16 |
/usr/lib/python2.6/test/test_optparse.pyc |
17 |
/usr/lib/python2.6/test/test_optparse.pyo |
18 |
/usr/lib/python2.6/optparse.py |
19 |
/usr/lib/python2.6/optparse.pyc |
20 |
/usr/lib/python2.6/optparse.pyo |
21 |
|
22 |
Aha, dieses nicht auffindbare optparse gibt es also irgendwie. Mal eben: |
23 |
|
24 |
# python /usr/lib/python2.6/test/test_optparse.py |
25 |
test_bool_default (__main__.TestBool) ... ok |
26 |
test_bool_false (__main__.TestBool) ... ok |
27 |
....... |
28 |
---------------------------------------------------------------------- |
29 |
Ran 150 tests in 0.193s |
30 |
|
31 |
OK |
32 |
|
33 |
Also soll wohl alles optparse-bezügliche funktionieren. |
34 |
|
35 |
Hmm... |
36 |
|
37 |
CU Rollo |