[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] About import of cStringIO

From: Pierre de Buyl
Subject: Re: [ESPResSo-users] About import of cStringIO
Date: Wed, 31 Jan 2018 09:47:52 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Of course, I forgot the attachement.

On Tue, Jan 30, 2018 at 09:20:21PM +0100, Pierre de Buyl wrote:
> Hi all,
> in
> src/python/espressomd/MDA_ESP/
> there is an import to cStringIO that is a Python 2 only feature. The
> funcionality of cStringIO.StringIO is provided by io.StringIO in Python 3 but
> six allows to replace it by
> from six.moves import cStringIO
> and six is apparently an implied dependency anyway as it is required by 
> MDAnalysis
> If you think that it is useful, I attach a patch that I used on my computer. 
> To
> apply the patch, one can use "git apply".
> Regards,
> Pierre

Attachment: 0001-Use-six-for-2-3-compatible-use-of-cStringIO.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]