Simn/haxe — pull request #30 by nadako (2014-04-07 21:16:16+00:00)
Title: Implement haxe.CallStack for Python

Added very basic implementation. Here's some code to play with:

```haxe
import haxe.CallStack;

class Main
{
static function main()
{
f();
}

static function f()
{
var m = new Main();
function z() m.a();
z();
}

function new() {}

function a()
{
trace(CallStack.toString(CallStack.callStack()));

try
{
lol();
}
catch (e:Dynamic)
{
haha();
}
}

function lol() throw "fu";
function haha() trace(CallStack.toString(CallStack.exceptionStack()));
}
```