* Ensure that 'ppc' platform is not built on OSX i386/x86_64 machines. Avoid compiling Platform.cpp as SetAffinity is not used. * Synced with upstream r136. None of the changes affect this extension. * Now builds for Python version 2.4. Tested versions 2.4 through 3.1. * Unified test case. * Added quick usage example to the README. * Bumped version to 0.136.1. * Extension and project version numbers now match. Thanks to @jbenet for the initial commit on which this is based.
* Reorganized code to generalize calling the hash function for different sizes and cpu architecture. * Now uses _PyLong_FromByteArray to construct the final result. This also fixes a problem in byte-order swap in the result. * Demo code now a bit easier to extend. * Last minute version bump and update to the README.
* Added Python 3.x support. * Extension (and project) are now named 'smhasher'. * Added test_3x.py for 3.x, renamed 2.x case to test_2x.py. * Updated README.md