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
Mortir has quit [Quit: leaving]
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
dansan has joined #pypy
lritter has joined #pypy
jcea has quit [Ping timeout: 260 seconds]
lritter has quit [Ping timeout: 240 seconds]
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
_whitelogger has joined #pypy
glyph has quit [Quit: End of line.]
glyph has joined #pypy
oberstet has joined #pypy
xcm has joined #pypy
toad_polo has quit [Quit: Bridge terminating on SIGTERM]
astrojl_matrix has quit [Quit: Bridge terminating on SIGTERM]
omasanori[m] has quit [Quit: Bridge terminating on SIGTERM]
the_drow[m] has quit [Quit: Bridge terminating on SIGTERM]
Orimendix has quit [Quit: Bridge terminating on SIGTERM]
jacob22_ has quit [Read error: Connection reset by peer]
astrojl_matrix has joined #pypy
jacob22_ has joined #pypy
toad_polo has joined #pypy
omasanori[m] has joined #pypy
the_drow[m] has joined #pypy
Orimendix has joined #pypy
cptpcrd2 has quit [Ping timeout: 264 seconds]
cptpcrd2 has joined #pypy
otisolsen70 has joined #pypy
jcea has joined #pypy
mattip has quit [Ping timeout: 256 seconds]
mattip has joined #pypy
lritter has joined #pypy
lritter has quit [Quit: Leaving]
otisolsen70 has quit [Quit: Leaving]
Mortir has joined #pypy
<Mortir>
hi
<Mortir>
is it normal for pypy to emit: 'import site' failed
<Mortir>
when setting the pythonpath variable?
<Mortir>
it seems to be specific to the /usr/lib/python3.9 dir
jacob22_ has quit [Ping timeout: 268 seconds]
jacob22_ has joined #pypy
<cfbolz>
Mortir: what are you trying to achieve?
<cfbolz>
it's not really a sensible value to set it to CPython's lib directoryp
<Mortir>
checking whether some cpython's libs were going to work, nothing in particular.
<cfbolz>
Mortir: then you need to install them with pypy
<cfbolz>
they need rebuilding, if they are written in C
<cfbolz>
pypy -m pip ...
<Mortir>
goodstuff, thank you
<cfbolz>
Mortir: cheers :-)
<cfbolz>
let us know if you have more questions, or something doesn't work
<Mortir>
=D
<antocuni>
Mortir: to explain better what happened: pypy ships its own site.py which is in the /path/to/pypy/lib-python directory. If you do PYTHONPATH=/usr/lib/python3.9, pypy (correctly) puts that directory in front of sys.path, and thus when pypy tries to "import site" at startup, it imports the CPython's one