00:02
nanonyme has quit [Ping timeout: 250 seconds]
00:02
tazle has quit [Ping timeout: 252 seconds]
00:02
Cheery has quit [Ping timeout: 256 seconds]
00:05
nanonyme has joined #pypy
00:05
[Arfrever] has quit [Ping timeout: 256 seconds]
00:08
tazle has joined #pypy
00:11
Cheery has joined #pypy
00:18
[Arfrever] has joined #pypy
00:22
slav0nic has quit [Ping timeout: 245 seconds]
03:26
jacob22 has quit [Ping timeout: 250 seconds]
05:38
Atque has quit [*.net *.split]
05:38
tumbleweed has quit [*.net *.split]
05:38
the_drow has quit [*.net *.split]
05:39
agronholm has quit [*.net *.split]
05:39
danchr_ has quit [*.net *.split]
05:39
Techcable has quit [*.net *.split]
05:39
arigato has quit [*.net *.split]
05:39
luckydonald has quit [*.net *.split]
05:39
Hodgestar has quit [*.net *.split]
05:39
iwkse has quit [*.net *.split]
05:39
energizer has quit [*.net *.split]
05:39
ronan has quit [*.net *.split]
05:39
yizawa has quit [*.net *.split]
05:39
commandoline has quit [*.net *.split]
05:39
nanonyme has quit [*.net *.split]
05:39
tazle has quit [*.net *.split]
05:39
glyph has quit [*.net *.split]
05:39
lastmikoi has quit [*.net *.split]
05:39
graingert[m] has quit [*.net *.split]
05:39
jryans has quit [*.net *.split]
05:39
catern has quit [*.net *.split]
05:39
krono has quit [*.net *.split]
05:39
sam_ has quit [*.net *.split]
05:39
indyZ has quit [*.net *.split]
05:39
marmoute has quit [*.net *.split]
05:39
the_rat has quit [*.net *.split]
05:39
epony has quit [*.net *.split]
05:39
shodan45 has quit [*.net *.split]
05:39
exarkun has quit [*.net *.split]
05:39
idnar has quit [*.net *.split]
05:39
cfbolz has quit [*.net *.split]
05:39
fijal has quit [*.net *.split]
05:39
saltrocklamp[m] has quit [*.net *.split]
05:39
Lightsword has quit [*.net *.split]
05:39
Corbin has quit [*.net *.split]
05:39
mjacob has quit [*.net *.split]
05:39
stkrdknmibalz has quit [*.net *.split]
05:39
habnabit_ has quit [*.net *.split]
05:39
ammar2 has quit [*.net *.split]
05:39
ctismer has quit [*.net *.split]
05:39
phlebas has quit [*.net *.split]
05:39
jerith has quit [*.net *.split]
05:39
pjenvey has quit [*.net *.split]
05:39
xcm has quit [*.net *.split]
05:39
antocuni has quit [*.net *.split]
05:39
atomizer has quit [*.net *.split]
05:39
_0az3 has quit [*.net *.split]
05:39
amazigh has quit [*.net *.split]
05:39
marvin has quit [*.net *.split]
05:50
larstiq_ has quit [*.net *.split]
05:52
[Arfrever] has quit [*.net *.split]
05:52
dmalcolm__ has quit [*.net *.split]
05:52
infernix has quit [*.net *.split]
05:52
mattip has quit [*.net *.split]
05:52
lazka has quit [*.net *.split]
05:52
dustinm has quit [*.net *.split]
05:52
samth has quit [*.net *.split]
05:52
benjamin has quit [*.net *.split]
05:53
tumbleweed has joined #pypy
05:53
exarkun has joined #pypy
05:53
larstiq_ has joined #pypy
05:53
tazle has joined #pypy
05:53
nanonyme has joined #pypy
05:53
Atque has joined #pypy
05:53
saltrocklamp[m] has joined #pypy
05:53
the_drow has joined #pypy
05:53
graingert[m] has joined #pypy
05:53
jryans has joined #pypy
05:53
Lightsword has joined #pypy
05:53
catern has joined #pypy
05:53
agronholm has joined #pypy
05:53
Corbin has joined #pypy
05:53
epony has joined #pypy
05:53
krono has joined #pypy
05:53
danchr_ has joined #pypy
05:53
glyph has joined #pypy
05:53
habnabit_ has joined #pypy
05:53
shodan45 has joined #pypy
05:53
xcm has joined #pypy
05:53
amazigh has joined #pypy
05:53
idnar has joined #pypy
05:53
cfbolz has joined #pypy
05:53
fijal has joined #pypy
05:53
ammar2 has joined #pypy
05:53
iwkse has joined #pypy
05:53
energizer has joined #pypy
05:53
lastmikoi has joined #pypy
05:53
antocuni has joined #pypy
05:53
atomizer has joined #pypy
05:53
arigato has joined #pypy
05:53
_0az3 has joined #pypy
05:53
commandoline has joined #pypy
05:53
Hodgestar has joined #pypy
05:53
yizawa has joined #pypy
05:53
ronan has joined #pypy
05:53
marmoute has joined #pypy
05:53
indyZ has joined #pypy
05:53
the_rat has joined #pypy
05:53
mjacob has joined #pypy
05:53
jerith has joined #pypy
05:53
pjenvey has joined #pypy
05:53
phlebas has joined #pypy
05:53
marvin has joined #pypy
05:53
ctismer has joined #pypy
05:53
luckydonald has joined #pypy
05:53
Techcable has joined #pypy
05:53
sam_ has joined #pypy
05:54
dmalcolm__ has joined #pypy
05:54
lazka has joined #pypy
05:54
[Arfrever] has joined #pypy
05:54
mattip has joined #pypy
05:54
infernix has joined #pypy
05:54
dustinm has joined #pypy
05:54
samth has joined #pypy
05:56
benjamin has joined #pypy
06:42
Guest96 has joined #pypy
07:03
Guest96 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:41
<
mgorny >
twisted.trial.unittest.FailTest: Process did not exit cleanly (out: [] err: [b"ModuleNotFoundError: No module named 'encodings'\ndebug:
07:41
<
mgorny >
OperationError:\ndebug: operror-type: ModuleNotFoundError\ndebug: operror-value: No module named 'encodings'\n"])
07:41
<
mgorny >
i'm pretty sure i've seen this before but i don't recall when
07:57
<
mattip >
it might be a failure to initalize the interpreter at early stages, and then it cannot successfully print out the error without more imports
07:57
<
mgorny >
found the culprit
07:57
<
mgorny >
reactor.spawnProcess(
07:57
<
mgorny >
helperProto, sys.executable, ("python", "-u", helperPath), env
07:57
<
mgorny >
it's passing "python" as argv[0]
07:58
<
mgorny >
if i change it to sys.executable, then pypy3 works
07:59
<
mgorny >
though it's weird
08:04
Atque has quit [Ping timeout: 276 seconds]
08:06
Atque has joined #pypy
08:18
<
larstiq_ >
is `python` a different thing then?
08:20
<
sam_ >
I don't think you can assume `python` is the thing you're running with at all
08:21
<
mgorny >
the thing is, i can't reproduce it standalone
08:22
<
mgorny >
so twisted probably does something even more creepy
08:39
Guest96 has joined #pypy
08:40
<
mattip >
mgorny: env["PYTHONPATH"] = os.pathsep.join(sys.path) before the call will do bad things if python != pypy
08:41
slav0nic has joined #pypy
08:48
<
mgorny >
it's pypy3 and i've tried copying that PYTHONPATH
08:48
<
mgorny >
fun enough, i can't even reproduce when running twisted tests standalone
08:49
<
mgorny >
probably it's something in Gentoo's build env interacting
08:51
<
mgorny >
hm, our newer test method works, so
*shrug*
09:24
<
cfbolz >
Wow, what an unhelpful pypy-dev mail
09:41
<
cfbolz >
"patches welcome"
09:44
<
arigato >
maybe with a guaranteed salary for 5 people full-time doing only that, we could get closer to his goal
10:06
<
larstiq_ >
that is also living way more on the cutting edge than I believe most people do
10:07
<
ctismer >
Don’t be worried about pretentious mails unless they are paying customers
10:07
larstiq_ is now known as LarstiQ
10:07
<
mgorny >
his goal doesn't really seem like worthwhile goal
10:07
<
sam_ >
i don't think he actually wants pypy
10:07
LarstiQ is now known as Guest7503
10:07
<
mgorny >
ok, new wtf:
10:07
<
mgorny >
E ImportError: /tmp/setuptools-rust/examples/html-py-ever/.tox/pypy3/lib/pypy3.9/site-packages/html_py_ever/html_py_ever.pypy39-pp73-x86_64-linux-gnu.so: undefined symbol: PyUnicode_AsUTF8AndSize
10:08
<
mgorny >
i'm pretty sure the symbol is there... so wtf?
10:10
<
sam_ >
it only became officially part of public for 3.10?
10:10
<
sam_ >
do you have to opt in for it on earlie versions?
10:10
<
mgorny >
well, i suppose then it should fail at compile time, not runtime
10:11
<
sam_ >
depends on flags used, i wouldn't be surprised if it injects something silly
10:12
<
mgorny >
1185: 0000000001958510 18 FUNC GLOBAL DEFAULT 14 PyPyUnicode_AsUTF8AndSize
10:12
<
mgorny >
maybe it's a sign i should move my ass and reenable the shared lib
10:12
<
mgorny >
1185: 0000000001958510 18 FUNC GLOBAL DEFAULT 14 PyPyUnicode_AsUTF8AndSize
10:13
<
mgorny >
it's PyPyUnicode...
10:15
<
mgorny >
ok, i'll enable shared lib now just in case
10:21
<
Guest7503 >
iirc those PyPy symbols are intentionally internal?
10:25
Guest7503 has quit [Changing host]
10:25
Guest7503 has joined #pypy
10:25
Guest7503 is now known as LarstiQ
10:36
otisolsen70 has joined #pypy
11:07
<
mgorny >
hmm, when building a "normal" package it seems that they somehow get translated
11:07
<
mgorny >
so i guess the rust shit is to blame
11:11
<
mgorny >
ah, now i grep right:
11:11
<
mgorny >
pypy_decl.h:#define PyUnicode_AsUTF8AndSize PyPyUnicode_AsUTF8AndSize
11:22
<
mattip >
We rename them to make sure we are exporting the right things.
11:23
<
mattip >
so rust probably doesn't know about the renaming
11:25
<
mgorny >
yes, pyo3 reinvents the whole API x_x
11:25
<
mgorny >
what a piece of shit
11:42
<
mgorny >
reported a bug but i wouldn't have high hopes
11:58
<
mgorny >
and cryptography doesn't build either because of another bug
12:26
<
mattip >
to be fair, it is not always clear how to do the renaming
12:42
jacob22 has joined #pypy
13:29
slav0nic has quit [Ping timeout: 260 seconds]
13:55
slav0nic has joined #pypy
14:11
Atque has quit [Remote host closed the connection]
14:12
Atque has joined #pypy
14:22
<
mgorny >
any clue what they mean?
14:36
<
nimaje >
maybe they mean "CPython’s Application Binary Interface (ABI) is forward- and backwards-compatible across a minor release (if these are compiled the same way; see Platform Considerations below).", but that only applies to cpythons abi (
https://docs.python.org/3/c-api/stable.html)
15:03
<
cfbolz >
mgorny: pypy doesn't support the abi
15:04
<
cfbolz >
And for the api, yes they need to use the header
15:06
Atque has quit [Quit: ...]
15:30
<
mattip >
is there some other thing "ABI definition" which we should be generating?
15:32
<
tumbleweed >
pyo3
*could* support cffi, of course
15:36
<
mattip >
we do try to test against PyO3, but it seems they changed to nox a little while ago and broke the build script
15:45
<
mattip >
mgorny: what version of py03 are you using? This seems to have been added 4 months ago
15:46
<
mattip >
from what I can tell that should be in py03 0.15.0
15:50
<
mgorny >
mattip: i've had the test failrue with 0.12.1 and 0.15.1
15:55
<
mgorny >
or at least i think so
15:55
<
mgorny >
the package originally binds to 0.12.1
15:55
<
mgorny >
i've modified some random file and it looked like Cargo.lock changed to 0.15.1
15:56
<
mgorny >
i guess i shoudl try again ;-f
15:59
<
mgorny >
in other news, PyUnicode_DecodeLocale() call in pycurl is segfaulting for me
15:59
<
mgorny >
and printf on its input seems to work
16:00
<
mattip >
this is in the tests of pycurl or when you are using it in practice?
16:00
<
mgorny >
the latter, triggered via tests of tornado
16:00
<
mgorny >
i'm going to try making a standalone reproducer
16:01
* mgorny
hasn't written python extensions in a long time
16:01
<
mattip >
linux64 is in better shape than macOS and windows
16:02
<
mattip >
there are some unicode failures on macOS and windows
16:02
<
mgorny >
it's gentoo amd64
16:15
<
cfbolz >
PyO3 website says they support pypy
16:15
<
cfbolz >
So we could just wait for one of their developers to chime on the bug report
16:20
<
mgorny >
so it probably didn't upgrade to 0.15.1 after all
16:22
<
mgorny >
/usr/include/pypy3.9/pypy_decl.h:915:69: note: expected ‘struct _object *’ but argument is of type ‘char *’
16:22
<
mgorny >
915 | PyAPI_FUNC(struct _object *) PyUnicode_DecodeLocale(struct _object *arg0, const char *arg1);
16:23
<
mgorny >
yep, segfaults
16:39
<
mattip >
heh, I even tested that the wrong interface works.
16:40
<
mattip >
I guess that function is not used all that much yet, it was added in 7.3.2 so about two years ago
16:42
<
mattip >
I wonder if there is a way to compare all the signatures of our headers
17:01
<
mgorny >
i've also noticed we're missing the -AndSize version
17:01
<
mgorny >
but i suppose that is even less popular
17:02
<
mgorny >
i need that one for pycurl which is indirectly needed to enable poetry-core for pypy3
17:03
<
mattip >
fix is coming ...
17:49
otisolsen70_ has joined #pypy
17:50
otisolsen70_ has quit [Remote host closed the connection]
17:52
otisolsen70 has quit [Ping timeout: 256 seconds]
18:29
<
cfbolz >
Some good bug fixing after the rc1 I'd say!
18:29
<
cfbolz >
(even if I am still stuck with multiprocessing)
18:39
lritter has joined #pypy
19:10
Guest96 has joined #pypy
19:24
greedom has joined #pypy
19:28
jacob22_ has joined #pypy
19:29
jacob22 has quit [Ping timeout: 256 seconds]
19:45
Atque has joined #pypy
20:05
jacob22_ has quit [Ping timeout: 252 seconds]
20:09
Julian has joined #pypy
20:15
Julian has quit [Ping timeout: 240 seconds]
20:16
jacob22_ has joined #pypy
20:56
greedom has quit []
21:11
samth has quit [*.net *.split]
21:11
[Arfrever] has quit [*.net *.split]
21:11
dmalcolm__ has quit [*.net *.split]
21:11
infernix has quit [*.net *.split]
21:11
mattip has quit [*.net *.split]
21:11
lazka has quit [*.net *.split]
21:11
dustinm has quit [*.net *.split]
21:11
LarstiQ has quit [*.net *.split]
21:11
tumbleweed has quit [*.net *.split]
21:11
Atque has quit [*.net *.split]
21:11
benjamin has quit [*.net *.split]
21:11
the_drow has quit [*.net *.split]
21:11
agronholm has quit [*.net *.split]
21:11
danchr_ has quit [*.net *.split]
21:11
Techcable has quit [*.net *.split]
21:11
arigato has quit [*.net *.split]
21:11
luckydonald has quit [*.net *.split]
21:11
Hodgestar has quit [*.net *.split]
21:11
iwkse has quit [*.net *.split]
21:11
energizer has quit [*.net *.split]
21:11
ronan has quit [*.net *.split]
21:11
yizawa has quit [*.net *.split]
21:11
commandoline has quit [*.net *.split]
21:11
jacob22_ has quit [*.net *.split]
21:11
Guest96 has quit [*.net *.split]
21:11
tazle has quit [*.net *.split]
21:11
nanonyme has quit [*.net *.split]
21:11
glyph has quit [*.net *.split]
21:11
lastmikoi has quit [*.net *.split]
21:11
graingert[m] has quit [*.net *.split]
21:11
jryans has quit [*.net *.split]
21:11
catern has quit [*.net *.split]
21:11
krono has quit [*.net *.split]
21:11
sam_ has quit [*.net *.split]
21:11
indyZ has quit [*.net *.split]
21:11
marmoute has quit [*.net *.split]
21:11
the_rat has quit [*.net *.split]
21:11
exarkun has quit [*.net *.split]
21:11
epony has quit [*.net *.split]
21:11
shodan45 has quit [*.net *.split]
21:11
idnar has quit [*.net *.split]
21:11
cfbolz has quit [*.net *.split]
21:11
fijal has quit [*.net *.split]
21:11
saltrocklamp[m] has quit [*.net *.split]
21:11
Lightsword has quit [*.net *.split]
21:11
Corbin has quit [*.net *.split]
21:11
mjacob has quit [*.net *.split]
21:11
habnabit_ has quit [*.net *.split]
21:11
ammar2 has quit [*.net *.split]
21:11
ctismer has quit [*.net *.split]
21:11
phlebas has quit [*.net *.split]
21:11
jerith has quit [*.net *.split]
21:11
pjenvey has quit [*.net *.split]
21:11
xcm has quit [*.net *.split]
21:11
antocuni has quit [*.net *.split]
21:11
atomizer has quit [*.net *.split]
21:11
_0az3 has quit [*.net *.split]
21:11
amazigh has quit [*.net *.split]
21:12
marvin has quit [*.net *.split]
21:14
xcm has joined #pypy
21:14
fijal has joined #pypy
21:14
cfbolz has joined #pypy
21:14
idnar has joined #pypy
21:14
dustinm has joined #pypy
21:14
lazka has joined #pypy
21:14
mattip has joined #pypy
21:14
infernix has joined #pypy
21:14
[Arfrever] has joined #pypy
21:14
Hodgestar has joined #pypy
21:14
dmalcolm__ has joined #pypy
21:14
luckydonald has joined #pypy
21:14
Techcable has joined #pypy
21:14
arigato has joined #pypy
21:14
agronholm has joined #pypy
21:14
danchr_ has joined #pypy
21:14
benjamin has joined #pypy
21:14
_0az3 has joined #pypy
21:14
marvin has joined #pypy
21:14
the_drow has joined #pypy
21:14
atomizer has joined #pypy
21:14
marmoute has joined #pypy
21:14
amazigh has joined #pypy
21:14
antocuni has joined #pypy
21:14
indyZ has joined #pypy
21:14
sam_ has joined #pypy
21:14
krono has joined #pypy
21:14
catern has joined #pypy
21:14
jryans has joined #pypy
21:14
graingert[m] has joined #pypy
21:14
pjenvey has joined #pypy
21:14
LarstiQ has joined #pypy
21:14
jerith has joined #pypy
21:14
phlebas has joined #pypy
21:14
shodan45 has joined #pypy
21:14
epony has joined #pypy
21:14
exarkun has joined #pypy
21:14
habnabit_ has joined #pypy
21:14
ammar2 has joined #pypy
21:14
nanonyme has joined #pypy
21:14
tazle has joined #pypy
21:14
Guest96 has joined #pypy
21:14
glyph has joined #pypy
21:14
the_rat has joined #pypy
21:14
ctismer has joined #pypy
21:14
tumbleweed has joined #pypy
21:14
lastmikoi has joined #pypy
21:14
jacob22_ has joined #pypy
21:14
epony has quit [Max SendQ exceeded]
21:14
iwkse has joined #pypy
21:14
yizawa has joined #pypy
21:14
ronan has joined #pypy
21:14
energizer has joined #pypy
21:14
commandoline has joined #pypy
21:14
epony has joined #pypy
21:15
Atque has joined #pypy
21:15
samth has joined #pypy
21:15
Corbin has joined #pypy
21:15
mjacob has joined #pypy
21:15
Lightsword has joined #pypy
21:15
saltrocklamp[m] has joined #pypy
21:15
saltrocklamp[m] has quit [Ping timeout: 245 seconds]
21:15
the_drow has quit [Ping timeout: 260 seconds]
21:15
graingert[m] has quit [Ping timeout: 252 seconds]
21:15
jryans has quit [Ping timeout: 252 seconds]
21:31
epony is now known as Guest3959
21:53
Hube12 has joined #pypy
22:10
Hube1261 has joined #pypy
22:11
Hube1262 has joined #pypy
22:11
Hube12 has quit [Ping timeout: 256 seconds]
22:11
Hube1262 has quit [Client Quit]
22:14
jryans has joined #pypy
22:15
the_drow has joined #pypy
22:15
Hube1261 has quit [Ping timeout: 256 seconds]
22:15
graingert[m] has joined #pypy
22:56
saltrocklamp[m] has joined #pypy
22:59
Guest96 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:33
slav0nic has quit [Ping timeout: 250 seconds]