kennethreitz/its.py — pull request #2 by jterrace (2012-05-08 18:07:28+00:00)
Title: Added bitness and endianness

Verified bitness on my mac:

````
jterrace@frazzle:~/its.py$ arch -i386 /usr/bin/python2.7
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:06)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import its
>>> its.bit32
True
>>> its.bit64
False
>>> its.little_endian
True
>>> its.big_endian
False

jterrace@frazzle:~/its.py$ /usr/bin/python2.7
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import its
>>> its.bit32
False
>>> its.bit64
True
>>> its.little_endian
True
>>> its.big_endian
False
````