-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
add ini option to disable string escape for parametrization #2830
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
Conversation
thanks for remaking 👍 , please rebase instead of merging, im happy to give guidance if needed |
@RonnyPfannschmidt, it would be great. |
the majorly simplified rundown should be go to your branch, just to be safe, make a new one, then go back to the one you pushed again now afterwards after it was successfully executed you can |
b02c00f
to
4547e74
Compare
I did rebase:) |
you might need to update your base branches, as it seems there are conflicts (which shouldn't occur after a re-base |
Thanks @ApaDoctor for following up. FWIW I'm really 👎 on calling that option
My point is all the above will still happen even if the name the option with that ugly name, so it won't bring us any benefits in the end. You really want to follow with that @RonnyPfannschmidt? |
an api issue cant be "documented away" - make using it ugly and very visible - i explicitly requested the very ugly name of the actual option just remember pip - they moved everything to a another example are the stdlib modules that are "provisional" and may get breaking api changes - that has bitten a lot of people as well unless usage demonstrates badness at all points, an api that makes badness shouldn't be introduced because people are people |
so in order to get trough, i propose we additionally print a yellow warning that the option is enabled |
I missed this discussion it seems.
I agree with you in principle, but we are talking about an option hidden in pytest.ini, not the API in the code. This will trip the later people that has to change the code, and they will still report back to us so the net result will be the same, but we will have to carry it forever. Having said that, we can merge this as is if @ApaDoctor still has interest on this. |
@nicoddemus this option alters the api in the sense that it changes the contract on how certain values are constructed - as such its basically a option that opts in to a breaking api change |
Is there any chance to complete this PR?) |
Hi @RockBomber, I'm still -0 on the whole idea, but if anybody wants to pick this up we can merge this. It needs to have the conflicts fixed and a test I think. |
I'm closing this for now because nobody has demonstrated interest in picking this up, if anybody feels otherwise I think it is easier to submit a new PR anyway. |
solving #2482
Re-created PR.