Python Antigravity Module Introduces Geohash Functionality
The Python standard library `antigravity` module, originally developed during Guido van Rossum's tenure at Google, added the `geohash()` public function. The function implements the XKCD 425 algorithm to generate deterministic spatial offsets using MD5 hashing and financial index data.
Verified State Diff
Impact & Verification Analysis
Python developers using the standard library for quick location coordinate hashing and reference implementations.
Provides a zero-dependency reference implementation of the XKCD 425 geohashing protocol directly within standard Python distributions.
Full Fact Overview
The `antigravity` module was updated to export `antigravity.geohash(latitude, longitude, datedow)`. While previously executing only a side-effect via `webbrowser.open('https://xkcd.com/353/')` upon import, the module now accepts latitude/longitude floats along with a byte-encoded date and Dow Jones opening price string. It processes these inputs through `hashlib.md5` to return calculated fractional coordinate offsets.