halgari/clojure-py — pull request #31 by mrmekon (2012-03-01 01:24:46+00:00)
Title: Modify 'str' to work with class types

There might be a very good reason *not* to do this, but if there isn't, my modification to the definition of 'str' in core.clj permits it to be called on a class, ex:

```
user=> (str (class 0))

```

This doesn't work when using '.\_\_str\_\_', but does when using 'py/str', because the 'type' class in python defines \_\_str\_\_.

I also added a temporary println, which you should definitely not use :P

There's a new example added that prints whether you are running in Python or the JVM by doing string comparison of the types.

There's probably a better way to do all of this.