cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | hacking on TLS is fun, way more fun than arguing over petty shit, turns out
benjamin_ has joined #pypy
_0az30 has joined #pypy
mattip_ has joined #pypy
mattip has quit [*.net *.split]
ammar2 has quit [*.net *.split]
_0az3 has quit [*.net *.split]
commandoline has quit [*.net *.split]
benjamin has quit [*.net *.split]
ammar2 has joined #pypy
shodan45 has quit [Remote host closed the connection]
jkovac1 has quit [Quit: Ping timeout (120 seconds)]
jkovac1 has joined #pypy
_0az30 is now known as _0az3
shodan45 has joined #pypy
arigo has quit [Ping timeout: 252 seconds]
arigo_ has joined #pypy
lazka3 has joined #pypy
benjamin has joined #pypy
lazka has quit [Ping timeout: 252 seconds]
lazka3 is now known as lazka
benjamin_ has quit [Ping timeout: 252 seconds]
krono has quit [Ping timeout: 252 seconds]
Corbin has quit [Ping timeout: 252 seconds]
Hodgestar has quit [Read error: Connection reset by peer]
krono has joined #pypy
Hodgestar has joined #pypy
Corbin has joined #pypy
agronholm has quit [Ping timeout: 252 seconds]
mattip_ has quit [Ping timeout: 252 seconds]
agronholm has joined #pypy
mattip has joined #pypy
marvin__ has quit [Ping timeout: 252 seconds]
marvin has joined #pypy
<mgorny> mattip: yw, glad to help
<mgorny> i really do need pypy3.8 ASAP to left py3.7 cruft from Gentoo ;-)
<mgorny> clean leftover*
<mattip> mgorny: I will be making a rc2 soon,but we really need the virtualenv fix to go out before the final release
<mgorny> i agree
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
jacob22 has quit [Ping timeout: 246 seconds]
slav0nic has joined #pypy
<ctismer> mattip: you said: `that would be os.path.join(sysconfig.get_config_var('LIBDIR'), sysconfig.get_config_var('LDLIBRARY'))`
<mattip> yes, didn't it work?
<ctismer> mattip: On macOS, this is pretty wrong. The correct setting is:
<ctismer> mattip: /Users/tismer/src/QtC/pypy3.7-v7.3.5-osx64/bin/libpypy3-c.dylib
<ctismer> mattip: but LDLIBRARY uses ".so"
<ctismer> mattip: Also, on macOS, the python3 equivalent would not concatenate correctly.
<ctismer> >>> os.path.join(sysconfig.get_config_var('LIBDIR'), sysconfig.get_config_var('LDLIBRARY'))
<ctismer> '/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/Python.framework/Versions/3.9/Python'
<ctismer> mattip: here is Python itself wrong. The `.dylib` suffix appears in none of the sysconfig variables.
<mattip> oy. Does it work correctly on CPython?
<mattip> ahh, nvrmind, I see that _is_ CPython
<mattip> sysconfig is such a mess. Someone should write a PEP about minimum values that must exist there
<ctismer> mattip: Yes, and tests should be added to ensure that these minimum things are actually right. As always, that does not help right now, and then I'm going to forget it 😉
<mattip> it turns out windows does not have those values at all. I don't know how this is supposed to work
<ctismer> mattip: On windows, our setup worked out-of-the-box, funnily.
greedom has quit [Remote host closed the connection]
jacob22 has joined #pypy
slav0nic has quit [Remote host closed the connection]
<mattip> cfbolz: now the traceback is showing "Did you mean hash" in the lib-python/3/test_code_module test for
<mattip> "try: ham\nexcept: eggs\n"
<mattip> where on CPython it does not have any suggestion
<mattip> is that because we always import "hash" somehow where CPython does not, or is it an edge case in the distance measure?
Julian has joined #pypy
Julian has quit [Quit: leaving]
sbrown2 has joined #pypy
<mattip> arigo_: in CPython3.8, c-extension modules on windows are loaded with LoadLibraryEx() with flags to ignore PATH and use AddDllDirectory instead
<mattip> and this is the issue https://bugs.python.org/issue36085
<mattip> so I need to modify the cpyext/api.py call to follow suit
<mattip> does this affect CFFI?
<mattip> it affect ctypes, which uses rdynload.dlopen() and now must use rdynload.dlopenex(),
<mattip> the _ctypes.CDLL seems to use both rlib/libffi.py and rlib/clibffi.py
<mattip> so I think I will leave that for a bugfix if anyone complains