-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Pyramid 1.8 #1087
Update to Pyramid 1.8 #1087
Conversation
Pyramid moved this out of the class and into its own function.
The failing tests are because of Pylons/pyramid#2958 |
96837de
to
396a990
Compare
Note: The next release of Pyramid should not alter the incoming settings. |
docs/core/resource.rst
Outdated
@@ -198,7 +198,7 @@ As an example, let's build a code that will copy a collection into another: | |||
from pyramid import Configurator | |||
|
|||
|
|||
config = Configurator(settings=DEFAULT_SETTINGS) | |||
config = Configurator(settings={**DEFAULT_SETTINGS}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is a shallow copy here enough? Maybe it's a good idea to note with XXX that this is a bug on pyramid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our default_settings aren't nested so yes I think it is enough.
Maybe we don't need to update the documentation about it.
The bug in Pyramid will probably be merged on Sunday but at first they said it was a feature and not a bug...
So wait, finally we're not doing a shallow copy or anything? |
We don't have to because the last release of Pyramid 1.8 has my patch with a fix there. |
Fixes #1008
Revamp #1016