You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I actually went through git blame until first commit by hannosch which sounds like moving from elsewhere.
I know none of you did touch it.
I think it is spurious that the name is not used in this particular case. And I am asking advice of people I consider wise.
Think of this as code review while trying to make sense of code when debugging.
And sorry for the noise if you think this makes no sense.
I think this code was added in e10b7d6 (_none has the value of None and was changed in a later commit to None.) – Looks like it was introduced in Zope 2.9.
I must admit that I do not understand what was the goal of that change.
While debugging, I came to the following line:
Zope/src/OFS/Traversable.py
Line 315 in b507c39
Which passes
None
tovalidate
instead of thename
variable that is used at line 301.@dataflake @icemac Do you see a reason for not passing the actual
name
to thatvalidate
call ?All other calls in
restrictedTraverse
(except 1) do pass the availablename
variable.The text was updated successfully, but these errors were encountered: