[openstack-dev] [all] PYTHONDONTWRITEBYTECODE=true in tox.ini

Mike Bayer mbayer at redhat.com
Fri Sep 12 18:07:54 UTC 2014


On Sep 12, 2014, at 12:13 PM, Jeremy Stanley <fungi at yuggoth.org> wrote:

> On 2014-09-12 11:36:20 -0400 (-0400), Mike Bayer wrote:
> [...]
>> not to mention PYTHONHASHSEED only works on Python 3.  What is the
>> issue in tox you’re referring to ?
> 
> Huh? The overrides we added to numerous projects' tox.ini files to
> stem the breakage in Python 2.x unit tests from hash seed
> randomization in newer tox releases would seem to contradict your
> assertion. Also documentation...
> 
> https://docs.python.org/2.7/using/cmdline.html#envvar-PYTHONHASHSEED
> 
> (New in version 2.6.8.)

Python 3’s documentation says “new in version 3.2.3”, so, confusing that they backported it to 2.6 at the same time but google searches tend to point you right here:

https://docs.python.org/3.3/using/cmdline.html#envvar-PYTHONHASHSEED





More information about the OpenStack-dev mailing list