Re: [Framework-Team] RFC: Deprecation
Since nobody has an opinion here I'll just go on with these use-cases. Jens On 2015-02-19 10:43, Jens W. Klein wrote: I committed myself to dive a bit into the deprecation-topic. This is a small update of work in progress. Earlier in Plone we had ugly-nice deprecation-warnings on zope startup. Now, even when in buildout plone.recipe.zope2instance setting deprecation-warnings = on is set this has no effect anymore. The silent dead of this feature is because a) Python 2.7 switched off deprecation warnings by default[1] and b) Zope had a bug to overwrite this (which I fixed meanwhile and Tres merged it) [2]. [1] https://docs.python.org/2/using/cmdline.html#cmdoption-W [2] https://github.com/zopefoundation/Zope/pull/24 I also started to add a chapter about deprecation to the coredev docs on a branch [3]. [3] https://github.com/plone/buildout.coredev/blob/deprecation-done-right/docs/deprecation.rst Please take some minutes and read at least the Use-Cases and comment on them. If they are fine, I'd prepare code-examples how to achieve the goals from the use-cases. regards Jens -- Klein Partner KG, member of BlueDynamics Alliance ___ Framework-Team mailing list framework-t...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-framework-team
Re: [Framework-Team] RFC: Deprecation
Thanks Jens for working on that! I plan to look into it until tomorrow in case you want to discuss it during the FWT meeting. Cheers, Timo Am 02.03.2015 um 09:34 schrieb Eric Bréhault: I guess you can, indeed :) But if you want we can discuss it at the meeting tomorrow. On Mon, Mar 2, 2015 at 9:23 AM, Jens W. Klein j...@bluedynamics.com mailto:j...@bluedynamics.com wrote: Since nobody has an opinion here I'll just go on with these use-cases. Jens On 2015-02-19 10:43, Jens W. Klein wrote: I committed myself to dive a bit into the deprecation-topic. This is a small update of work in progress. Earlier in Plone we had ugly-nice deprecation-warnings on zope startup. Now, even when in buildout plone.recipe.zope2instance setting deprecation-warnings = on is set this has no effect anymore. The silent dead of this feature is because a) Python 2.7 switched off deprecation warnings by default[1] and b) Zope had a bug to overwrite this (which I fixed meanwhile and Tres merged it) [2]. [1] https://docs.python.org/2/__using/cmdline.html#cmdoption-W https://docs.python.org/2/using/cmdline.html#cmdoption-W [2] https://github.com/__zopefoundation/Zope/pull/24 https://github.com/zopefoundation/Zope/pull/24 I also started to add a chapter about deprecation to the coredev docs on a branch [3]. [3] https://github.com/plone/__buildout.coredev/blob/__deprecation-done-right/docs/__deprecation.rst https://github.com/plone/buildout.coredev/blob/deprecation-done-right/docs/deprecation.rst Please take some minutes and read at least the Use-Cases and comment on them. If they are fine, I'd prepare code-examples how to achieve the goals from the use-cases. regards Jens -- Klein Partner KG, member of BlueDynamics Alliance _ Framework-Team mailing list framework-t...@lists.plone.org mailto:framework-t...@lists.plone.org https://lists.plone.org/__mailman/listinfo/plone-__framework-team https://lists.plone.org/mailman/listinfo/plone-framework-team ___ Framework-Team mailing list framework-t...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-framework-team ___ Framework-Team mailing list framework-t...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-framework-team
Re: [Framework-Team] RFC: Deprecation
I guess you can, indeed :) But if you want we can discuss it at the meeting tomorrow. On Mon, Mar 2, 2015 at 9:23 AM, Jens W. Klein j...@bluedynamics.com wrote: Since nobody has an opinion here I'll just go on with these use-cases. Jens On 2015-02-19 10:43, Jens W. Klein wrote: I committed myself to dive a bit into the deprecation-topic. This is a small update of work in progress. Earlier in Plone we had ugly-nice deprecation-warnings on zope startup. Now, even when in buildout plone.recipe.zope2instance setting deprecation-warnings = on is set this has no effect anymore. The silent dead of this feature is because a) Python 2.7 switched off deprecation warnings by default[1] and b) Zope had a bug to overwrite this (which I fixed meanwhile and Tres merged it) [2]. [1] https://docs.python.org/2/using/cmdline.html#cmdoption-W [2] https://github.com/zopefoundation/Zope/pull/24 I also started to add a chapter about deprecation to the coredev docs on a branch [3]. [3] https://github.com/plone/buildout.coredev/blob/ deprecation-done-right/docs/deprecation.rst Please take some minutes and read at least the Use-Cases and comment on them. If they are fine, I'd prepare code-examples how to achieve the goals from the use-cases. regards Jens -- Klein Partner KG, member of BlueDynamics Alliance ___ Framework-Team mailing list framework-t...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-framework-team ___ Framework-Team mailing list framework-t...@lists.plone.org https://lists.plone.org/mailman/listinfo/plone-framework-team