New submission from Berthold Höllmann h...@users.sourceforge.net:
I do get (with 2.7.1):
python
Traceback (most recent call last):
File /usr/local/gltools/python/Python-2.7/lib/python2.7/site.py, line 553,
in module
main()
File /usr/local/gltools/python/Python-2.7/lib/python2.7
bolega gnuist...@gmail.com writes:
Basically, I have spent a few hours experimenting and searching on the
comp.unix.shell
how to break a command with several switches into more than one line
AND to be able to put some comment on each line.
#!/bin/bash -xv
command \ # comment1
Christian Heimes [EMAIL PROTECTED] writes:
Berthold Höllmann wrote:
Is there any common reason to for such a strange object on the command
stack, or is it more likely that any of my extension modules is causing
havoc?
It's very likely that your extension has a reference counting bug
I have a problem with my debug Python 2.5.2 executable with Py_REF_DEBUG
and Py_TRACE_REFS set. With one of my scripts I get:
...
Fatal Python error: Python/ceval.c:947 object at 0x2aa3f4d840 has negative ref
count -2604246222170760230
Program received signal SIGABRT, Aborted.
[Switching to
Berthold Höllmann [EMAIL PROTECTED] added the comment:
OK, using Unicode strings in conf.py does work, so make this a Bug in
sphinx-quickstart. My conf.py was generated by sphinx-quickstart, When
asked for the author(s) name I gave my name and conf.py was generated
with a simple string
New submission from Berthold Höllmann [EMAIL PROTECTED]:
For a Project of mine I have set latex_documents to something like
latex_documents = [
('index', 'doc.tex', 'Documentation', 'Berthold Höllmann', 'manual'),
]
With this processing fails with:
LANG=C make latex
mkdir -p build/latex
Jeffrey Barish [EMAIL PROTECTED] writes:
I have a class derived from string that is used in a pickle. In the new
version of my program, I moved the module containing the definition of the
class. Now the unpickle fails because it doesn't find the module. I was
thinking that I could make the
Saving the following code to a file and running the code through
python does not give the expected error. disableling the @decor line
leads to the expected error message. Is this a bug or an overseen
feature?
--- snip dectest.py ---
class decor(object):
def __init__(self, f):
self.f
Peter Hansen [EMAIL PROTECTED] writes:
Berthold Höllmann wrote:
As I understand it, ctypes is not really a solution. The code is about
data handling and FE analysis. It has not GUI component. I'm not sure
how well ctypes works with Numeric arrays, but I'm sure ctypes does
not work on Linux
I have wrapped some inhouse libraries for Python. The development team
uses VC6 and DF6.1 for development of these libraries under WinXP. I
would like to wrap the libraries for Python and use the official Win
Python from python.org. Now I get a segmentation fault in (access
violation in
F. Petitjean [EMAIL PROTECTED] writes:
Le Tue, 27 Sep 2005 17:48:47 +0200, Berthold Höllmann a écrit :
I have wrapped some inhouse libraries for Python.
How ? Directly coding C code ?
Depends :-) f2py, directly coding C, SWIG.
The development team
uses VC6 and DF6.1 for development
I have a default coding header
# -*- coding: iso-8859-15 -*-
in my python files. I now have Problems with this settings. I
swithched to Python 2.4.1 under Windows. When I import files with the
above coding header I get frequent syntax errors with files that work
flawlessly under Linux. The
Francois De Serres [EMAIL PROTECTED] writes:
hiho,
what's the clean way to translate the tuple (0x73, 0x70, 0x61, 0x6D)
to the string 'spam'?
. t = (0x73, 0x70, 0x61, 0x6D)
. ''.join('%c' % c for c in t)
'spam'
--
Es gelten die Regeln der christlichen Seefahrt: Rot und Grün markiert
das
13 matches
Mail list logo