New submission from Dima Tisnek <dim...@gmail.com>:
Just recently, i found rolling my own simple hash for strings. (task was to distribute tests across executors, stably across invocations, no external input, no security) In the old days I'd just `hash(some_variable)` but of course now I cannot. `hashlib.sha*` seemed too complex and I ended up with something like `sum(map(ord, str(some_variable)))`. How much easier this would be is `siphash` implementation that cpython uses internally was available to me! ---------- components: Extension Modules messages: 332633 nosy: Dima.Tisnek priority: normal severity: normal status: open title: Expose siphash type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35600> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com