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

Re: DeprecationWarnings when using Subversion 1.5.6 with Python 2.6

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Thu, 26 Mar 2009 18:12:56 +0100

2009-03-26 10:13 Felix Schwarz <felix.schwarz_at_agile42.com> napisał(a):
> when I use the Python bindings from Subversion 1.5.6 together with
> Python 2.6, I get some deprecation warnings.
>
> /usr/lib/python2.6/site-packages/svn/fs.py:27: DeprecationWarning: The
> popen2 module is deprecated.  Use the subprocess module.

It was already fixed in r34863+r34888. The fixes are included in
Subversion 1.6.0.

>   import sys as _sys, os as _os, popen2 as _popen2, tempfile as _tempfile
> /usr/lib/python2.6/site-packages/svn/core.py:52: DeprecationWarning:
> BaseException.message has been deprecated as of Python 2.6
>   self.message = message

It is already on my Python-3-compatibility TODO list. It will be fixed
in Subversion 1.7 or later.

> I think this should be considered a bug so I would like to file a bug in
> the bug tracker.

They're only warnings. Please don't file a bug in the bug tracker.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1432514
Received on 2009-03-26 18:13:18 CET

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.