Re: glibc detected *** python: corrupted double-linked list

2009-02-25 Thread Duncan Grisby
bout a week before I found it myself. I'm not sure that particular fix has found it into any of the major Linux distributions yet. Cheers, Duncan. -- -- Duncan Grisby -- -- dun...@grisby.org -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 - is this true?

2008-11-24 Thread Duncan Grisby
In article <[EMAIL PROTECTED]>, Aahz <[EMAIL PROTECTED]> wrote: >In article <[EMAIL PROTECTED]>, >Duncan Grisby <[EMAIL PROTECTED]> wrote: [...] >>That's exactly my point. Currently, the application just builds a list >>of values retrieved from th

Re: Python 3.0 - is this true?

2008-11-24 Thread Duncan Grisby
quire a lot more work than that. For my application, Python 3's comparison behaviour is a backwards step. You can argue all you like that the new behaviour is the "right" thing to do, and I'd be inclined to agree with you from a philosophical point of view, bu

Re: Python 3.0 - is this true?

2008-11-19 Thread Duncan Grisby
pend([line,line]) else: l.append(line) In that kind of case it doesn't really matter what happens to list items in the sort order, but it's important it doesn't fail to sort the ones that are strings. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 - is this true?

2008-11-11 Thread Duncan Grisby
n C++ rather than jump through hoops to make the Python sort work efficiently enough. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 - is this true?

2008-11-10 Thread Duncan Grisby
able to sort lists where some of the members are None. To some extent, it also sorts lists of other mixed types. It will be very hard to migrate this aspect of it to Python 3. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http

Re: Does omniORBpy 3.2 supports DII?

2008-07-14 Thread Duncan Grisby
x27;s author, I'm biased, so I'll let other people answer that... >Does omniORBpy 3.2 supports the Dynamic Invocation Interface? No, it doesn't. You can use Python's normal dynamic features to build dynamic requests, though. Cheers, Duncan. -- -- Duncan Grisby

ANNOUNCE: omniORB 4.1.1 and omniORBpy 3.1

2007-10-10 Thread Duncan Grisby
/pybugs/bugfixes-30.html Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Simple omniORBpy example throws exception with error 0x41540002

2007-05-22 Thread Duncan Grisby
with me speaking, so it's a bit light on details of what's going on. You might find the introduction in the omniORBpy manual more useful: http://omniorb.sourceforge.net/omnipy3/omniORBpy/omniORBpy002.html or chapter 2 in the PDF version: http://omniorb.sourceforge.net/omnipy3

Re: Components for a client/server architecture

2007-05-22 Thread Duncan Grisby
in terms of cross-platform compatibility and clarity of interfaces. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Approaches of interprocess communication

2007-02-16 Thread Duncan Grisby
erformance is particularly important and/or you need cross-language communications, use CORBA. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- Posted via NewsDemon.com - Premium Uncensored Newsgroup Service --->>>>>>http://www.NewsDem -- http://mail.python.org/mailman/listinfo/python-list

Re: omniorbpy: problems sending float values

2006-05-31 Thread Duncan Grisby
oblem you are seeing is due to a conflict between some marshalling code in omniORB 4.0.6 and your compiler's use of strict aliasing. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: How to write an API for a Python application?

2005-11-22 Thread Duncan Grisby
st posted some results to comp.object.corba that show omniORB is a lot faster than Ice for many things. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: How to write an API for a Python application?

2005-11-18 Thread Duncan Grisby
entor, but that's largely irrelevant to the users of the technology. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Regular expressions and the global interpreter lock

2005-11-18 Thread Duncan Grisby
least periodically release the lock to give other threads a chance to run? A quick look at the code in _sre.c suggests that for most of the time, no Python objects are being manipulated, so the interpreter lock could be released. Has anyone tried to do that? Thanks, Duncan. -- -- Duncan G

Re: How to write an API for a Python application?

2005-11-18 Thread Duncan Grisby
andled for you. In this day and age, why would you want to write code that deals with sockets apart from the most specialist situations? Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for CORBA (omniORB) examples

2005-01-05 Thread Duncan Grisby
e examples in this presentation I gave: http://www.grisby.org/presentations/py10code.html Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: logging in omniORB for python

2004-12-17 Thread Duncan Grisby
to stdout - and then looks like this: To avoid any confusion, it actually gets written to stderr, not stdout. Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: ANNOUNCE: Ice 2.0 released

2004-12-09 Thread Duncan Grisby
like this then? omniORB.importIDL("Color.idl") import M print "My favourite color is ", M.blue Cheers, Duncan. -- -- Duncan Grisby -- -- [EMAIL PROTECTED] -- -- http://www.grisby.org -- -- http://mail.python.org/mailman/listinfo/python-list

Re: Deadlock detection

2004-12-07 Thread Duncan Grisby
In article <[EMAIL PROTECTED]>, Josiah Carlson <[EMAIL PROTECTED]> wrote: > >Duncan Grisby <[EMAIL PROTECTED]> wrote: >> Does anyone know of a deadlock detector for Python? I don't think it >> would be too hard to hook into the threading module and in

Deadlock detection

2004-12-06 Thread Duncan Grisby
Hi, Does anyone know of a deadlock detector for Python? I don't think it would be too hard to hook into the threading module and instrument mutexes so they can be tested for deadlocks. I've googled around but I haven't found anything. Cheers, Duncan. -- -