Re: [Twisted-Python] twisted/runner/inetdtap.py pyflakes warnings cleanup

2015-11-22 Thread Glyph Lefkowitz
> On Nov 22, 2015, at 16:31, Adi Roiban wrote: > > Hi, > > Right now twisted/runner/inetdtap.py has the following errors reported by > pyflakes: > > $ pyflakes twisted/runner/inetdtap.py > twisted/runner/inetdtap.py:58: undefined name 'rpcVersions' > twisted/runner/inetdtap.py:59: undefined

Re: [Twisted-Python] AMP message length limit

2015-11-22 Thread Glyph Lefkowitz
> On Nov 22, 2015, at 17:51, Oon-Ee Ng wrote: > > I've just (to my surprise) hit this. As I understand from searching > around, AMP messages are limited to ~64k due to the length prefix > being 16-bit. A change in my internal data being sent (using dicts > rather than lists) kicked one of my mes

Re: [Twisted-Python] How to get the class of the wrapped fget/fset property methods

2015-11-22 Thread Glyph Lefkowitz
> 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

Re: [Twisted-Python] spambayes

2015-11-22 Thread Glyph Lefkowitz
> On Nov 21, 2015, at 04:51, Paweł Miech wrote: > > I get following message: > > > Submission rejected as potential spam > > SpamBayes determined spam probability of 74.83 > > SpamBayes seems to hate new users... Sorry Paweł; we had to discard the training base recently because it was overtr

[Twisted-Python] AMP message length limit

2015-11-22 Thread Oon-Ee Ng
I've just (to my surprise) hit this. As I understand from searching around, AMP messages are limited to ~64k due to the length prefix being 16-bit. A change in my internal data being sent (using dicts rather than lists) kicked one of my messages to way over that limit. There's a bit of discussion

[Twisted-Python] twisted/runner/inetdtap.py pyflakes warnings cleanup

2015-11-22 Thread Adi Roiban
Hi, Right now twisted/runner/inetdtap.py has the following errors reported by pyflakes: $ pyflakes twisted/runner/inetdtap.py twisted/runner/inetdtap.py:58: undefined name 'rpcVersions' twisted/runner/inetdtap.py:59: undefined name 'name' twisted/runner/inetdtap.py:62: undefined name 'p' twisted

[Twisted-Python] How to get the class of the wrapped fget/fset property methods

2015-11-22 Thread Adi Roiban
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