Skip to content

Strange call of policy.validate in Traversable  #926

Description

@gotcha

While debugging, I came to the following line:

obj, obj, None, next):

Which passes None to validate instead of the name variable that is used at line 301.

@dataflake @icemac Do you see a reason for not passing the actual nameto that validate call ?

All other calls in restrictedTraverse (except 1) do pass the available namevariable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions