Martin Pitt added the comment:
> you could give some kind of command-line flag
That already exists -- set PYTHONHASHSEED=0.
> But I'll let someone else have the joys of negotiating with Lennart, and I
> won't blame the Python devs if using GRND_NONBLOCK unconditionally is l
Martin Pitt added the comment:
> I now raised it to 4 GB for python2.7
This is *still* not enough; I got a success with 6 GB. But this is really
demanding..
--
___
Python tracker
<http://bugs.python.org/issu
Martin Pitt added the comment:
> How much memory does that whatever is running that test have?
Our default is 1 GB for our test runner VMs. I now raised it to 4 GB for
python2.7, but we can only do that for our x86 VMs. For other architectures
(ppc64el and ARM) the test VMs just don
Martin Pitt added the comment:
I can reproduce this here. In that test, I added the following:
with open('/tmp/debug', 'w') as f:
for call in self.stderr.method_calls:
f.write('call: %s\n' % str(call))
This gives:
==
Martin Pitt added the comment:
Yes, this affects python 2.7 only; as I said, this is all solved in python3 by
introducing the explicit extensions like __pycache__/*..cpython-33.pyc so that
multiple versions can share one directory. With that these symlink hacks aren't
necessary any
Martin Pitt added the comment:
In this new code:
mod_file = os.path.abspath(getattr(module, '__file__',
full_path))
realpath = os.path.splitext(os.path.realpath(mod_file))[0]
fullpath_noext =
os.path.splitext(os.pat
Martin Pitt added the comment:
More precisely, it broke unittest's discovery (not specific to autopilot). For
any installed test, you now get:
$ python -m unittest discover lazr
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run