about i#123: "rework referencing variables in filters"

Vlad Skvortsov vss at 73rus.com
Tue Apr 17 12:47:06 PDT 2007


Ivan Glushkov wrote:


[skipped]


>> >
>> > The second variant is used when we get username for command 'list'. In
>> > this case we don't need the user to be the correct database user (we
>> > just want to list issues, don't change smth)
>> >
>>
>> I've addressed this in my comments on r1486.
> where?
> my question is about ro-access to database if it's even locked.
> I haven't found something about it in your comment.

Sorry, I've missed that one. But as of now, we've got it.


[skipped]

> one more  question.
> Template string is "New in version 2.4".
> Should i use it and  so we  will have a limitation "python 2.4 or 
> higher"?
> The other perspective is returning back function "substitute" (removed
> in r1486).
> Can we somehow determine if someone use python 2.3?

Hmm. Python 2.3 comes preinstalled on Macs and it's not easy to upgrade 
it, even if one would wish. So we have to support this version for quite 
some time.

I didn't realize that templates are new in 2.4 -- my bad. We could 
either revert to the older version or (which I like better, if it's 
feasible) ship the Template code from Python 2.4 with DITrack, provided 
that a) the license permits (which I think is true), b) it's not too 
much hassle (name conflicts, etc). Some research needs to be done on that.

-- 
Vlad Skvortsov, vss at 73rus.com, http://vss.73rus.com



More information about the Dev mailing list