On Thu, Mar 24, 2011 at 12:26:47PM +, Peter Corlett wrote:
I wonder if the Python inventers bothered to do any research into the
merits of whitespace-sensitive languages. Although that may well just
have resulted in Python programs ignoring everything after column 72
in the source.
are
On 23 March 2011 13:35, Aristotle Pagaltzis pagalt...@gmx.de wrote:
* Matthew King matthew.k...@monnsta.net [2011-03-23 11:35]:
... yes, the rest of the function looks like bollocks too.
Comment the whole thing out. Put in a print line because you
probably can't have empty functions in python.
On Thu, Mar 24, 2011 at 12:05:32PM +0100, demerphq wrote:
Did i understand this right? Python doesn't allow empty sub
definitions? Is this hatefulness a consequence of the other hateful
bits in python?
That would be empty anything that constitutes an attached block. If or
else statements
On Thu, Mar 24, 2011 at 12:05:32PM +0100, demerphq wrote:
[...]
Did i understand this right? Python doesn't allow empty sub definitions?
You can, if you like, consider pass to be the equivalent of the semicolon
at the end of the null statement. Except that you can't have redundant null
On Thu, Mar 24, 2011 at 7:26 AM, Peter Corlett ab...@cabal.org.uk wrote:
Never trust a language where its users won't tell you that it sucks.
That's an excellent rule.
-Eli
On Wed, 23 Mar 2011 19:18:37 -0700, Joshua Rodman
jrod...@hate.spamportal.net wrote:
Zero Install is total CADT, along with autopackage.
No idea what that means, but it's probably something bad, and I agree.
However it *should* be good. It's just a typical Linux Clusterfuck of
Fail. And you can
On Thu, Mar 24, 2011 at 11:14, Matthew King matthew.k...@monnsta.net wrote:
On Wed, 23 Mar 2011 19:18:37 -0700, Joshua Rodman
jrod...@hate.spamportal.net wrote:
Zero Install is total CADT, along with autopackage.
No idea what that means, but it's probably something bad, and I agree
* Matthew King matthew.k...@monnsta.net [2011-03-23 11:35]:
... yes, the rest of the function looks like bollocks too.
Comment the whole thing out. Put in a print line because you
probably can't have empty functions in python.
The magic incantation you want is `pass`:
pass is a null
Zero Install is total CADT, along with autopackage.
-josh