Currently the variable MACOSX_DEPLOYMENT_TARGET was being set to 10.7 without
regard to the CPU. This does not work because building a binary that targets
the Mac OS 10.7 SDK is not possible on PowerPC. This value also prevents the
building of an ARM native version for ARM based Macs. So we deci
> On Sep 19, 2021, at 3:50 PM, Armin Rigo wrote:
>
> Hi,
>
> On Sun, 19 Sept 2021 at 21:13, M A wrote:
>> +elif "x86_64" in arch:
>> +arch = "x86_64"
>> +g['MACOSX_DEPLOYMENT_TARGET'] = '1
Hi I am interested in contributing to PyPy. I tried to clone the source code
repository using hg but saw errors. I then found this git repo:
https://github.com/mozillazg/pypy. I was actually able to clone it
successfully. Could someone still contribute to PyPy using git instead of hg?
If you ar
Hi I was working in the file lib-python/2.7/distutils/sysconfig_pypy.py, on the
function _init_posix(). I placed print() statements in the function to indicate
when this function is called. After fully building pypy the print() statements
were never called. I then used grep to try to find out wh
I recently added some functions to a file called _osx_support.py. When I
imported the module and tried to use the functions I added, I see an error
messages stating the name could not be imported. Would anyone know how to solve
this kind of problem?
Thank you.
__
> On Sep 21, 2021, at 4:28 AM, Armin Rigo wrote:
>
> Hi,
>
> On Mon, 20 Sept 2021 at 22:33, M A wrote:
>> Hi I was working in the file lib-python/2.7/distutils/sysconfig_pypy.py, on
>> the function _init_posix(). I placed print() statements in the function to
>
Hi I'm trying to use Python to build PyPy. One problem I noticed is the search
paths for modules is not the same For PyPy and Python. I want to add code to
the build process that will check if PyPy or Python is running. If Python is
running, add paths to sys.path that would enable Python to find
Hi guys. I am having a problem with a function called _copy_to_raw_memory() in
the file rpython/jit/backend/llsupport/asmmemmgr.py. After building PyPy there
is always a crash in this function. Here is a partial backtrace I captured:
* thread #1, queue = 'com.apple.main-thread', stop reason = EX
inner(
File
"/opt/homebrew/Cellar/mercurial/5.9.1/lib/python3.9/site-packages/mercurial/revlogutils/rewrite.py",
line 592, in _is_revision_affected_inner
has_meta = raw_text.startswith(b'\x01\n')
AttributeError: 'memoryview' object has no attribute 'startswi
ps://bz.mercurial-scm.org/show_bug.cgi?id=6605 thanks for reporting it.
>
>
> On 10/18/21 9:53 PM, M A wrote:
>> Hi Pierre-Yves. I tried using 'hg clone https://foss.heptapod.net/pypy/pypy'
>> and saw this error:
>>
>> $ hg clone https://foss.heptapod.net/py
Hi, I'm trying to call a C function from the asmmemmgr.py:_copy_to_raw_memory()
function now. I tried following an example for malloc() and used llexternal()
to make the call work. Here is what I tried:
from rpython.translator.tool.cbuild import ExternalCompilationInfo
info = Ext
Hi, would anyone know what instruction/opcode 320 does? I'm in the file
pyopcode.py tracing a problem to dispatch_bytecode(). The problem I have
encountered happens when next_instr and self.last_instr are both equal to 320.
I have tried looking at the file opcode.py. There was no mention of 320
gt;>
>> On Wed, Oct 27, 2021 at 12:09 PM M A wrote:
>>>
>>> Hi, would anyone know what instruction/opcode 320 does? I'm in the file
>>> pyopcode.py tracing a problem to dispatch_bytecode(). The problem I have
>>> encountered happens when next
I was reading the information from
https://rpython.readthedocs.io/en/latest/translation.html. It talks about a
file called bin/translatorshell.py. I could not locate the file. Would anyone
know where this file is located?
Thank you.
___
pypy-dev maili
Hello Andy,
I am currently working on M1 support. I keep my patches here:
https://foss.heptapod.net/pypy/pypy/-/issues/3566. I was able to build an ARM64
binary of PyPy for M1 that did run a small prime number generator program I
made. Unfortunately PyPy still crashes a lot.
I did talk to Arm
Hi, I need to build PyPy with debug symbols in it. The documentation I found
online says to use 'make lldebug' or 'make lldebug0'. This did not work. I am
building the JIT version of PyPy. Any help or suggestions would be appreciated.
Thank you.
___
py
of PyPy
> Message-ID:
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> this should work:
>
> rpython -Ojit --lldebug targetpypystandalone.py
>
> Cheers,
>
> CF
>
> On 08.11.21 20:41, M A wrote:
>> Hi, I need to build PyPy with debug symbols in it.
Is it possible for PyPy to add debugging symbols to the code it creates and
writes to memory? I'm trying to figure out why my python program keeps
crashing. If I had debugging symbols available I could instantly figure out
what function is being called.
Thank you.
__
for i in range(1):
print(i)
Hi, when I run this loop PyPy crashes at around 8800. Using a debugger I found
out that this is the AARCH64 assembly function that has the crash. The arrow
points to where the crash happens. I believe the crash happens one instruction
before the arrow, at
How do I make a program using rpython?
Say I have this file:
def main():
for i in range(100):
print("hello world"),
if __name__ == "__main__":
main()
How would I turn it into an executable file using rpython?
___
pypy-dev mailing
> On Nov 22, 2021, at 1:08 AM, Dan Stromberg wrote:
>
>
> On Sun, Nov 21, 2021 at 11:17 AM M A wrote:
> How do I make a program using rpython?
>
> Say I have this file:
>
> def main():
> for i in range(100):
> print("hello world"),
Hi I ask that support for class variables and class functions be added to
RPython. I was recently trying to work on some code for PyPy and found out this
feature wasn't supported. This feature is a nice feature to have and would
benefit the PyPy community.
Thank you.
___
Hello, I read here (https://rpython.readthedocs.io/en/latest/rpython.html) that
PyPy is runnable on top of CPython. How do I start PyPy so it runs in CPython?
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev
wnload a Pypy binary from the official
> website.
>
> If you just want CPython+speed, maybe try
> https://stromberg.dnsalias.org/~strombrg/speeding-python/ ?
>
>
> On Sun, Jan 9, 2022 at 11:51 AM M A wrote:
> Hello, I read here (https://rpython.readthedocs.io/en/latest/r
> On Jan 10, 2022, at 9:44 AM, Armin Rigo wrote:
>
> Hi,
>
> On Mon, 10 Jan 2022, 3:31 AM M A wrote:
> Well I am developing for PyPy and was hoping to try my code out without
> having to build PyPy first.
>
> I tried twice to tell you how we develop PyPy in
Hi, I'm trying to call my own C function from a small RPython program. When I
try to build the program I see this error:
[translation:ERROR] Exception: stand-alone program entry point must return an
int (and not, e.g., None or always raise an exception).
This is the entire RPython program:
fro
> On 9/1/22 9:50 pm, M A wrote:
>> Hello, I read here (https://rpython.readthedocs.io/en/latest/rpython.html)
>> that PyPy is runnable on top of CPython. How do I start PyPy so it runs in
>> CPython?
>
>
> python2 pypy/bin/pyinteractive.py
>
>
> You
Hi, I'm working on an libffi function called ffi_closure_alloc() that takes for
its second argument a variable of type void**. Is there a way to declare a
Rpython variable as a point to a pointer to a void?
___
pypy-dev mailing list
pypy-dev@python.org
It looks like pypy.org is run on PSF infrastructure:
virt-y8pzvf.psf.osuosl.org.
We'd have to get a new certificate for it.
I am a bit surprised that we have a wildcard certificate on
one of the OSU VM. Shouldn't this only be installed
on front.python.org ?
Thanks.
On 08.06.2018 19:07, Alex G
Thanks, Ernest.
On 08.06.2018 21:00, Ernest W. Durbin III wrote:
> This is resolved.
>
> The certificate provided for pypy.org was “forgotten” by the chef
> configuration on the load balancers in our OSUOSL infrastructure. It
> appears that some tidy up work I performed in removing old hosts
> in
30 matches
Mail list logo