-
-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a {randomseed} substitution string #125
Comments
Original comment by @cjerdonek That's great to hear. Thanks a lot, Holger! |
Original comment by @hpk42 Thanks, Chris. All merged now! |
Original comment by @cjerdonek An updated patch for this issue is at pull request #79. |
Original comment by @cjerdonek I created a new pull request #74 for this issue which changes the proposed API and behavior somewhat based on the discussion around pull request #73. |
Original comment by @cjerdonek I created pull request #73 for this. |
Original comment by @cjerdonek I implemented and documented the feature in this fork but still need to add tests. |
Original comment by @cjerdonek I will prepare a patch for this. |
Original comment by @cjerdonek Here is the documentation for PYTHONHASHSEED. |
It would be nice to expose a special substitution string called something like {randomseed} that would generate a random integer value each time it is used. This would be useful for example in cases like this:
An associated command-line option
--randomseed
to force it to a particularvalue would also be good. See this e-mail thread for background.
Note that to be consistent with supporting
--randomseed
, {randomseed} should probably yield the same value every time it is used (e.g. if it appears more than once in tox.ini). In other words, it is a global value established once when tox is invoked.The text was updated successfully, but these errors were encountered: