Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
handle deferred discriminators when using re-entrant actions #2757
This PR fixes #2697 as well as re-adding support for resolving conflicts across orders.
This feature was silently dropped in Pyramid 1.4 when deferred discriminators were added.
It is re-introduced such that it's possible to override an action in order X by defining an action in order Y where Y <= X with a non-conflicting includepath.
This also takes special care to avoid undeferring the discriminator for an action until the execution engine is ready to start executing actions of the same order. This gives time for required actions to execute prior, allowing the discriminator to depend on earlier actions.
I've kicked off the build on Travis again: https://travis-ci.org/Pylons/pyramid/builds/156458741
As well as AppVeyor.