[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python testsuite on windows

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Wed, 29 Apr 2009 17:36:54 +0200

2009-04-28 21:21 Jens Peters <jpeters7677_at_gmx.de> napisał(a):
>>> Traceback (most recent call last):
>>>    File "subversion\bindings\swig\python\tests\client.py", line 49, in
>>> testBatonP
>>> lay
>>>      str(self.client_ctx.auth_baton))
>>> AssertionError: "<libsvn.core.svn_auth_baton_t; proxy of<Swig Object of
>>> type 'svn_auth_baton_t *' at 0x0000000003953780>  >" !=
>>> "<libsvn.core.svn_auth_baton_t;
>>> proxy of<Swig Object of type 'svn_auth_baton_t *' at 0x0000000003953750>  >"
>>
>> Those two strings look identical to me. In fact, I copied them into a
>> text editor and found that they were identical. This is likely a
>> peculiarity in Python 2.6. Arfrever, any idea why these two strings
>> would not compare identical? Note that these are string
>> representations of pointers.
>
> The adress is different :).
> 0x0000000003953780 !=
> 0x0000000003953750

What version of SWIG do you use?
I remember seeing similar problem with SWIG 1.3.39.
SWIG 1.3.36 was working correctly.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1981514
Received on 2009-04-29 17:37:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.