[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Identifting minor versions (Was: [ANN] Lua 5.3.3 (rc1) now available
- From: Daurnimator <quae@...>
- Date: Tue, 10 May 2016 19:07:45 +1000
On 9 May 2016 at 04:35, Dirk Laurie <firstname.lastname@example.org> wrote:
> 2016-05-06 17:46 GMT+02:00 Roberto Ierusalimschy <email@example.com>:
>>> Lua 5.3.3 (rc1) is now available for testing at
>> Follows a short list of what changed in 5.3.3:
>> - new semantics for empty matches ("Python rule")
> Is there a way to distinguish between Lua 5.3.x (x<=2) and Lua
> 5.3.3, apart from exploiting different behaviour in gmatch/gsub?
Usually for this sort of thing you would do a feature test for what you need.
i.e. if you need the "python rule", write a one-line test for it: if
it doesn't pass, write a compatability shim for it.