welcome to the world of…

Looks like a small bulb used to indicate something unusual, like a malfunction.

Function in a function, scope, decorators

Filed under: Uncategorized — Tags: , , , , — admin @ 2009-03-16 17:20

When I started using decorators I was confused how it works. I was using decorators like @staticmethod and @classmethod and I didn’t care how it is done. It works. But what about custom decorators? (more…)

Python’s built-in id() and class methods

Filed under: Uncategorized — Tags: , , , — admin @ 2009-02-24 18:47

I found a feature of the built-in function id() that is a little bit unexpected (Python 2.5).