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
slisnake has quit [Ping timeout: 268 seconds]
slisnake has joined #pypy
[Arfrever] has quit [Ping timeout: 252 seconds]
[Arfrever] has joined #pypy
mattip has quit [Ping timeout: 256 seconds]
mattip has joined #pypy
<arigato> fijal: any progress with write_protect()? if needed, here's a way that should work: write a function in C that calls write_protect(0), then copies actual memory with a call to memcpy(), then calls write_protect(1). Use that function from all the places in RPython to copy data into MAP_JIT memory
<arigato> it should work however indirectly it's called, because it's atomic
Julian has joined #pypy
Guest96 has joined #pypy
ecarsten has joined #pypy
<fijal> arigato: I got stuck with immigration admin (and took yesterday off) so I think I'll restart tomorrow/friday to look into that
<fijal> but I think step 1 is to understand as to *why* using ffi_closure_alloc works from C but crashes from a freshly compiled pypy-c over cffi
ecarsten has quit [Ping timeout: 256 seconds]
<fijal> arigato: right, I had some questions, in CDataCallback in _cffi_backend/ccallback.py, what is the point of with self as ptr:
Julian has quit [Ping timeout: 256 seconds]
Julian has joined #pypy
<arigato> fijal: look at __enter__, in the parent class I think
<arigato> if I remember correctly, the point is to make sure self.__del__() is not called before the __exit__
<arigato> otherwise, it would be possible that __del__ frees the pointer while it's still being used
<fijal> ok I see
<fijal> bleh immigration paperwork sucks
<Hodgestar> It does. Trying to get official documents out of bureaucracies also sucks.
_0az3 has quit [Quit: Ping timeout (120 seconds)]
_0az3 has joined #pypy
marvin has quit [Ping timeout: 240 seconds]
marvin has joined #pypy
<fijal> Hodgestar: see my whatsapp, speaking of which
lritter has joined #pypy
Julian has quit [Ping timeout: 256 seconds]
<Hodgestar> Will look in a bit -- just hopping through some other things.
Julian has joined #pypy
Julian has quit [Client Quit]
slav0nic has joined #pypy
<cfbolz> mattip: iirc you looked into the app_main.py tests on pypy3 recently, right? what was the status?
<cfbolz> I need to add some for the utf8-mode
marvin has quit [*.net *.split]
lritter has quit [*.net *.split]
danchr has quit [*.net *.split]
_0az3 has quit [*.net *.split]
[Arfrever] has quit [*.net *.split]
glyph has quit [*.net *.split]
Guest96 has quit [*.net *.split]
lazka has quit [*.net *.split]
hexology has quit [*.net *.split]
krono has quit [*.net *.split]
wleslie has quit [*.net *.split]
samth has quit [*.net *.split]
slav0nic has quit [*.net *.split]
lastmikoi has quit [*.net *.split]
infernix has quit [*.net *.split]
atomizer has quit [*.net *.split]
larstiq_ has quit [*.net *.split]
iwkse has quit [*.net *.split]
energizer has quit [*.net *.split]
antocuni has quit [*.net *.split]
benjamin has quit [*.net *.split]
tazle has quit [*.net *.split]
indyZ has quit [*.net *.split]
marmoute has quit [*.net *.split]
mattip has quit [*.net *.split]
slisnake has quit [*.net *.split]
xcm___ has quit [*.net *.split]
habnabit_ has quit [*.net *.split]
mgorny has quit [*.net *.split]
nanonyme has quit [*.net *.split]
ronan has quit [*.net *.split]
idnar has quit [*.net *.split]
yizawa has quit [*.net *.split]
commandoline has quit [*.net *.split]
alicetries has quit [*.net *.split]
Corbin has quit [*.net *.split]
the_rat has quit [*.net *.split]
ctismer_ has quit [*.net *.split]
dmalcolm_ has quit [*.net *.split]
phlebas has quit [*.net *.split]
jerith has quit [*.net *.split]
pjenvey has quit [*.net *.split]
ammar2 has quit [*.net *.split]
agronholm has quit [*.net *.split]
dustinm has quit [*.net *.split]
mjacob_ has quit [*.net *.split]
tumbleweed has quit [*.net *.split]
nimaje has quit [*.net *.split]
fijal has quit [*.net *.split]
cfbolz has quit [*.net *.split]
arigato has quit [*.net *.split]
luckydonald has quit [*.net *.split]
catern has quit [*.net *.split]
Hodgestar has quit [*.net *.split]
pjenvey has joined #pypy
ammar2 has joined #pypy
jerith has joined #pypy
phlebas has joined #pypy
dmalcolm_ has joined #pypy
ctismer_ has joined #pypy
benjamin has joined #pypy
samth has joined #pypy
atomizer has joined #pypy
krono has joined #pypy
infernix has joined #pypy
lazka has joined #pypy
lastmikoi has joined #pypy
hexology has joined #pypy
glyph has joined #pypy
[Arfrever] has joined #pypy
_0az3 has joined #pypy
Guest96 has joined #pypy
iwkse has joined #pypy
energizer has joined #pypy
antocuni has joined #pypy
marvin has joined #pypy
danchr has joined #pypy
lritter has joined #pypy
larstiq_ has joined #pypy
wleslie has joined #pypy
slav0nic has joined #pypy
agronholm has joined #pypy
dustinm has joined #pypy
nimaje has joined #pypy
mjacob_ has joined #pypy
fijal has joined #pypy
tumbleweed has joined #pypy
cfbolz has joined #pypy
alicetries has joined #pypy
Corbin has joined #pypy
the_rat has joined #pypy
tazle has joined #pypy
indyZ has joined #pypy
marmoute has joined #pypy
idnar has joined #pypy
nanonyme has joined #pypy
yizawa has joined #pypy
commandoline has joined #pypy
mgorny has joined #pypy
ronan has joined #pypy
luckydonald has joined #pypy
catern has joined #pypy
arigato has joined #pypy
Hodgestar has joined #pypy
xcm___ has joined #pypy
mattip has joined #pypy
slisnake has joined #pypy
habnabit_ has joined #pypy
xcm has joined #pypy
xcm___ has quit [Ping timeout: 256 seconds]
<mattip> cfbolz: yeah, app_main tests work by actually running the tests with python3 to check the option parsing
<mattip> so they set up a call to pexpect with "python3 app_main.py <options>" and check that the options are parsed properly
<cfbolz> mattip: right, but that works now, yes?
<mattip> as long as get_python3() works, so it can find the correct python3 to run the tests with
<mattip> also see my latest commit :)
dmalcolm_ has quit [Remote host closed the connection]
<cfbolz> mattip: we have a few too many places with the version numbers
Julian has joined #pypy
<mattip> right. I had contemplated refactoring into a top-level __version__.py, which would then be consumed by cpyext/patchlevel.py sys/version.py, and all the rest
lritter has quit [Quit: Leaving]
<mattip> to avoid the from pypy.module.sys.version import CPYTHON_VERSION in various places
Atque has joined #pypy
<cfbolz> mattip: or we add more such imports ;-)
Julian has quit [Ping timeout: 256 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 240 seconds]
dmalcolm has joined #pypy
Atque has quit [Remote host closed the connection]
Atque has joined #pypy
Julian has joined #pypy
Julian has quit [Ping timeout: 256 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 256 seconds]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
ecarsten has joined #pypy
ecarsten has quit [Ping timeout: 240 seconds]
Guest96 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]