", line 509, in wrap_socket
ciphers=ciphers)
File "/usr/local/lib/python3.2/ssl.py", line 266, in __init__
raise x
File "/usr/local/lib/python3.2/ssl.py", line 262, in __init__
self.do_handshake()
File "/usr/local/lib/python3.2/ssl.py&quo
3f000-7f38f8d41000 rw-p 4000 08:0e 54345
/mnt/sda14/pack_build/Python-3.2.1rc1/build/lib.linux-x86_64-3.2/select.cpython-32m.so
7f38f8d41000-7f38f8d55000 r-xp 08:0b 219
/usr/lib64/libz.so.1.2.3
7f38f8d55000-7f38f8f54000 ---p 00014000 08:0b 219
/usr/lib64/libz.so.1.2.3Aborted
--
nirinA
--
e "/mnt/sda14/pack_build/Python-3.2.1rc1/Lib/test/support.py", line
1167, in _run_suite
raise TestFailed(err)
test.support.TestFailed: multiple errors occurred
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
ms() return iterator.
> Of course, I could use
> for key, val in myDict.items():
> do_something
> break
> but maybe there is any better way?
key, val = list(myDict.items())[0]
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
5.4 on windows, so can't help much.
with Linux, it is just:
2to3 a_python_file_or_a_dir_package
on windows, i don't know, maybe:
import subprocess
subprocess.Popen(('python.exe', 'Tools/Scripts/2to3.py', 'the_package'))
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
ppcfg_nag', '.bash_history', '.idlerc',
'.inputrc', '.povray',
'bootex.log', 'buildBasicDemo.txt', 'glsample.cpp', 'glsample.o',
'log.txt',
'screen_capture.jpg', 'test.c']
>>>
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
[V N]
I tried all your suggestions. No success.
don't forget to run:
make distclean
before you rerun configure
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
lso do surgery on configure or something if that's what it takes.
Thanks in advance!
Austin
you can change or erase the list of include and library files
related to ssl in setup.py before configuring.
but, as you say, this may break hashlib. and probably the socket
module, and may be other
the -I or -L and the directory name.
and the backslash to continue long line.
finally, don't use sudo.
try to log as root if possible.
may be you cannot access some
files needed for compilation
as a simple user.
and some LD*** and CPP*** flags
are reset when you use sudo.
hope this helps
nirinA
--
Simple is better than complex.
--
http://mail.python.org/mailman/listinfo/python-list
[V N]
import _md5
ImportError: No module named _md5
Any idea(s)?
try to build Python with pydebug to enable _md5:
./configure --with-pydebug
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
le Python.
otherwise, look at the make log to see why
the building of ssl module failed.
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
a penguin, a gnu and a snake
and an X animal participate in
a poem contest. who will win?
Ellipsis
--
nirinA
--
--
http://mail.python.org/mailman/listinfo/python-list
> A tuple, a dict, and a list,
> And whitespace which mus'n't be missed.
> Imported together,
> And stirred with a feather,
> Yields a language whose name must be hissed!
A char, an integer and a float,
And a decimal which precision is fixed
Computerised altogether
Then shaked down with a mixer
As
tants) for i in ['TRUE', 'YES', 'inexistent
key'])
False
lovely...
i do not regret the fate of reduce et al.
>
> To check for subsets, either use the issubset function, or the '<'
operator (I
> believe they both call the same code):
>
> .>> set(['TRUE','YES']).issubset(set(dir(Tkconstants)))
> True
>
> can be expressed as
>
> .>> set(['TRUE','YES']) < set(dir(Tkconstants))
> True
i noted! thanks again.
--
nirinA
--
--
http://mail.python.org/mailman/listinfo/python-list
ts)
True
i'll recite 42 times precedence rules before going to bed.
but now i'm a bit confused by the -in- operator. as:
>>> set(['TRUE','YES']).issubset(set(dir(Tkconstants)))
True
i expected this to be true, but it's not:
the python
> docs.
>
i think you need to precise it, and even with some other rpm
specific options like: --use-rpm-opt-flags
but ... i'm not sure that those options are already
implemented with Python22.
if not you may have to upgrade!
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
in your package?
what command are you issueing?
does this include the file?
python setup.py sdist
as you use Python22 on RH9, maybe:
python setup.py bdist_rpm --install-script foobar
> Jack
--
nirinA
--
i ougth to read clearly the post and
should refuse the temptation to guess!
--
http://mail.python.org/mailman/listinfo/python-list
command are you issueing?
does this include the file?
python setup.py sdist
as you use Python22 on RH9, maybe:
python setup.py bdist_rpm --install-script foobar
> Jack
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
ge?
what command are you issueing?
does this include the file?
python setup.py sdist
as you use Python22 (old) on RH9, maybe:
python setup.py bdist_rpm --install-script foobar
--
nirinA
--
--
http://mail.python.org/mailman/listinfo/python-list
"Harlin Seritt" wrote:
> either YES, True, or 1 should work.
>
yes, indeed.
>>> import Tkconstants
>>> 'True' and 'YES' in dir(Tkconstants)
True
thanks Harlin,
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
not specified by the setup script
is to write a MANIFEST where you indicate those files. then build the
package with the sdist command:
$ cat > MANIFEST
bin/foobar
bin/anotherfoobar
anotherbin/barfoo
setup.py
MANIFEST
ctrl-D
$ python setup.py sdist
>
> Jack Orenstein
>
hope this helps.
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
gt; > Is there any way to force this?
> >
> > thanks,
> >
> > Harlin
> >
>
> Harlin,
>
> It should expand (and fill ) in both directions have you checked
> it's parents packing options?
>
> Martin
>
is YES a valid flag for expand?
maybe expand=1
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
nt, idlelib.configDialog, inspect
>>> print inspect.getsource(tkFont)
>>> print
inspect.getsource(idlelib.configDialog.ConfigDialog.CreatePageFontTab)
> thanks,
>
> Harlin Seritt
>
hope this helps
--
nirinA
--
--
http://mail.python.org/mailman/listinfo/python-list
the text and scrollbar to be scrolled
> > to
> > the bottom, so the latest line of text is always shown. How to do
> > this? Thanks,
>
>
> text.yview_pickplace("end")
>
or
text.see('end')
there is also a "ScrolledText" module
>
on : present if created with the fancy option
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
tall report! not an error.
start coding and see what happens.
>>> print "Hello World!"
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
"/" , that is, at the top level directory.
bitmap="@c:/test.xbm" is equivalent.
some solutions:
1) copy (or cut) and paste the file test.xbm to c:/ and continue to
use your code or,
2) if test.xbm is in the same directory as your code, you may write:
bitmap="@test.xbm" or bitmap="@./test.xbm"
where "./" means the current directory or,
3) you may write something like (one single string!):
bitmap="@C:/Documents and Settings\Wim/Mijn
documenten\Python/test.xbm"
notice also that if the bitmap appears in your button,
your text="nieuw" may not be visible.
>>> Thanks in advance,
>>> Wim Goffin
hope this help.
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
27 matches
Mail list logo