metapython

For small bits of advanced Python

Monday, November 8, 2010

Tail Recursion Elimination in Python

›
This, a while back, was maybe my first hack using introspection that I perceived as "wow, this is just fun". So, Tail Recursion ...
Saturday, November 6, 2010

Recursive Lambda Functions

›
This one I had presented at my talk at FISL in 2010: One interestign feature in some functional languages - not all - that is seemingly unav...
3 comments:
Friday, November 5, 2010

Python instance methods - How are they different from ordinary functions?

›
Python OO model works exceptionally well. Its introspection capabilities, and flexibility provided by the descriptors implementation allow f...
88 comments:

What if called functions could access the variables from the caller?

›
Of course, normally you just pass the variables you are interested the called function to access as parameters. But it raises an interesti...
2 comments:
Monday, November 1, 2010

Twitter and Tkinter: Who does not follow you

›
We are not so "meta" today, and more hands on. Given the spam avalanche today, with people trying to get me to use a webapp that...
Saturday, October 30, 2010

Creating a Heap Class in one Python Line

›
Sometimes the stdlib is just strange -- like, the "heapq" module -- it provides some methods to use a list as a Heap, according ...
1 comment:
‹
Home
View web version

About Me

jsbueno
View my complete profile
Powered by Blogger.