I'm still not sure about PyObject_Print, but I found a better
solution, using the Misc/gdbinit file from the Python source tree,
which defines a pyo macro.
Example:
(gdb) pyo some_object
object : []
type : list
refcount: 1
address : 0x4b5940
$3 = void
Cheers,
Chris
On May 15, 2:15 pm,
I've been using gdb to debug some Python extension modules lately,
which has been very handy, but cannot get PyObject_Print() to work
from within gdb, as recommended by
http://wingware.com/doc/howtos/debugging-extension-modules-on-linux
It recommends using "p PyObject_Print (obj, stderr, 0)" but
What command are you using to "freeze" your source?
On Apr 24, 4:23 pm, Flyzone <[EMAIL PROTECTED]> wrote:
> Hi, i need to "compile" a python source (2.3.6) to make it standalone
> on Solaris 9.
> I get this warning on freezing my source:
>
> "Warning: unknown modules remain: _locale _random _sock
Since my post I have compiled Python 2.4.3 with Sun Studio 11 with
"-fast" option (on Solaris 10) which has produced the fastest version of
Python I've been able to test on this hardware, including the CentOS
Linux version (which I'm pleased about).
I haven't looked into more optimal gcc build
I have found that the sunfreeware.com build of Python 2.4.3 for Solaris
10 is faster than one I can build myself, on the same system.
sunfreeware.com doesn't bother showing the options they used to
configure and build the software, so does anyone know what the optimal
build options are for Sola
Martin v. Löwis wrote:
> You need to use GNU make for that to work. The build regenerates the
> makefile, but Sun make doesn't recognize the change. There was a message
> telling you so.
Thanks Martin, you are totally correct. Using gmake avoids the problem.
> Also, your original complaint wasn'
get
installed. Is this just a matter of raising a ticket?
Cheers,
Chris
Chris Miles wrote:
> On a standard Solaris 10 installation with Sun-supplied open-source
> packages installed (like SFWrline for readline libs) I cannot seem to
> force Python configure/setup.py to build wit
On a standard Solaris 10 installation with Sun-supplied open-source
packages installed (like SFWrline for readline libs) I cannot seem to
force Python configure/setup.py to build with readline support.
SFWrline installs readline in /opt/sfw/lib & /opt/sfw/include
(This is all attempted with Pyt
Hi Yves,
You could try using EDDIE Tool's PORT directive to periodically make TCP
connections to your clients and check the result matches what is
expected. The alert engine will make it easy for you to define actions
to perform for failure conditions.
http://eddie-tool.net/
You could also d
You could also try the ping module that the Eddie monitoring tool has
been using successfully, cross-platform, for many years.
http://dev.eddie-tool.net/trac/browser/eddie/trunk/lib/common/Directives/pinger.py
Cheers,
Chris
Nico Grubert wrote:
> I could not find any "ping" Class or Handler in p
10 matches
Mail list logo