[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: versioning of XSUB interfaces
From: |
Patrice Dumas |
Subject: |
Re: versioning of XSUB interfaces |
Date: |
Tue, 18 Aug 2015 15:19:27 +0200 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Tue, Aug 18, 2015 at 11:22:27AM +0100, Gavin Smith wrote:
> On 18 August 2015 at 10:52, Patrice Dumas <address@hidden> wrote:
>
> The "6.0dev" has come back for me a few times as well. I don't see why
> any versioning at all is needed. The modules are installed along with
> texi2any so out-of-date modules shouldn't get used. xsubpp
It was only used for standalone modules, and I think that we should try
to keep it that way.
> -noversioncheck seems like a good idea. Another idea is to use a
> different variable from $VERSION when calling the XSUB bootstrap
> function, so it doesn't get updated: this would keep version checking
> as a safety check, which could be useful occasionally. Then again,
> someone might want to use an out-of-date module deliberately, so why
> stop them.
If the interface has changed, it would be a very strange idea to use an
older module. So a number tracking the interface seems the best to me.
I'll prepare a patch.
--
Pat