News for hackers. Stuff that matters.
Re:Ask PG: Lisp vs Python (2010) by illumen on Monday October 18, 2010 @05:06PM (#1805153)
Macros can be used in python.

There are a few libraries that help make it easier(so you do not need to manipulate the ast yourself). For example:

  @macro
  def macroname(arg1, arg2):
     ... macro contents ...
There's some current information for you old time lispers, so next time you don't sound so dated in your Battles with Trolls in the great never ending language war flames ;)
Re:Ask PG: Lisp vs Python (2010) by forensic on Monday October 18, 2010 @09:13PM (#1805800)
I like how you imply that you don't participate in the language wars. When you just did.
Re:Ask PG: Lisp vs Python (2010) by apgwoz on Tuesday October 19, 2010 @06:20AM (#1806674)
Link? The only "macro" library I've seen for python has been "MetaPython" (http://metapython.org/), which is more of a let down than it is useful, unfortunately.
Re:Ask PG: Lisp vs Python (2010) by jpr on Wednesday October 20, 2010 @03:15AM (#1810351)
Even if that happened to work correctly (which I don't believe), you would still be missing a bunch of macro-related stuff that makes CL the programmable programming language it is, and Python isn't:

-reader-macros

-symbol-macros

-compiler-macros

-macrolet

-symbol-macrolet

EDIT: Fixed layout

Re:Ask PG: Lisp vs Python (2010) by lpsmith on Wednesday October 20, 2010 @04:13AM (#1810437)
Well, those kinds of claims are kind of par for the course for the Python community. I remember that it was commonly claimed that Python 1.5 had the "full power of the lambda calculus", when all it had was anonymous function definitions, and not true higher order functions.