cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
mattip_ has joined #pypy
mattip has quit [Ping timeout: 256 seconds]
xcm is now known as Guest57091
xcm has joined #pypy
Guest57091 has quit [Ping timeout: 265 seconds]
jvesely has quit [Ping timeout: 240 seconds]
jvesely has joined #pypy
jcea has quit [Ping timeout: 240 seconds]
jcea has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
jcea has quit [Quit: jcea]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
hotpot33 has quit [Remote host closed the connection]
hotpot33 has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
dddddd has quit [Ping timeout: 258 seconds]
mattip_ has quit [Read error: Connection reset by peer]
mattip has joined #pypy
otisolsen71 has joined #pypy
otisolsen71 has quit [Ping timeout: 268 seconds]
kipras has joined #pypy
jvesely has quit [Quit: jvesely]
tsaka__ has joined #pypy
<mattip>
heh, the hgpoller is working as advertised: no new commits, no builds, no benchmark runs. Nice
Ai9zO5AP has quit [Quit: WeeChat 2.7.1]
<cfbolz>
mattip: every morning I get a slight fright if there are no nightly builds ;-)
<mattip>
:)
gracinet has joined #pypy
gracinet has quit [Client Quit]
otisolsen70 has joined #pypy
xcm has quit [Remote host closed the connection]
otisolsen70 has quit [Quit: Leaving]
xcm has joined #pypy
<antocuni>
so, hpy/pypy problem: how do we implement HPyErr_Occurred?
<antocuni>
so far, the idea is to use normal RPython OperationError exceptions for HPy-level exceptions
<antocuni>
e.g. HPyErr_SetString just raises OperationError
<antocuni>
after translation, this can probably implemented by calling RPyExceptionOccurred, RPyFetchExceptionType, etc (which are defined by exceptiontransform)
<antocuni>
but, what about tests? I suppose that the answer lies somewhere in the middle of ll2ctypes, which is scary :)
BPL has joined #pypy
mattip has quit [Ping timeout: 260 seconds]
mattip has joined #pypy
lritter has joined #pypy
tsaka__ has quit [Ping timeout: 272 seconds]
dddddd has joined #pypy
tsaka__ has joined #pypy
Smigwell has joined #pypy
adamholmberg has joined #pypy
ekaologik has joined #pypy
* Dejan
still tries to build pycrypto with latest PyPy 3.6...
xcm has quit [Remote host closed the connection]
<Dejan>
it worked with e38019311463
<Dejan>
for an example
xcm has joined #pypy
otisolsen70 has joined #pypy
<Dejan>
it works with latest 3.7 PyPy :)
<antocuni>
arigato: do you have ideas/thoughts about how to implement HPyErr_Occurred() in pypy?
<antocuni>
also, semi-related question: RPython uses a global exc_data variable to hold information about the current exception: how can it work correctly with multiple threads?
<Dejan>
lol, found a workaround for installing pycrypto (not sure it is a good workaround)
<Dejan>
if i uninstall gmp-devel package it works
<Dejan>
I guess it does not use fastmath then
<Dejan>
and it starts working
<Dejan>
so I would say that pycrypto with fastmath can't be built with PyPy
<Dejan>
src/_fastmath.c:78:12: error: ‘PyLongObject’ {aka ‘struct <anonymous>’} has no member named ‘ob_base’
<Dejan>
78 | size = -p->ob_base.ob_size;
<Dejan>
quite many errors like this
<antocuni>
Dejan: yes, that's a pycrypto fault. They are trying to access private members of the underlying C objects, which are not guaranteed to exists in all implementations (and are not even guaranteed to exists on future CPython versions, although it's unlikely it will change)
<tos9>
Dejan: you shouldn't really be using pycrypto at this point
<tos9>
but I think that specific error is one that you fix with export with_gmp=no if I remember right?
<Dejan>
tos9, it is deps that are bringing it in as dependency...
<tos9>
Dejan: Yeah I wouldn't even recommend you use things that depend on pycrypto
<tos9>
What thing is trying to pull it in?
<Dejan>
yea, if i remove the gmp-devel from my machine it works
<tos9>
Right so yeah just export with_gmp=no during install should work then even if you keep gmp-devel
<tos9>
antocuni: how are you?
<tos9>
antocuni: actually -> PM
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
jvesely has joined #pypy
jcea has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
tsaka__ has quit [Ping timeout: 240 seconds]
Ai9zO5AP has joined #pypy
tsaka__ has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Dejan has quit [Ping timeout: 268 seconds]
Dejan has joined #pypy
asmeurer has joined #pypy
tsaka__ has quit [Ping timeout: 255 seconds]
tsaka__ has joined #pypy
Smigwell has left #pypy [#pypy]
jvesely has quit [Quit: jvesely]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has quit [Remote host closed the connection]