An introduction

This is a semi-public place to dump text too flimsy to even become a blog post. I wouldn't recommend reading it unless you have a lot of time to waste. You'd be better off at my livejournal. I also have another blog, and write most of the French journal summaries at the Eurozine Review.

Why do I clutter up the internet with this stuff at all? Mainly because I'm trying to get into the habit of displaying as much as possible of what I'm doing in public. Also, Blogger is a decent interface for a notebook

Saturday, October 16, 2010

257 is 257 + 0

A python gotcha I never knew of before:

Python 2.6.5 (release26-maint, Aug 20 2010, 17:50:24)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 0 is 0 + 0
>>> 256 is 256 + 0
>>> 257 is 257 + 0

No comments:

Post a Comment