Re: [Python-Dev] Deploying embedded Python

2007-12-17 Thread Andreas Raab
Aahz wrote: > On Mon, Dec 17, 2007, Andreas Raab wrote: >> [Apologies if this isn't the right list but I couldn't find any mailing >> list specifically dedicated to embedded Python. Does such a list exist?] > > There isn't, really, but python-dev is by definition NOT the correct list > because yo

Re: [Python-Dev] Deploying embedded Python

2007-12-17 Thread Aahz
On Mon, Dec 17, 2007, Andreas Raab wrote: > > [Apologies if this isn't the right list but I couldn't find any mailing > list specifically dedicated to embedded Python. Does such a list exist?] There isn't, really, but python-dev is by definition NOT the correct list because you're asking questio

Re: [Python-Dev] PyTuple_Pack with NULL argument

2007-12-17 Thread Guido van Rossum
Yes, a tuple containing NULL should never be exposed to Python code -- it should only ever be a temporary result in C code. The C code should ensure all tuple items are non-NULL before passing the tuple off to Python (or even to its caller, in most cases). --Guido On Dec 17, 2007 1:19 PM, Lisandr

[Python-Dev] Deploying embedded Python

2007-12-17 Thread Andreas Raab
Hi - [Apologies if this isn't the right list but I couldn't find any mailing list specifically dedicated to embedded Python. Does such a list exist?] I'm currently looking into a few deployment issues with our embedded Python interpreter and I'm looking for any information about deploying embe

Re: [Python-Dev] Signals+Threads (PyGTK waking up 10x/sec).

2007-12-17 Thread Jan Claeys
Op dinsdag 11-12-2007 om 17:03 uur [tijdzone -0800], schreef Guido van Rossum: > On Dec 11, 2007 4:54 PM, Jan Claeys <[EMAIL PROTECTED]> wrote: > > Op vrijdag 07-12-2007 om 07:26 uur [tijdzone -0700], schreef Sean > > Reifschneider: > > > I would say that this is an optimization that helps a specif

[Python-Dev] PyTuple_Pack with NULL argument

2007-12-17 Thread Lisandro Dalcin
Currently, PyTuple_Pack() does not check for NULL arguments, so it is going to segfault in this case. Is this intended for performance reasons? -- Lisandro Dalcín --- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Ind

[Python-Dev] asyncore delayed calls feature

2007-12-17 Thread Giampaolo Rodola'
I would ask if someone using asyncore could review this, please: http://bugs.python.org/issue1641 ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/pyt

[Python-Dev] [patch] Improvements for float and math

2007-12-17 Thread Christian Heimes
I've implemented several small improvements for floats and the math module. You can find a description and the patches in our bug tracker: http://bugs.python.org/issue1635 http://bugs.python.org/issue1640 Summary: * Full and platform independent round trip for +/-inf and nan. Before the patch th

Re: [Python-Dev] Improved dyn mod load debug

2007-12-17 Thread Christian Heimes
Neal Becker wrote: > I had mistakenly installed a module (Qsci.so) into the wrong directory. > Debugging this was harder than it needed to be (c-level debug of shared > lib). > > Currently, the only debug info is from importdl.c: > m = PyDict_GetItemString(PyImport_GetModuleDict(), name);

[Python-Dev] Improved dyn mod load debug

2007-12-17 Thread Neal Becker
I had mistakenly installed a module (Qsci.so) into the wrong directory. Debugging this was harder than it needed to be (c-level debug of shared lib). Currently, the only debug info is from importdl.c: m = PyDict_GetItemString(PyImport_GetModuleDict(), name); if (m == NULL) {