On Monday 20 March 2017, Andi Vajda wrote:

Not reentrant? static const should be as good as a #define IMO. In doubt
you could avoid the variable and use  "sizeof(hash) * 2" two times
where we need it.

%lx is for long but Py_hash_t can be longer. %jx/PRIxMAX  is the biggest
possible for uintmax_t.

cu,
Rudi
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB