Taggnostr has joined #pypy
marr has quit [Ping timeout: 240 seconds]
ronan has quit [Ping timeout: 245 seconds]
ronan has joined #pypy
<kenaan> ltratt default 51b52e05a32a /rpython/rlib/rposix.py: OpenBSD also needs sys/ttycom.h included.
<kenaan> ltratt default 42c6ee223963 /rpython/rlib/rvmprof/src/shared/machine.c: string.h needs to be included for strlen to be found.
<kenaan> ltratt default 00193a29fff8 /pypy/config/pypyoption.py: Disable vmprof on OpenBSD as it doesn't build.
<kenaan> ltratt default 92e51c0101b5 /rpython/rlib/: hg merge default
Guest85986 is now known as kushal
kushal has quit [Changing host]
kushal has joined #pypy
inhahe_ has joined #pypy
jcea has quit [Quit: jcea]
pilne has quit [Quit: Quitting!]
glyph_ is now known as glyph
ArneBab_ has joined #pypy
ArneBab has quit [Ping timeout: 240 seconds]
yuyichao has quit [Quit: Konversation terminated!]
yuyichao has joined #pypy
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
Garen_ has joined #pypy
Garen has quit [Ping timeout: 240 seconds]
_whitelogger has joined #pypy
yuyichao has quit [Ping timeout: 272 seconds]
jamadden has quit [Quit: Leaving.]
jacob22_ has quit [Quit: Konversation terminated!]
marky1991 has quit [Ping timeout: 258 seconds]
glyph has quit [Quit: End of line.]
glyph has joined #pypy
yuyichao has joined #pypy
trfl has joined #pypy
amaury has joined #pypy
realitix has joined #pypy
marr has joined #pypy
black_ant has joined #pypy
marr has quit [Remote host closed the connection]
arigato has joined #pypy
amaury has quit [Ping timeout: 240 seconds]
igitoor has quit [Ping timeout: 255 seconds]
jacob22_ has joined #pypy
igitoor has joined #pypy
igitoor has quit [Changing host]
igitoor has joined #pypy
oberstet has joined #pypy
cstratak has joined #pypy
amaury has joined #pypy
antocuni has joined #pypy
<realitix> Hey arigato! Can you tell me (in summary) the CFFI History (for my talk): Why did you start it, what was the first goal, when did it become popular and anything that could be interesting
<arigato> that's a rather broad question
amaury has quit [Quit: Konversation terminated!]
amaury_ has joined #pypy
<arigato> historically, the key factor was luajit's ffi library
senyai has joined #pypy
<arigato> you should look it up if you never have
<arigato> it is a ctypes-for-lua equivalent, done in a way that made sense to us
antocuni has quit [Ping timeout: 268 seconds]
<arigato> from there, it was natural to extend the idea to the API mode, generating CPython C extensions (at first dynamically)
<arigato> I think it caught up pretty quickly, because it's arguably nicer than ctypes, and at least as good as most code bindings generators---but supports pypy too
<realitix> thanks arigato, I'm looking at luajit's ffi
<arigato> not completely surprizing that luajit's ffi is designed for *luajit*---note the jit :-) it's for the same reason that cffi works nicely with pypy's jit
arigato has quit [Read error: Connection reset by peer]
amaury_ has quit [Quit: Konversation terminated!]
inad922 has joined #pypy
<inad922> Hi
<inad922> Is there a way to use pytest with pypy? I mean I intend to run a given module with pypy and I use pytest for testing it, but the pytest script invokes python2.
jamesaxl has joined #pypy
igitoor has quit [Ping timeout: 255 seconds]
igitoor has joined #pypy
igitoor has quit [Ping timeout: 260 seconds]
igitoor has joined #pypy
igitoor has quit [Changing host]
igitoor has joined #pypy
oberstet2 has joined #pypy
oberstet has quit [Ping timeout: 260 seconds]
oberstet2 is now known as oberstet
jcea has joined #pypy
tilgovi has joined #pypy
Tiberium has joined #pypy
tilgovi has quit [Ping timeout: 268 seconds]
jacob22_ has quit [Ping timeout: 240 seconds]
jacob22_ has joined #pypy
cstratak has quit [Quit: Leaving]
cstratak has joined #pypy
<lukasa> inad922: Yes, install py.test with pypy
<lukasa> That is, run `pypy -m pip install py.test` and then make sure you invoke the PyPy version of py.test
<lukasa> This can easily be done using virtualenv
<inad922> Thanks lukasa
<lukasa> inad922: No problem
jacob22_ has quit [Quit: Konversation terminated!]
antocuni has joined #pypy
jcea1 has joined #pypy
jcea has quit [Ping timeout: 240 seconds]
jcea1 is now known as jcea
marr has joined #pypy
cstratak has quit [Remote host closed the connection]
cstratak has joined #pypy
amaury_ has joined #pypy
cstratak has quit [Client Quit]
jcea has quit [Ping timeout: 240 seconds]
jcea has joined #pypy
marky1991 has joined #pypy
<kenaan> antocuni faster-rstruct-2 35bd6d4780d4 /: WIP: hg merge default: lots of conflicts due to the merge of Pybuffer-backport: textually fixed the con...
<kenaan> antocuni faster-rstruct-2 87a6a1665f4c /rpython/rlib/test/test_buffer.py: fix tests
<kenaan> antocuni faster-rstruct-2 a1412ae7916c /pypy/objspace/std/bytearrayobject.py: fix BytearrayBuffer.typed_{read,write}
cstratak has joined #pypy
jcea has quit [Ping timeout: 246 seconds]
jcea has joined #pypy
jscampbell has joined #pypy
<jscampbell> Hey, I'm currently getting an error with "PROTOCOL_SSLv23 = PROTOCOL_TLS" on pypy, "PROTOCOL_TLS" doesn't exist.
<lukasa> jscampbell: PROTOCOL_TLS is new in Python 3.6
<lukasa> PyPy doesn't support 3.6
<lukasa> Just use PROTOCOL_SSLv23 directly, as that *does* exist.
<jscampbell> Interesting thanks for that :) My Ansible scripts are probably pulling in the wrong python/pypy version, as that error comes from the ssl.py file in pypy
<jscampbell> and this is the version of pypy for 2.7
<jscampbell> "/usr/lib/pypy/lib-python/2.7/ssl.py", line 133
<lukasa> Ah, interesting, PyPy has a variation on the ssl module that does define PROTOCOL_TLS
<lukasa> Or at lesat, tries to
<jscampbell> this error occurs when running pip2 to install things on the local machine.
<lukasa> Let me see if I can work out what's going on
<lukasa> (I'm still looking, but I need a new clone of PyPy and that's taking a while)
<lukasa> jscampbell: huh, yes, this just looks wrong
<lukasa> That unconditional assignment seems incorrect om e
<lukasa> *to me
<jscampbell> Okay, do we know what commit that was added in ? Just so I have an idea of what version of PyPy I need to rollback to until it is fixed.
<lukasa> jscampbell: let me check
tilgovi has joined #pypy
<jscampbell> So if I roll back to v5.7 that should be okay as that is (as far as I can tell) the last version released before that commit.
<lukasa> jscampbell: Probably? I have to work out exactly what the code here was supposed to do
<jscampbell> or maybe 5.6 ?
<jscampbell> yeah based on the blog I should be on 5.6 as this was introduced for 5.7
<lukasa> Hrm, now I wonder if this was actually fixed in master already
<LarstiQ> plan_rich_: ^^?
jamadden has joined #pypy
amaury_ has quit [Quit: Konversation terminated!]
amaury has joined #pypy
<lukasa> jscampbell: Out of interest, what OpenSSL version are you linking against
<kenaan> antocuni faster-rstruct-2 f1c2d4165559 /pypy/module/pypyjit/test_pypy_c/test_struct.py: fix for the recent changes to Bytearray, which has got an extra _offset field now. This code is a bit s...
jcea has quit [Ping timeout: 246 seconds]
<jscampbell> @lukasa OpenSSL 1.0.1f 6 Jan 2014 - That seems like quite an old version so I should update that actually (inherited this from someone)
<lukasa> So, without doing a custom translation of PyPy I'm not going to be able to reproduce this I don't think, and I can no longer convince myself that this code is definitely wrong
<lukasa> I think PROTOCOL_TLS really should be unconditionally defined
<jscampbell> I'll upgrade my OpenSSL and I'll see if that resolves the issues. As it's probably a dependency issue on my end, is there a way of pypy detecting the OpenSSL version upon install ? It would be great to get some kind of warning or error that this version of OpenSSL isn't supported.
amaury has quit [Ping timeout: 255 seconds]
tilgovi has quit [Ping timeout: 240 seconds]
jcea has joined #pypy
adamholmberg has joined #pypy
amaury has joined #pypy
jcea has quit [Ping timeout: 246 seconds]
amaury has quit [Ping timeout: 246 seconds]
jcea has joined #pypy
amaury has joined #pypy
amaury has quit [Ping timeout: 260 seconds]
jiffe has quit [Quit: WeeChat 1.7.1]
jiffe has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
rubdos has quit [Ping timeout: 255 seconds]
arigato has joined #pypy
yuyichao has quit [Ping timeout: 255 seconds]
rubdos has joined #pypy
rmesta1 has joined #pypy
rmesta1 has quit [Client Quit]
<plan_rich_> jscampbell, hi, we support the same openssl/libressl version as cryptography... which is currently min. openssl 1.0.1
yuyichao has joined #pypy
<jscampbell> Okay, in that case not sure why it's not working but rolling back to 5.6 fixed it
<plan_rich_> jscampbell, are we talking about pypy2 or pypy3?
<plan_rich_> pypy2 might even support older versions
<jscampbell> pypy2
<kenaan> antocuni faster-rstruct-2 1c9b9bc8492e /pypy/module/__pypy__/bytebuffer.py: the Bytebuffer class in rlib.buffer and pypy.module.__pypy__ was almost identical. Kill the latter
<kenaan> antocuni faster-rstruct-2 6a3872237846 /rpython/rlib/buffer.py: move the definition of the class after RawBuffer, which is a base class and thus is better positioned n...
<kenaan> antocuni faster-rstruct-2 d59317a1258f /: introduce GCBuffer, to share the implementation of typed_read and type_write among all buffers which ar...
<kenaan> antocuni faster-rstruct-2 261fbab29544 /: write tests for ByteBuffer, make it a subclass of GCBuffer and reduce a bit of code duplication with By...
jscampbell has quit [Remote host closed the connection]
<kenaan> antocuni faster-rstruct-2 bc40c2c21a98 /pypy/objspace/std/bytearrayobject.py: bah
jacob22_ has joined #pypy
DragonSA has joined #pypy
DragonSA has joined #pypy
DragonSA has quit [Changing host]
cstratak has quit [Ping timeout: 268 seconds]
<plan_rich_> strange, I dont see why PROTOCOL_TLS should not be available on the module _ssl on default
* plan_rich_ lunch time
jscampbell has joined #pypy
jscampbell has quit [Ping timeout: 268 seconds]
marky1991 has joined #pypy
inad922 has quit [Ping timeout: 240 seconds]
cstratak has joined #pypy
realitix has quit [Quit: Leaving]
jscampbell has joined #pypy
pilne has joined #pypy
jscampbell has quit [Remote host closed the connection]
jaffachief has joined #pypy
antocuni has quit [Ping timeout: 246 seconds]
jscampbell has joined #pypy
jscampbell has quit [Quit: Leaving...]
arigato has quit [Quit: Leaving]
jcea has quit [Quit: jcea]
Aktariel has joined #pypy
oberstet has quit [Ping timeout: 258 seconds]
Aktariel has quit [Quit: Donzoes.]
tilgovi has joined #pypy
DragonSA has quit [Quit: Konversation terminated!]
mattip has joined #pypy
Tiberium has quit [Remote host closed the connection]
nimaje1 has joined #pypy
nimaje1 is now known as nimaje
nimaje is now known as Guest77044
oberstet has joined #pypy
arigato has joined #pypy
pjenvey_ is now known as pjenvey
cstratak has quit [Ping timeout: 268 seconds]
tilgovi has quit [Ping timeout: 240 seconds]
amaury has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
black_ant has quit [Ping timeout: 268 seconds]
antocuni has joined #pypy
jcea has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
cstratak has joined #pypy
adamholmberg has quit [Ping timeout: 246 seconds]
amaury has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 240 seconds]
cstratak has quit [Ping timeout: 240 seconds]
senyai has quit [Ping timeout: 245 seconds]
arigato has quit [Quit: Leaving]
antocuni has quit [Ping timeout: 246 seconds]