I posted this at https://foss.heptapod.net/pypy/pypy/-/issues/3455,
and they recommended to write to this mailing list.
ROOT data analysis framework (https://root.cern) is written in C++
(with cppyy Python bindings). I tried to import that in PyPy, and got
an error
>>>> import ROOT
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/root/cur/lib/ROOT/__init__.py", line 22, in <module>
import cppyy
File "/opt/root/cur/lib/…
[View More]cppyy/__init__.py", line 64, in <module>
libcppyy_mod_name, major, minor))
ImportError: Failed to import libcppyy2_7. Please check that ROOT has
been built for Python 2.7
However, I allowed support for Python 2 in ROOT, and python2 imports
ROOT fine. That library is in LD_LIBRARY_PATH.
Could you please add support of ROOT in PyPy?
[View Less]
In order to fix some problems with the 7.3.4 release, I am releasing a
7.3.5 bugfix. The rc1 candidates are available at
https://downloads.python.org/pypy/ and the checksums can be found in the
PR to pypy.orghttps://608f07a183d23c00083f6115--keen-mestorf-442210.netlify.app/download_…
The changes are (as can be seen in the release note
https://doc.pypy.org/en/latest/release-v7.3.5.html):
- The new windows 64-bit builds improperly named c-extension modules
with the same extension as …
[View More]the 32-bit build (issue 3443)
- A change to the python 3.7 sysconfig.get_config_var('LIBDIR') was
wrong, leading to problems finding libpypy3-c.so for embedded PyPy
(issue 3442).
- Two upstream (CPython) security patches were applied: BPO 42988 to
remove pydoc.getfile and BPO 43285 to not trust the PASV response in ftplib.
- When assigning the full slice of a list, evaluate the rhs before
clearing the list (issue 3440)
- On Python2, PyUnicode_Contains accepts bytes as well as unicode.
- Update the packaged sqlite3 to 3.35.5 on windows. While not a bugfix,
this seems like an easy win.
Please try out the release candidates soon so I can finish the release.
Matti
[View Less]
Hello,
Today I was doing some experiment with CPython and PyPy. I was very impressed by the performance of PyPy, when it’s doing operations in user space, it was almost 20 times faster than CPython.
Then I decided to switch our Python CLI to PyPy and I run one of our major command in our CLI and results were worse than CPython. It got slower! Then I started to research it more. Our CLI’s characteristic is that it calls multiple other programs and read a lot of configuration data and create …
[View More]many files which mean all of those operations were related to sys calls.
Then I run some simple test cases, tried to read and write millions of lines to a file or create and kill multiple processes. All of these operations were almost 5 times slower than CPython. I run my tests both MacOS and RHEL with latest version of PyPy3.7
My question is that, is that something known? Or can it be some improvement area that can be contributed?
Best,
Emre Yavuz
[View Less]