Re: Stupid email disclaimers (was: [unicode] inconvenient unicodeconversion of non-string arguments)

2006-12-14 Thread Holger Joukl
[EMAIL PROTECTED] schrieb am 13.12.2006 23:10:38: > [...] > In all likelihood, the OP isn't choosing specifically to attach it; > these things are often done to *every* outgoing message at an > organisational level by people who don't think the issue through very > well. > > http://goldmark.org

Re: Re: inconvenient unicode conversion of non-string arguments

2006-12-13 Thread Holger Joukl
[EMAIL PROTECTED] schrieb am 13.12.2006 12:05:33: > Holger Joukl wrote: > > >>> Ok, but I still don't see why these arguments shouldn't simply be > >>> silently ignored > >> > >> >>> import this > > > > You proba

Re: Re: inconvenient unicode conversion of non-string arguments

2006-12-13 Thread Holger Joukl
[EMAIL PROTECTED] schrieb am 13.12.2006 11:37:03: > Holger Joukl wrote: > > > Ok, but I still don't see why these arguments shouldn't simply be silently > > ignored > > >>> import this > > > You probably refer to "Explicit is better

Re: Re: call of __del__ non-deterministic in python 2.4 (cpython)?

2006-12-13 Thread Holger Joukl
[EMAIL PROTECTED] schrieb am 13.12.2006 11:09:13: > Holger Joukl wrote: > > > Anyway: Is relying on __del__ getting called immediately when the refcount > > drops to 0 a no-no? > > yes, but more importantly, relying on the refcount dropping to 0 when > something goes ou

Re: Re: inconvenient unicode conversion of non-string arguments

2006-12-13 Thread Holger Joukl
[EMAIL PROTECTED] schrieb am 13.12.2006 11:02:30: > > Holger Joukl wrote: > > Hi there, > > > > I consider the behaviour of unicode() inconvenient wrt to conversion of > > non-string > > arguments. > > While you can do: > > > &g

[unicode] inconvenient unicode conversion of non-string arguments

2006-12-13 Thread Holger Joukl
Hi there, I consider the behaviour of unicode() inconvenient wrt to conversion of non-string arguments. While you can do: >>> unicode(17.3) u'17.3' you cannot do: >>> unicode(17.3, 'ISO-8859-1', 'replace') Traceback (most recent call last): File "", line 1, in ? TypeError: coercing to Unicod

call of __del__ non-deterministic in python 2.4 (cpython)?

2006-12-13 Thread Holger Joukl
Hi all, I've recently run into a problem that I haven't seen with python 1.5.2 and python 2.3. It seems that under certain conditions __del__ does not get immediately called when a local variable goes out of scope. I ended up with deadlocks in a threaded application because a locked section was

Re: Python 2.4.2 gcc 3.4.4 Solaris 8 build issues [solved]

2006-01-03 Thread Holger Joukl
>Martin v. Löwis wrote: > >> 2. We have some stuff in non-standard locations here. To build >> properly, I need to tell this to configure (using CXX, CPPFLAGS, >> LD_LIBRARY_PATH). Unfortunately, none of this > gets communicated to >> the setup.py step with its find_library_file() stuff, so it is a

Python 2.4.2 gcc 3.4.4 Solaris 8 build issues

2005-12-30 Thread Holger Joukl
Hi, I encountered some build issues when compiling Python 2.4.4 on a Solaris 8 box using gcc 3.4.4: 1. Running configure detects that a C++-built main needs C++-linking. Therefore, Python gets linked with g++, creating a dependency on libstdc++. Some research showed up a rather elaborate discussio

Re: XML + SOAP + Webservices

2005-06-09 Thread Holger Joukl
. Cheers, Holger >>> Interoperable WSDL/SOAP web services introduction: Python ZSI , Excel XP & gSOAP C/C++ Holger Joukl LBBW Financial Markets Technologies Abstract Despite the hype & buzzword-storm, building web services servers and clients still is no piece of cake. This is

Re: Re: XML + SOAP + Webservices

2005-06-09 Thread Holger Joukl
Hi there, just about now I´ve started to write a little howto for the first steps with a python ZSI-based webservice to be consumed from C++ clients (gSOAP) and an Excel XP spreadsheet. More or less I am just documenting what I did, and I am by no means an expert on the subject, but still...might b