cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
lritter_ has joined #pypy
lritter has quit [Ping timeout: 260 seconds]
iblis17 has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
iblis17 has joined #pypy
lritter_ has quit [Remote host closed the connection]
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
demonimin has quit [Ping timeout: 264 seconds]
energizer has joined #pypy
jcea has quit [Quit: jcea]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dddddd has quit [Remote host closed the connection]
bogner has quit [Remote host closed the connection]
tbodt has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1771 [ronan: force build, py3.6]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lritter has joined #pypy
lritter_ has joined #pypy
lritter has quit [Ping timeout: 240 seconds]
glyph has quit [Ping timeout: 260 seconds]
glyph has joined #pypy
tonyseek has joined #pypy
tonyseek_ has joined #pypy
tonyseek has quit [Ping timeout: 265 seconds]
marvin has quit [Remote host closed the connection]
marvin has joined #pypy
inad922 has joined #pypy
realitix has joined #pypy
lazka has joined #pypy
realitix has quit [Client Quit]
realitix has joined #pypy
marvin has quit [Remote host closed the connection]
marvin_ has joined #pypy
tonyseek_ has quit [Quit: tonyseek_]
tonyseek has joined #pypy
lritter_ has quit [Ping timeout: 260 seconds]
marr has joined #pypy
antocuni has joined #pypy
<kenaan> cfbolz py3.6 97a56d2df52b /pypy/objspace/std/: getting started with __set_name__ support (PEP 487)
<kenaan> cfbolz py3.6 9e10c6bdc41e /pypy/objspace/std/: introduces the __init_subclass__ hook (PEP 487)
asmeurer has quit [Quit: asmeurer]
energizer has quit [Quit: Leaving]
demonimin has joined #pypy
inad922 has quit [Ping timeout: 276 seconds]
inad922 has joined #pypy
lesshaste has joined #pypy
<lesshaste> hi
<kenaan> mattip unicode-utf8 b1f2a7018522 /pypy/interpreter/unicodehelper.py: minimize diff to py3.5
<kenaan> mattip py3.5 fff10263dfb0 /pypy/config/pypyoption.py: enable cppyy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6732 [mattip: test cppyy, py3.5]
tayfun26 has joined #pypy
lazka has quit [Quit: Leaving]
<mattip> anyone feel like fixing _cppyy translation on py3.5?
raynold has joined #pypy
antocuni has quit [Ping timeout: 256 seconds]
exarkun has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 260 seconds]
exarkun has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3887 [mattip: test cppyy, py3.5]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6732 [mattip: test cppyy, py3.5]
tonyseek has quit [Quit: tonyseek]
solarjoe4 has joined #pypy
the_drow has joined #pypy
antocuni has joined #pypy
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
dddddd has joined #pypy
Rhy0lite has joined #pypy
lazka has joined #pypy
R3d_Sky has joined #pypy
inad922 has quit [Ping timeout: 240 seconds]
kanaka has quit [Changing host]
kanaka has joined #pypy
inad922 has joined #pypy
solarjoe4 has quit [Quit: Leaving]
marky1991 has joined #pypy
bwlang has joined #pypy
marr has joined #pypy
<antocuni> arigato: I'm looking at incminimark.py, in particular at PYPY_GC_INCREMENT_STEP
<antocuni> I cannot find the code which implements what is written in the docstring; in particular, "The minimum is set
<antocuni> to size that survives minor collection * 1.5 so we reclaim anything all the time."
<antocuni> if I read the logic at line 2316 correctly, I think that what happens is that "estimate" is always at least nursery_size*2; i.e., it always depends on the size of the whole nursery, not on the size of the surviving objects
<antocuni> am I correct?
<the_drow> Where can I find the logic for stripping strings?
lazka has quit [Quit: Leaving]
<the_drow> Also, just looked at the same logic in CPython and I wanted to die. The amount of indirection required for this algorithm is overwhelming.
<the_drow> A function which calls strip_impl which calls another function and that function uses multiple macros depending on the position of the moon etc.
<fijal> the_drow: may I interest you in the work we did on checking valid utf8 using SSE/AVX?
<the_drow> sure
<the_drow> fijal, I'm trying to find the code for strip() but it's not in objspace/std/unicodeobject
<the_drow> or in bytesobject for that matter
<fijal> no, it's in rpython/lltypesystem/rstr.py I would expect
<the_drow> oh
<fijal> yeah, the amount of indirection is a bit insane, I agree
<the_drow> you meant rlib right?
<fijal> rpython/rtyper/lltypesystem/rstr.py
<fijal> but maybe it's somewhere in rlib
<fijal> I did start experiments with unicode-utf8
<fijal> maybe you should test stuff on that branch a bit
<fijal> that's reading if something is space from a table of bits
<the_drow> Yeh but it looks like magic
<fijal> just like C ;-)
<fijal> this is possible the least magic of pypy magic ;-)
tayfun26 has quit [Quit: tayfun26]
<the_drow> fijal, I don't think you need assembly here https://github.com/pypy/fast-utf8-methods/blob/master/src/utf8.c#L17
<fijal> the_drow: how do you do this instead?
<the_drow> This could be useful since this is portable between compilers including windows
<the_drow> with cpuid on GCC
<the_drow> I wonder how bad this will fail on ARM
<the_drow> The problem is not introducing new algorithms, the problem is to make this portable enough so that PyPy can work with it
<fijal> that was an experiment where portability was not that important :)
<the_drow> :)
<the_drow> Also, I'd use function pointers instead of ifs inline the functions
<the_drow> Something I'm not entirely sure RPython supports
<fijal> that part has to stay in C/asm anyway
<the_drow> But we need to expose the pointer to RPython somehow
<the_drow> https://github.com/lemire/despacer/issues/8#issuecomment-386339731 if anyone cares to weight in I'd be happy
<fijal> that's not hard
<fijal> there is lltype.Ptr(lltype.Function)
<the_drow> Oh cool
<the_drow> fijal, Oh dear. NEON support detection is OS specific... See https://fossies.org/linux/libpng/arm/arm_init.c#l_23
<the_drow> I think we'll pass ARM support for this feature for now
<the_drow> Unless it is crucial
R3d_Sky has quit [Quit: Textual IRC Client: www.textualapp.com]
inad922 has quit [Ping timeout: 260 seconds]
<the_drow> Do we even run on Windows with ARM?
<fijal> I'm not aware of windows-based ARM
<fijal> at all
<fijal> we definitely don't have it in buildbots which = does not work
<Rotonen> win10 on arm is a rather minor platform to worry about
<Rotonen> also arm nuances and the horrible hardware hacks thereof for faster floats are something which are probably not yet all that relevant
<kenaan> mattip default 0525720a751e /pypy/module/cpyext/include/object.h: change macro for cpython compatibility, fixes #2819
<kenaan> mattip py3.5 f785459b8198 /pypy/config/pypyoption.py: Backed out changeset: fff10263dfb0, _cppyy does not translate
the_drow has quit [Ping timeout: 256 seconds]
Eyess is now known as SunDwarf
lazka has joined #pypy
lazka has quit [Client Quit]
gsnedders has quit [Ping timeout: 240 seconds]
gsnedders has joined #pypy
asmeurer has joined #pypy
antocuni has quit [Ping timeout: 264 seconds]
asmeurer has quit [Ping timeout: 240 seconds]
energizer has joined #pypy
lazka has joined #pypy
lazka has quit [Remote host closed the connection]
lazka has joined #pypy
asmeurer has joined #pypy
<lesshaste> fijal, is there a pypy dev with os x do you happen to know?
<lesshaste> I don't think you can install matplotlib under os x with pypy
<fijal> lesshaste: I use os x
<lesshaste> fijal, aha! Can you install matplotlib?
bogner has joined #pypy
<lesshaste> (I am not at my os x box here unfortunately)
<fijal> Not at my computer
<lesshaste> sorry do you mean you can't install it either or you aren't near your OS X box?
lesshaste has quit [Remote host closed the connection]
dfee has joined #pypy
<dfee> what's the easisest way to figure out if my code is incompatible with pypy? for instance, i'm using typing.NamedTuple, and I just realized that's probably not available in pypy.
<dfee> i should probably say, "which parts of ipython are inconsistent". is there an index of incompatibilites? i'm installing pypy now to run the unit tests... but i expect to see significant barfing
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3887 [mattip: test cppyy, py3.5]
lritter_ has joined #pypy
lazka has quit [Quit: Leaving]
<cfbolz> dfee: differences to CPython are bugs in pypy
<cfbolz> dfee: with very few exceptions
<dfee> cfbolz: ok thanks. i just installed pypy3 and realized that it's equivalent to cpython 3.5.3 so that's going to be my first piece of work (class NamedTuples, and f-string)
<cfbolz> dfee: f-strings are implemented already
<cfbolz> because somebody felt like doing that ;-)
<dfee> cfbolz: huh. you're right. i thought that was a 3.6 feature
tbodt has joined #pypy
<cfbolz> it is
<dfee> cfbolz: where would i go to find what the anticipated release schedule is? i'd like to see when 3.6 compatibility is due
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dfee> i don't see anything about that sort of stuff on https://bitbucket.org/pypy/pypy
<cfbolz> dfee: there is no release schedule
<cfbolz> we release every few months
<cfbolz> and we release what is done
<cfbolz> 3.6 is in the works, but currently not quite clear when we'll get it done
<cfbolz> sorry
<dfee> cfbolz: ok. not trying to be pushy, as this is of course open source.
<dfee> yeah, i see commits going into https://bitbucket.org/pypy/pypy/branch/py3.6
<dfee> how do you know what's left / what's open?
<cfbolz> dfee: we run the cpython 3.6 test and look at the failures
<cfbolz> sorry, I promise in practice it's a lot less unstructured than what I make it sound like tonight ;-)
kbtr_ has quit [Remote host closed the connection]
lazka has joined #pypy
tbodt has joined #pypy
lazka has quit [Quit: Leaving]
JamJam_kid has joined #pypy
Rhy0lite has quit [Quit: Leaving]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
realitix has quit [Quit: realitix]
tbodt has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
JamJam_kid has quit [Ping timeout: 248 seconds]
kipras is now known as kipras`away
jaffachief has joined #pypy
jaffachief has quit [Client Quit]
jaffachief has joined #pypy
JamJam_kid has joined #pypy
JamJam_kid has quit [Ping timeout: 248 seconds]
jaffachief has quit [Quit: Textual IRC Client: www.textualapp.com]
jaffachief has joined #pypy
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dfee has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 264 seconds]
lritter_ has quit [Quit: Leaving]