FYI. Amber has merged the branch adding @deprecatedProperty
https://twistedmatrix.com/trac/ticket/8124 and the issue raised in this
ticket is solved
Thanks!
--
Adi Roiban
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twisted
> On Nov 23, 2015, at 07:38, Adi Roiban wrote:
>
>
>
> Will push the tests and will ask for help in the review queue.
>
> Thanks!
>
>
> Another option is to fix @deprecated to call getDeprecationWarningString when
> the method is called not when it is created.
I think you mean the other
>
>
>
> Will push the tests and will ask for help in the review queue.
>
> Thanks!
>
>
Another option is to fix @deprecated to call getDeprecationWarningString
when the method is called not when it is created.
Regards
--
Adi Roiban
___
Twisted-Python ma
On 23 November 2015 at 02:32, Glyph Lefkowitz
wrote:
>
> On Nov 22, 2015, at 07:04, Adi Roiban wrote:
>
> The @deprecated decorator (at leas on py2.7) does not work when paired
> @property
>
> For deprecated instance variables, our deprecation policy recommend
> converting them into properties a
> On Nov 22, 2015, at 07:04, Adi Roiban wrote:
>
> The @deprecated decorator (at leas on py2.7) does not work when paired
> @property
>
> For deprecated instance variables, our deprecation policy recommend
> converting them into properties and emitted the warning from there.
> It would be ni
The @deprecated decorator (at leas on py2.7) does not work when paired
@property
For deprecated instance variables, our deprecation policy recommend
converting them into properties and emitted the warning from there.
It would be nice if we could use the standard @deprecated decorator here.
The p