On 08 mars 16:53, Marc 'BlackJack' Rintsch wrote:
> 08.03.2011 15:45, James Lingard <[email protected]>:
> 
> > 1.  These warnings incorrectly warned about uses of the >> and <<
> > operators.
> > 
> > […]
> > 
> > # All of the following lines incorrectly generate warnings.
> > print 1>> 2
> > print 1<< 2
> > print 1 >>2
> > print 1 <<2
> 
> Why is a warning here incorrect?  Which of the alternatives shown is 
> more readable than ``1 << 2`` or ``1 >> 2``?  Why should these operators 
> be an exception to the "spaces around binary operator" guide line?

indeed

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to