-
Notifications
You must be signed in to change notification settings - Fork 145
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
Why not allow None
in an appstruct serialized by Number?
#204
Comments
+1 |
No, and don't expect any. :( |
why not ? |
Well, this issue is nearly a year old and there's other related issues that are much older (ex. #140)... |
Aside from availability of volunteers to do the work (See #208 (comment)), all changes should include tests, documentation, and other standard release requirements according to the Pylons Project guidelines. Is there a PR somewhere related to this issue? |
Before a PR is created, answers need to be made to questions in the original issue, no? |
Nope. A PR can help by giving maintainers something concrete to review, discuss, and take further action on. It does not need to be perfect. Plus it shows that people who are not the maintainers will take initiative to do the work and contribute to the project. |
I've already put forward PR's that have gotten no response. I think I have over 10 across the different Pylons projects. If a discussion isn't being made on the open issues that exist, I don't see why anyone should bother with the effort of making patches, documentation, and tests. Someone needs to review the issues at hand and if they see merit they could ask for a PR or close them. As for this specific issue... I don't know why the change was made. I could create a PR that reverts the change, make docs, make tests, and then after all that be told "oh.. we did that because of X" and I just wasted a bunch of time. |
@tisdall Sorry to go meta here and slightly off-topic... I agree with you about the lack of response. At the same time, there are too few maintainers for colander and other Pylons Project projects who are qualified to take action. I think some of the Pylons Project projects are hitting the same barrier of other FOSS projects: too little time available by the maintainers to do the needed maintenance work, and no new qualified volunteers asking to become maintainers. We need fresh meat! I don't know whether money would help mitigate the situation. I'm compiling data points across all the Pylons Project projects to assess which might benefit from grant funding. Ultimately I plan to apply for grants (e.g., PSF, MOSS, etc.) to compensate someone to do the work. Money is not a primary motivator when it comes to FOSS, but it helps improve its priority above "I've got better things to do than work more hours at a computer". I personally think that more maintainers across the projects would be a good thing™, whether that involves remuneration. |
^_^ I think we already went off topic. I already had this sort of discussion on IRC. You'd think a history of good PR's would be enough to accept someone as a maintainer, but apparently it's not. I'm not involved with any projects utilizing Pyramid so I've since lost interest in being a maintainer. |
24f648d was the original commit that added the feature described in #59, however the revert that happened in 513d860 claims to only target the change made in #73, but that clearly was not the case. There is also no CHANGES note made about the change to the way that Just ran into this while working with @stevepiercy and we just sub-class the All things old are new again. @mmerickel if I made a PR that fixed this for |
It's fine with me. |
relates to part of #186
A commit was made a while ago that removed the ability to pass
None
as an appstruct value to aNumber
type ( commit 513d860 ). The commit says it's reverting a change related to Strings but then made this change toNumber
. It seems like an odd change and is removing useful functionality.Basically, it comes down to the fact
colander.null
is not equal toNone
. This makes sense in the cases whereNone
is a valid serialization. From the docs:However, in the cases where
None
is not a valid value, why not treat it as equal tocolander.null
for simplicity? The very common use case is when using an SQL DB for storing of values. An integer column that's nullable can store both integers and None.Incidentally, where is the case where
None
is a valid value?The text was updated successfully, but these errors were encountered: