cstratak has quit [Ping timeout: 240 seconds]
marky1991 has quit [Remote host closed the connection]
black_ant has quit [Ping timeout: 246 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cstratak has joined #pypy
cstratak has quit [Ping timeout: 246 seconds]
marky1991 has joined #pypy
pilne has quit [Quit: Quitting!]
jcea has quit [Quit: jcea]
ArneBab_ has joined #pypy
ArneBab has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
tilgovi has joined #pypy
tbodt has quit [Remote host closed the connection]
DragonSA has joined #pypy
DragonSA has joined #pypy
DragonSA has quit [Changing host]
DragonSA has quit [Quit: Konversation terminated!]
jacob22_ has quit [Quit: Konversation terminated!]
jamadden has quit [Quit: Leaving.]
tilgovi has quit [Ping timeout: 272 seconds]
black_ant has joined #pypy
black_ant has quit [Ping timeout: 240 seconds]
inad922 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
kipras`away is now known as kipras
amaury has quit [Ping timeout: 268 seconds]
reaperhulk has quit [Quit: ZNC - http://znc.in]
reaperhulk has joined #pypy
realitix has joined #pypy
oberstet has joined #pypy
kipras is now known as kipras`away
inad922 has quit [Ping timeout: 240 seconds]
jamesaxl has joined #pypy
arigato has joined #pypy
black_ant has joined #pypy
kenaan has quit [Ping timeout: 240 seconds]
sthalik has joined #pypy
<sthalik> hey
<sthalik> fijal, i made two relevant changes but my health's not fine yadda yadda
<sthalik> fijal, the two changes are very little in terms of amd64 support
<sthalik> i don't think there's a reason to send them, you or Armin could do them in an hour and not 2 days
<fijal> well it still saves an hour no?
<sthalik> okay, lemme get a patch series
<fijal> also, it's a discussion start, I would encourage you to send them
jacob22_ has joined #pypy
marr has joined #pypy
antocuni has joined #pypy
cstratak has joined #pypy
cstratak has quit [Client Quit]
cstratak has joined #pypy
amaury has joined #pypy
arigato has quit [Ping timeout: 240 seconds]
arigato has joined #pypy
<arigato> yes, I think at this point we really need discussion, if pypy-win64 is going to go anywhere
<arigato> by now I tend to like this model: RPython ints are 64-bit, but W_IntObject limited to 32-bit
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
<arigato> (i.e. RPython ints are like Py_ssize_t in CPython)
<arigato> it's also naturally a solution looking forward: PyPy3 can remove the special case for W_IntObject, and nobody will notice
* cfbolz waves
<arigato> hi
<cfbolz> arigato: yes, that should work, since space.int_w works for longs anyway
<arigato> it means an extra check in space.newint()
<cfbolz> yes
<cfbolz> and special care needs to be taken in some external API calls
<arigato> int == Signed == 64-bit
<arigato> so mostly, the ones using rffi.LONG
<arigato> well, no
<arigato> the ones using rffi.LONG need to grow checks for not overflowing the arguments,
<cfbolz> which is annoying
<arigato> and for the ones using lltype.Signed we need to check if Signed is really what we want in the first place
<cfbolz> yes
<cfbolz> can we get the compiler to tell us these things?
<arigato> I wonder if the translator could emit warnings, MSVC-style, about implicit downcasts
<cfbolz> or is it really a careful review
<arigato> hum, excepted that they are not implicit
<arigato> they are "explicitly" inserted e.g. by rffi.llexternal
<cfbolz> sthalik: thanks for volunteering and kicking this discussion off, btw.
<arigato> (actually, I'm playing with cffi embedding on Windows 64 and can't use PyPy...)
<cfbolz> hehehe
<cfbolz> VR?
<arigato> yes
<arigato> still a long way off, but trying to embed Python inside a C# system
<cfbolz> cool
<antocuni> arigato: are you aware of "python for .NET"?
<arigato> antocuni: yes
<arigato> they actually sent bug reports about cpyext
<arigato> (for 32-bit)
<antocuni> yeah, I saw them
<antocuni> but why do you need another way of embedding python into C# then?
<arigato> 64-bit!
<antocuni> ah
<arigato> also, no
<arigato> the real question is what kind of API I want
<arigato> if the goal is to give access to all details of the .NET world, then python for .NET is what I need
<arigato> but maybe the goal would be to make some system that implicitly calls the .NET world under the hood (but doesn't have to)
<arigato> for that case, it's fine to interface via C
<antocuni> ok
<arigato> alternatively, rewriting python-for-.NET with cffi instead of the C API would be a big win on pypy, of course
<antocuni> ah yes indeed, that would be interesting
<arigato> anyway, nowadays I'm thinking about these things, which make the question "how big is your ints" more important
<arigato> ...no no, rewriting *mono* in RPython gives the best possible result, jitting across languages... /me hides
<antocuni> arigato: that's exactly what I was thinking about :)
<antocuni> AFAIR, the mono JIT (and also the microsoft one) was not nearly as good as jvm
<antocuni> so maybe it's not too hard to compete :)
<arigato> it's a bit more complex than Java, with things like "struct", which are typically on the stack and passed by value
<arigato> also, threads :-)
<sthalik> cfbolz, it's an interesting subject. being suddenly left without strength is so frustrating. a very bad reason to abandon a project.
<sthalik> see you
sthalik has quit [Quit: leaving]
arigato has quit [Ping timeout: 246 seconds]
amaury has quit [Quit: Konversation terminated!]
amaury has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
amaury has quit [Ping timeout: 245 seconds]
inad922 has joined #pypy
james has joined #pypy
james has quit [Client Quit]
jcea has joined #pypy
jamadden has joined #pypy
cstratak_ has joined #pypy
cstratak has quit [Read error: Connection reset by peer]
cstratak_ has quit [Quit: Leaving]
cstratak has joined #pypy
amaury has joined #pypy
inad922 has quit [Ping timeout: 240 seconds]
Tiberium has joined #pypy
amaury has quit [Quit: Konversation terminated!]
Rhy0lite has joined #pypy
amaury has joined #pypy
marky1991 has joined #pypy
Rhy0lite has quit [Ping timeout: 255 seconds]
Rhy0lite has joined #pypy
amaury has quit [Ping timeout: 255 seconds]
Rhy0lite has quit [Client Quit]
Rhy0lite has joined #pypy
antocuni has joined #pypy
jacob22_ has quit [Quit: Konversation terminated!]
cstratak has quit [Quit: Leaving]
arigato has joined #pypy
nimaje1 has joined #pypy
nimaje1 is now known as nimaje
nimaje is now known as Guest58857
jacob22_ has joined #pypy
kanaka has quit [Remote host closed the connection]
cstratak has joined #pypy
cstratak has quit [Ping timeout: 240 seconds]
cstratak has joined #pypy
arigato has quit [Ping timeout: 240 seconds]
inad922 has joined #pypy
DragonSA has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
mihaid has joined #pypy
Ubuntu-BR has joined #pypy
marr has quit [Ping timeout: 240 seconds]
cstratak has quit [Quit: Leaving]
arigato has joined #pypy
<inad922> hi
<inad922> When I write some extension in C/C++ and plug it into python via cffi and I want to use a struct from there. Is it used via ctypes?
Ubuntu-BR has quit [Quit: Konversation terminated!]
yuyichao has quit [Ping timeout: 272 seconds]
<arigato> inad922: what is your question? (cffi is an alternative to ctypes)
<inad922> arigato: Suppose I write some function in C which returns a struct. I create a python file like "import cffi; ffi = cffi.FFI(); ffi.cdef('struct return function definition goes here...'); lib = ffi.dlopen('...')". And when I use the function via the lib object what is the type of the object returned by the function?
<arigato> 'cdata object'
<arigato> that's not from ctypes, if that's the question
cstratak has joined #pypy
<inad922> Yep, that was my question. Thanks arigato!
kenaan has joined #pypy
<kenaan> tobweber stmgc[c8-adaptive-trx-length-per-thread] 5f7220351ad9 /c8/stm/: Remove former transaction length back off mechanism and comment out debug output
<kenaan> tobweber stmgc[c8-adaptive-trx-length-per-thread] aa3ac5b4c94e /c8/stm/nursery.c: Remove min transaction length (is now zero)
<kenaan> tobweber stmgc[c8-adaptive-trx-length-per-thread] 6074cbac03a5 /c8/: Initialize single thread mode properties of thread local in setup.c
<kenaan> tobweber stmgc[c8-adaptive-trx-length-per-thread] 9ca9e3e987a3 /c8/stm/core.c: Do not set transactions inevitable on start
<kenaan> tobweber stmgc[c8-adaptive-trx-length-per-thread] b74e3a67f424 /c8/stm/: Add timing macros to hide internals from user code when generating custom paylo...
yuyichao has joined #pypy
inad922 has quit [Ping timeout: 260 seconds]
lapinot has joined #pypy
<kenaan> antocuni faster-rstruct-2 cce350f856ce /: move setzeros into the base class rlib.buffer.Buffer, because it is used by rstruct to pack and needs t...
<kenaan> antocuni faster-rstruct-2 b207c44e74ae /: WIP: add a failing test, which is triggered when W_BytearrayObject._offset > 0
<kenaan> antocuni faster-rstruct-2 7538ecbcf8b5 /: turn GCBuffer into a base class again :(, so that we will be able to provide default methods
<kenaan> antocuni faster-rstruct-2 1d430f535203 /: fix test_pack_into_bytearray_delete
tilgovi has joined #pypy
amaury has joined #pypy
antocuni has quit [Ping timeout: 246 seconds]
ronan has quit [Ping timeout: 246 seconds]
ronan has joined #pypy
realitix has quit [Ping timeout: 240 seconds]
Guest86513 has quit [Remote host closed the connection]
marvin has joined #pypy
mihaid has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
marvin is now known as Guest54708
tilgovi has quit [Ping timeout: 246 seconds]
marky1991 has joined #pypy
amaury has quit [Ping timeout: 260 seconds]
oberstet has quit [Ping timeout: 240 seconds]
kipras`away is now known as kipras
oberstet has joined #pypy
panni_ has quit [Ping timeout: 258 seconds]
panni_ has joined #pypy
pilne has joined #pypy
tbodt has joined #pypy
black_ant has quit [Ping timeout: 258 seconds]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<ronan> pff, site.py is a mess
<kenaan> rlamy py3.5 ae338b18eb22 /pypy/interpreter/app_main.py: Run sys.__interactivehook__() also when using -i
amaury has joined #pypy
<kenaan> rlamy py3.5 96d6c8419ada /lib-python/3/site.py: Disable enablerlcompleter() since it's broken on PyPy (note that virtualenv's site.py doesn't use it either)
<o11c|vacation> er, no it isn't
amaury has quit [Ping timeout: 272 seconds]
black_ant has joined #pypy
black_ant has quit [Ping timeout: 260 seconds]
<kenaan> rlamy py3.5 3f4f47fa82af /lib-python/3/site.py: Reenable the parts of enablerlcompleter() that do work (thanks o11c!)
<ronan> o11c|vacation: it has stuff that's distro-specific, implementation-specific or part of the language spec...
<ronan> and virtualenv has its own which is incompatible
<o11c|vacation> ronan: talking about rlamy's commits specifically
<ronan> o11c|vacation: ah, I thought you were answering my comment
<ronan> *comment here
<ronan> o11c|vacation: BTW, what's your use case for sys.__interactivehook__?
<o11c|vacation> ronan: that's what enables rlcompleter in python3's site.py
<o11c|vacation> otherwise you have to set it up *yourself* for every interactive session
<ronan> OK, I didn't really expect our readline to be that compatible
<o11c|vacation> it's definitely missing a lot, but at least basic tab-completion works
<ronan> o11c|vacation: does Tab work for you? I only get Ctrl-I
<ronan> oops, Tab does work, ignore me
<bremner> we have a couple python related PhD student positions; would a job ad to pypy-dev annoy people?
<ronan> bremner: that sounds fine, I'd say go ahead
<bremner> ok, thanks.
DragonSA has quit [Quit: Konversation terminated!]
Tiberium has quit [Remote host closed the connection]
cstratak has quit [Ping timeout: 255 seconds]
<fijal> bremner: as long as there is *some* relations to pypy, I don't think it would
marky1991 has quit [Ping timeout: 246 seconds]
arigato has quit [Quit: Leaving]
marky1991 has joined #pypy
black_ant has joined #pypy
black_ant has quit [Ping timeout: 240 seconds]
yuyichao_ has joined #pypy
yuyichao has quit [Ping timeout: 240 seconds]
marr has joined #pypy
yuyichao_ has quit [Ping timeout: 240 seconds]
inad922 has joined #pypy
yuyichao_ has joined #pypy
Rhy0lite has quit [Quit: Leaving]
inad922 has quit [Ping timeout: 240 seconds]
nedbat has quit [Ping timeout: 246 seconds]
marky1991 has quit [Read error: Connection reset by peer]
jcea has quit [Read error: Connection reset by peer]
jcea1 has joined #pypy
jcea1 is now known as jcea
tilgovi has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
tilgovi has quit [Quit: No Ping reply in 180 seconds.]
tilgovi has joined #pypy
tilgovi has quit [Remote host closed the connection]
tilgovi has joined #pypy
black_ant has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
nedbat has joined #pypy
tilgovi has quit [Remote host closed the connection]
tilgovi has joined #pypy
tilgovi has quit [Remote host closed the connection]
tilgovi has joined #pypy
<glyph> is 'pyenv install pypy3.5-5.7-beta-src' fated to fail on a macOS machine?
<glyph> Oh okay http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64 is not filling me with confidence
kipras is now known as kipras`away