Testing

2015-03-21 Thread Nawal Husnoo
one two -- hello Android NewsGroup Reader http://usenet.sinaapp.com/ -- https://mail.python.org/mailman/listinfo/python-list

Workaround for BeautifulSoup/HTML5parser bug

2015-03-21 Thread John Nagle
BeautifulSoup 4 and HTML5parser are known to not play well together. I have a workaround for that. See https://bugs.launchpad.net/beautifulsoup/+bug/1430633 This isn't a fix; it's a postprocessor to fix broken BS4 trees. This is for use until the BS4 maintainers fix the bug.

Re: A simple single line, triple-quoted comment is giving syntax error. Why?

2015-03-21 Thread Thomas 'PointedEars' Lahn
Denis McMahon wrote: > However, you can't have multiple expressions on a line without some sort > of operand or separator between them. String concatenation is implicit in Python, but only with string *literals*: | $ python | Python 2.7.9 (default, Mar 1 2015, 12:57:24) | [GCC 4.9.2] on linux2

Re: A simple single line, triple-quoted comment is giving syntax error. Why?

2015-03-21 Thread Chris Angelico
On Sun, Mar 22, 2015 at 2:14 PM, Thomas 'PointedEars' Lahn wrote: > Denis McMahon wrote: > >> However, you can't have multiple expressions on a line without some sort >> of operand or separator between them. > > String concatenation is implicit in Python, but only with string *literals*: Which ar

Re: A simple single line, triple-quoted comment is giving syntax error. Why?

2015-03-21 Thread Thomas 'PointedEars' Lahn
Chris Angelico wrote: > On Sun, Mar 22, 2015 at 2:14 PM, Thomas 'PointedEars' Lahn > wrote: >> Denis McMahon wrote: >>> However, you can't have multiple expressions on a line without some sort >>> of operand or separator between them. >> String concatenation is implicit in Python, but only with s

Re: A simple single line, triple-quoted comment is giving syntax error. Why?

2015-03-21 Thread Chris Angelico
On Sun, Mar 22, 2015 at 2:49 PM, Thomas 'PointedEars' Lahn wrote: >> Implicit concatenation is part of the syntax, not part of the expression >> evaluator. > > Reads like nonsense to me. What do you mean? String concatenation by abuttal is as much a syntactic element as the distinction between re