Opened 6 years ago

Closed 6 years ago

#20080 closed Bug (fixed)

Recommend use of PYTHONHASHSEED

Reported by: Jacob Owned by: Ryan Kaskel
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Our documentation - probably the deployment checklist? - should strongly recommend the use of -R/PYTHONHASHSEED.

Change History (3)

comment:1 Changed 6 years ago by Ryan Kaskel

Owner: changed from nobody to Ryan Kaskel
Status: newassigned

I've created a first draft here:

A few notes:

  • I put it at the bottom of the deployment checklist because the rest of the document deals with Django settings as opposed to Python options/settings. I don't know if that's the sort of visibility you intended
  • It's only available in 2.6.8+ and we currently support 2.6.5+ -- not that big a deal I don't think
  • If you happen to rely on the ordering of keys of a dict, this will probably break that. Should we mention this in the note?
  • I can't figure out how to link to the option in the Python docs using InterSphinx. :python:option:`-R` doesn't work. Should I just use a normal link?

Any other feedback is much appreciated. I didn't know about this option and I was glad I read about it.

comment:2 Changed 6 years ago by Tim Graham

Looks good. I tried a bit and couldn't get the -R link to work either so I've just added a normal link, will commit shortly.

comment:3 Changed 6 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In 8aca2504df9d7d3c1244d1632f6cad45afa60115:

Fixed #20080 - Recommended use of PYTHONHASHSEED

Thanks jacob for the suggestion and ryankask
for the patch.

Note: See TracTickets for help on using tickets.
Back to Top