Daniel Shaulov added the comment:
Hi Brett,
I don't think that the patch from that issue is relevant anymore.
I did take the test case that was proposed in that issue and I am attaching a
fixed version here.
I did realize from the discussion that my patch probably doesn't work on
Changes by Daniel Shaulov :
Added file: http://bugs.python.org/file42298/importlib_h.patch
___
Python tracker
<http://bugs.python.org/issue26646>
___
___
Python-bug
New submission from Daniel Shaulov:
Hi,
I was trying to build a python interpreter that has the cpp part of msgpack as
a built-in module. I thought that I could just copy the msgpack folder to the
Modules folder and add this 2 lines to Modules/Setup.local:
msgpack._packer msgpack/_packer.cpp
New submission from Daniel Shaulov:
A frozen python executable should have an empty path, so it doesn't
accidentally run something it was not supposed to.
The attached file achieves that by setting Py_NoSiteFlag and Py_IsolatedFlag in
Python/frozenmain.c
It also checks for Py_FrozenFl
New submission from Daniel Shaulov:
Basically -
subprocess.check_output("ping localhost", shell=True, timeout=5)
Will hang forever.
What happens is that subprocess.run times out on communicate, sends SIGKILL *to
the shell* and then calls communicate again without the timeout. B
Daniel Shaulov added the comment:
Pinging after a month without review (as the devguide suggests).
--
___
Python tracker
<http://bugs.python.org/issue26
New submission from Daniel Shaulov:
Tools/Freeze/makemakefile.py uses CFLAGS, LDFLAGS and CPPFLAGS instead of the
PY_ prefixed versions. This makes flags passed to ./configure ineffective.
The patch makes the trivial fix of adding PY_ when needed.
--
components: Build
files