antocuni changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "PyPy: the Gradual Reduction of Magic (tm)"
yuyichao_ has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yuyichao_ has joined #pypy
tbodt has joined #pypy
kipras is now known as kipras`away
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tos9 has quit [Quit: Bye]
tos9 has joined #pypy
asmeurer_ has joined #pypy
marr has quit [Ping timeout: 268 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asmeurer_ has quit [Quit: asmeurer_]
antocuni has quit [Ping timeout: 240 seconds]
ceridwen has quit [Remote host closed the connection]
ceridwen has joined #pypy
<kenaan_> fijal default cb9634421fa2 /rpython/annotator/annrpython.py: "eh". On pypy we need to be careful in which order we have pendingblocks. Otherwise we end up in a setup where we h...
asmeurer__ has joined #pypy
songww has joined #pypy
songww has quit [Remote host closed the connection]
songww has joined #pypy
jcea has quit [Quit: jcea]
MrBusiness3 has joined #pypy
tos9 has quit [Ping timeout: 248 seconds]
glyph has quit [Ping timeout: 248 seconds]
glyph has joined #pypy
asmeurer__ has quit [Ping timeout: 248 seconds]
amontalenti has quit [Ping timeout: 248 seconds]
bogner has quit [Ping timeout: 248 seconds]
jacob22 has quit [Ping timeout: 248 seconds]
lritter__ has quit [Ping timeout: 248 seconds]
Thinh has quit [Ping timeout: 248 seconds]
rubdos has quit [Ping timeout: 248 seconds]
zenith_ has quit [Ping timeout: 248 seconds]
ndash has quit [Ping timeout: 248 seconds]
reaperhulk has quit [Ping timeout: 248 seconds]
zenith has joined #pypy
jacob22 has joined #pypy
jamesaxl has quit [Ping timeout: 248 seconds]
MrBismuth has quit [Ping timeout: 248 seconds]
kushal has quit [Ping timeout: 248 seconds]
Rotonen has quit [Ping timeout: 248 seconds]
jiffe has quit [Ping timeout: 248 seconds]
john51 has quit [Read error: Connection reset by peer]
john51 has joined #pypy
tos9 has joined #pypy
Thinh has joined #pypy
jamesaxl has joined #pypy
kushal has joined #pypy
kushal is now known as Guest77219
amontalenti has joined #pypy
reaperhulk has joined #pypy
rubdos has joined #pypy
bogner has joined #pypy
jiffe has joined #pypy
Rotonen has joined #pypy
lritter__ has joined #pypy
lritter_ has joined #pypy
lritter__ has quit [Ping timeout: 246 seconds]
ionelmc has quit [Ping timeout: 250 seconds]
ArneBab_ has joined #pypy
simpson has quit [Ping timeout: 250 seconds]
bendlas has quit [Ping timeout: 246 seconds]
abvi[m] has quit [Ping timeout: 255 seconds]
yuvipanda has quit [Ping timeout: 255 seconds]
asmeurer_ has joined #pypy
pulkitg has quit [Ping timeout: 255 seconds]
ArneBab has quit [Ping timeout: 268 seconds]
simpson has joined #pypy
forgottenone has joined #pypy
ndash has joined #pypy
ColdHeat has quit [Ping timeout: 240 seconds]
ColdHeat has joined #pypy
songww has quit [Remote host closed the connection]
songww has joined #pypy
Guest77219 is now known as kushal
kushal has quit [Changing host]
kushal has joined #pypy
ionelmc has joined #pypy
zmt00 has quit [Ping timeout: 260 seconds]
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
pulkitg has joined #pypy
songww_ has joined #pypy
songww has quit [Ping timeout: 260 seconds]
songww_ is now known as songww
hubert0 has joined #pypy
hubert0 has quit [Ping timeout: 250 seconds]
Garen_ has joined #pypy
redj_ has joined #pypy
yuvipanda has joined #pypy
bendlas has joined #pypy
abvi[m]1 has joined #pypy
syntaxma1 has joined #pypy
carljm_ has joined #pypy
drolando_ has joined #pypy
jimbaker has quit [Ping timeout: 248 seconds]
dpn` has quit [Ping timeout: 248 seconds]
[0__0] has quit [Ping timeout: 248 seconds]
Garen has quit [Ping timeout: 248 seconds]
redj has quit [Ping timeout: 248 seconds]
syntaxman has quit [Ping timeout: 248 seconds]
carljm has quit [Ping timeout: 248 seconds]
dpn` has joined #pypy
eregon has quit [Ping timeout: 246 seconds]
jimbaker has joined #pypy
xorAxAx has quit [Ping timeout: 264 seconds]
songww has quit [*.net *.split]
drolando has quit [*.net *.split]
ionelmc has quit [*.net *.split]
forgottenone has quit [*.net *.split]
[0__0] has joined #pypy
marky1991 has quit [Ping timeout: 268 seconds]
_whitelogger has joined #pypy
hubert0 has joined #pypy
dw has quit [Remote host closed the connection]
songww has joined #pypy
drolando has joined #pypy
drolando_ has quit [Ping timeout: 240 seconds]
Guest6610 has joined #pypy
ionelmc has joined #pypy
Guest6610 has quit [Quit: [BX] Reserve your copy of BitchX-1.2.1 for Windows CE today!]
lritter_ has quit [Ping timeout: 246 seconds]
jamesaxl has quit [Ping timeout: 240 seconds]
jamesaxl has joined #pypy
traverseda has quit [Ping timeout: 250 seconds]
antocuni has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
gaika9 has joined #pypy
gaika9 has quit [Client Quit]
MrBusiness3 has quit [Ping timeout: 252 seconds]
jamesaxl has quit [Ping timeout: 260 seconds]
jamesaxl has joined #pypy
dw has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
hubert0 has quit []
__main__ has quit [Read error: Connection reset by peer]
__main__ has joined #pypy
__main__ has quit [Read error: Connection reset by peer]
__main__ has joined #pypy
raynold has quit [Quit: Connection closed for inactivity]
asmeurer_ has quit [Quit: asmeurer_]
oberstet has joined #pypy
cstratak has joined #pypy
marr has joined #pypy
cstratak has quit [Quit: Leaving]
cstratak has joined #pypy
antocuni has quit [Ping timeout: 246 seconds]
songww has quit [Quit: songww]
eregon has joined #pypy
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
<kenaan_> stian math-improvements 1a7dc37b2d5d /rpython/rlib/rbigint.py: Remove unused variable and make these size calculations unsigned
jcea has joined #pypy
redj_ is now known as redj
antocuni has joined #pypy
Rhy0lite has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
adamholmberg has joined #pypy
traverseda has joined #pypy
jcea has quit [Quit: jcea]
cstratak has quit [Quit: Leaving]
jcea has joined #pypy
cstratak has joined #pypy
traverseda has quit [Ping timeout: 240 seconds]
traverseda has joined #pypy
magniff has joined #pypy
yuyichao_ has quit [Ping timeout: 268 seconds]
traverseda has quit [Ping timeout: 260 seconds]
kipras`away is now known as kipras
jcea has quit [Quit: jcea]
traverseda has joined #pypy
yuyichao_ has joined #pypy
oberstet2 has joined #pypy
oberstet has quit [Ping timeout: 246 seconds]
forgottenone has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 248 seconds]
marky1991 has joined #pypy
raynold has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
pepesza has joined #pypy
jcea has joined #pypy
yuyichao has joined #pypy
yuyichao_ has quit [Ping timeout: 268 seconds]
marky1991 has quit [Ping timeout: 240 seconds]
<mattip> "tlfield_thread_ident = ThreadLocalField(lltype.Signed, "thread_ident", loop_invariant=True)"
<mattip> appears in rthread.py, but the field "thread_ident" does not appear in the struct pypy_threadlocal_s,
<mattip> nor is there a "#define RPY_TLOFS_rpy_thread_ident" when looking at structdef.h
marky1991 has joined #pypy
<mattip> cfbolz: around?
<cfbolz> yes
<mattip> are you familiar with how the struct gets built?
<mattip> all the other lines around that one in rpython/rlib/rthread.py have the desired effect, only thread_ident and p_errno are missing
<cfbolz> mattip: the thread struct? not really :-(
<mattip> ok, thought I could use my IRC friend card, it seems I have to dig in to the code
<mattip> :)
<cfbolz> sorry :-(
magniff has quit [Ping timeout: 260 seconds]
<mattip> there is a function specifically to create this struct, in translator\c\genc.py, gen_threadlocal_structdef
<mattip> hehe, windows os.sep \
<mattip> interesting how that syntax gets swapped in when I change os
oberstet2 has quit [Ping timeout: 240 seconds]
<mattip> hmm, maybe the declared ThreadLocalField must be seen by the annotator in the graph,
<mattip> the fields that do appear in the struct have functions in rposix that {get,set} them
<pjenvey> mattip: that whole ThreadLocalField class does some black magic w/ the annoator, see _threadlocalref_seeme in there
<mattip> it seems there is a missing get_ident() in tests that want to use that field,
<mattip> once the field is used it appears in the graph and then is output into the struct
<mattip> vmprof code on windows uses the field, in linux it does not, so every test must make the call
<mattip> in hindsight it all makes perfect sense
<mattip> (well, maybe not every test but certainly some tests)
tbodt has joined #pypy
asmeurer has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
slackyy has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
<kenaan_> stian math-improvements 5c8e47fa96a6 /rpython/rlib/: Dont need widedigit | widedigit, when widedigit | digit will do.
asmeurer has quit [Quit: asmeurer]
<kenaan_> rlamy py3.5 ffe57298623b /pypy/: Implement __text_signature__ on types
exarkun has quit [Read error: Connection reset by peer]
cstratak has quit [Quit: Leaving]
exarkun has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
yuyichao_ has joined #pypy
yuyichao has quit [Ping timeout: 268 seconds]
marky1991 has quit [Ping timeout: 240 seconds]
zenith has quit [Disconnected by services]
marky1991 has joined #pypy
zmt00 has joined #pypy
<kenaan_> mattip win32-vmprof e68720efe25c /rpython/rlib/rvmprof/: wip - shared files must be fixed upstream then pulled into here
<kenaan_> mattip win32-vmprof 351273f6cab2 /rpython/rlib/rvmprof/test/test_rvmprof.py: call get_ident to register thread_ident in pypy_threadlocal_s
antocuni has quit [Ping timeout: 240 seconds]
<mattip> win32 sometimes requires calling setuptools before compiling since setuptools patches distutils
marky1991 has quit [Remote host closed the connection]
<mattip> so that distutils can find the msvc compilers freely distributed by microsoft
marky1991 has joined #pypy
<mattip> so we have "import setuptools" sprinkled around before calling cffi.compile after translation
<mattip> but
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mattip> on a fresh pypy, one needs to call pypy -mensurepip to get setuptools
<mattip> but
<mattip> ensurepip on py3.5 requires SSL to run, since pip had a bug, since fixed, that would print a bad error message if there was no SSL
<mattip> but
<mattip> a fresh pypy has no SSL, it is provided by a cffi-compiled module
<mattip> whew, done
<mattip> so
<mattip> any objections to _removing_ the upstream workaround in ensurepip that is no longer needed?
<nanonyme> What's the workaround?
tbodt has joined #pypy
<Rotonen> mattip: ensurepip on 2.7 does not rely on pypi (they switched to tls-only recently)?
<nanonyme> Rotonen, does it embed necessary wheels or what?
<mattip> nanonyme: on python 3.4 up they start off ensurepip by trying to import ssl, and fail if they cannot
<nanonyme> Yay?
<mattip> so I think if I can remove the check-for-ssl it should all just work
* mattip testing now
<nanonyme> As long as it can avoid calling PyPI, sure
<mattip> that is the idea of ensurepip, it is all built in
<nanonyme> Did they document why the heck that workaround exists? :p
<mattip> see lib-python/3/ensurepip/_bundled, the comment in ensurepip/__init__, and https://bugs.python.org/issue19744
<mattip> and the pip issue https://github.com/pypa/pip/issues/1165
<nanonyme> Argh
<nanonyme> So this is a workaround made in 2014 to a problem that was fixed in 2016 but no one remembered to remove the workaround?
<nanonyme> CPython <3
<mattip> well, really, how many people compile cpython without ssl, it is amazing they found it in the first place
nunatak has joined #pypy
<mattip> and why should they revert it? The PyPy use case is a bit unique - ssl is supposed to either be compiled in or not
<nanonyme> They don't need the workaround anymore
<nanonyme> The reasoning that ssl is supposed to be compiled in is just bogus
<mattip> anyhow, once I remove that workaround, I get to the next blockage,
<nanonyme> Sure
<mattip> pip wants os.scandir which is NotImplemented on py3.5 win32
kipras is now known as kipras`away
<nanonyme> Hm, why's that?
<nanonyme> It's supposed to be part of standard library
<nanonyme> Or did you just mean PyPy is missing it still?
<mattip> yes, py3.5 win32 is not yet alpha
<nanonyme> Right
<nanonyme> Should not be that hard to make a fake pure-Python implementation if you don't need to make it work as efficiently as documentation says...
kipras`away is now known as kipras
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mattip> next stage in the rabbit hole - untranslated test_scandir.py depends on os.symlink, which is also missing
<mattip> both in the host python (2.7) and in a translated PyPy py3.5
* mattip giving up for now, maybe some other time ...
tbodt has joined #pypy
Rhy0lite has quit [Quit: Leaving]
<kenaan_> stian math-improvements 92d38b4c73a2 /: Merge default
<kenaan_> stian math-improvements c961b6f6e3c6 /rpython/rlib/rbigint.py: Fix translation
lritter_ has joined #pypy
nunatak has quit [Quit: Leaving]
marky1991 has quit [Ping timeout: 268 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
marky1991 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
<kenaan_> mattip default 7b112966cdd7 /rpython/translator/platform/test/test_posix.py: remove more maemo code
xorAxAx has joined #pypy
eregon has quit [Remote host closed the connection]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 248 seconds]
antocuni has joined #pypy
<mattip> gnite
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/3408 [mattb: testing new high sierra machine]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/3408 [mattb: testing new high sierra machine]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/3409 [mattb: add libffi to pkgconfig path]