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
lritter has quit [Ping timeout: 246 seconds]
lritter has joined #pypy
Dejan has quit [Quit: Leaving]
_whitelogger has joined #pypy
pjenvey has quit [Read error: Connection reset by peer]
pjenvey has joined #pypy
epsilonKNOT has quit [Quit: ZNC 1.7.5 - https://znc.in]
epsilonKNOT has joined #pypy
bogner has quit [Ping timeout: 260 seconds]
bogner has joined #pypy
jcea has quit [Ping timeout: 260 seconds]
_whitelogger has joined #pypy
novae has joined #pypy
dddddd has quit [Ping timeout: 256 seconds]
<novae> Why am I seeing a difference in thread behavior in this simple case: https://gitlab.com/snippets/1981957
<novae> Is it just a speed difference between cython and pypy so that each thread is completing before the next one is started maybe?
<novae> Nope, don't think it's that as pypy still gives a 'clean' sequence if every thread sleeps for 1 second after starting
KindTwo has joined #pypy
KindOne has quit [Ping timeout: 272 seconds]
KindTwo is now known as KindOne
<novae> s/cython/cpython/
<mattip> novae: are you asking if PyPy guarantees that print('abc', end='.') will never split it into two system calls, the answer is "no"
<mattip> when printing in threads you should always create the output string and then print it in one go
<novae> mattip: Yeah, I guess that's what I'm asking. I was just surprised that in this example pypy never splits the output of the string and the terminator while cpython splits it >50% of the time all things being equal.
<mattip> "never" for this output configuration. Try "-u" or redirect to a file, or run on a different OS, things may change
_whitelogger has joined #pypy
gour has joined #pypy
tsaka__ has joined #pypy
tsaka_ has quit [Ping timeout: 260 seconds]
gour has quit [Quit: WeeChat 2.8]
thrnciar has joined #pypy
BPL has joined #pypy
_whitelogger has joined #pypy
dddddd has joined #pypy
_whitelogger has joined #pypy
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
<mattip> I wonder what is easier/better: tryng to locate and link with libffi.a on macOS or doing like cpython and compiling from source
lritter has quit [Ping timeout: 264 seconds]
jcea has joined #pypy
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
jacob22 has joined #pypy
jacob22_ has quit [Read error: Connection reset by peer]
ebarrett has quit [Quit: WeeChat 2.6]
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
KindTwo has joined #pypy
KindOne has quit [Ping timeout: 272 seconds]
KindTwo is now known as KindOne
dholth has joined #pypy
<dholth> How's the 3.7 branch
glyph has quit [Quit: End of line.]
glyph has joined #pypy
<dholth> I'm seeing if I can turn uwsgi into a pypy + asgi server using asyncio and greenlets. Seems to work. But the Quart asgi framework is 3.7+. Looks like starlette will work.
<dholth> greenlets are too cool once you conceptualize them. Still trying to think inside-out.
<cfbolz> dholth: depends a bit on which 3.7 features it uses
<cfbolz> the 3.7 branch is getting there slowly. big missing parts are some new re module features, and some in ssl
<dholth> seems to be annotations
<dholth> that's the first noticable one anyway.
<cfbolz> that should work
dholth has quit [Remote host closed the connection]
dholth has joined #pypy
tsaka_ has joined #pypy
ebarrett has joined #pypy
tsaka__ has quit [Ping timeout: 240 seconds]
dholth has quit [Ping timeout: 245 seconds]
<mattip> cfbolz: ssl is getting close. The test runs to completion, there are 6 out of 151 failures
<mattip> on linux64, we haven't tried macos or win32 yet
epsilonKNOT has quit [Quit: ZNC 1.7.5 - https://znc.in]
epsilonKNOT has joined #pypy
BPL has quit [Quit: Leaving]
lritter has joined #pypy