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)"
danieljabailey has quit [Quit: ZNC 1.6.5+deb2build2 - http://znc.in]
danieljabailey has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Jonno_FTW has joined #pypy
<sh4rm4^bnc> is rpython faster than cython ?
<Jonno_FTW> sh4rm4^bnc: why not run a test?
<sh4rm4^bnc> 'cause i dont have pypy installed
<Jonno_FTW> then install it?
<gsnedders> sh4rm4^bnc: RPython is far more single-purpose, it's specifically designed for implementing interpreters
<Jonno_FTW> I keep getting this error when I run 3.5-5.10.0: /3.6.3/lib/python3.6/multiprocessing/util.py", line 262, in _run_finalizers
<Jonno_FTW> woops
<sh4rm4^bnc> Jonno_FTW, i dont run debian. installing stuff on my distro is a bit more involved. :)
<Jonno_FTW> what do you run?
<sh4rm4^bnc> sabotage linux
<Jonno_FTW> can you install pyenv?
<Jonno_FTW> if you have the basic build tools pyenv lets you install any version of most common python interpreters with one line
<sh4rm4^bnc> it's my own distro. basically when i want to install something, i have to write a recipe and compile it from source.
<Jonno_FTW> pyenv compiles tihngs from source for you
<Jonno_FTW> all you need for pyenv is the usual python build tools
<Jonno_FTW> gcc etc.
<sh4rm4^bnc> i didn't write a package manager to let other package manager circumvent it :)
<Jonno_FTW> that's nice
<Jonno_FTW> I assume you have a C compiler?
<sh4rm4^bnc> yup
<Jonno_FTW> and curl?
<Jonno_FTW> run that script
<Jonno_FTW> and bash
<sh4rm4^bnc> here's the list of packages https://github.com/sabotage-linux/sabotage/tree/master/pkg
<sh4rm4^bnc> again, i won't let other package managers mess up my sys
<Jonno_FTW> that's perfectly fine
<sh4rm4^bnc> if i install pypy, i will write a proper recipe
<Jonno_FTW> just use pyenv to manage different versions of python outside the package mangetr
<Jonno_FTW> it installs them in ~/.pyenv/versions
<Jonno_FTW> you only need these packages or their equivalents to install python: libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils
<sh4rm4^bnc> thanks for info. i will consider installing pypy eventually. in the moment i'm asking questions to see if it is suitable for my plans.
<Jonno_FTW> why no cpython?
<sh4rm4^bnc> i was asking previously about using pypy's rpython to implement own language.
<Jonno_FTW> ah
<Jonno_FTW> my pypy keeps crashing with this error: Fatal RPython error: AssertionError
marr has quit [Ping timeout: 276 seconds]
marky1991 has quit [Ping timeout: 264 seconds]
jcea has quit [Quit: jcea]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
forgottenone has joined #pypy
ArneBab has joined #pypy
ArneBab_ has quit [Ping timeout: 240 seconds]
dddddd has quit [Remote host closed the connection]
marky1991 has joined #pypy
oberstet has joined #pypy
marky1991 has quit [Ping timeout: 256 seconds]
marky1991 has joined #pypy
Hotpot33 has quit [Ping timeout: 264 seconds]
forgottenone has quit [Ping timeout: 264 seconds]
Hotpot33 has joined #pypy
ssbr` has quit [Remote host closed the connection]
forgottenone has joined #pypy
Hotpot33 has quit [Ping timeout: 240 seconds]
tayfun26 has joined #pypy
jacob22__ has joined #pypy
Hotpot33 has joined #pypy
jacob22 has quit [Ping timeout: 248 seconds]
Hotpot33 has quit [Ping timeout: 248 seconds]
glyph has quit [Remote host closed the connection]
Hotpot33 has joined #pypy
glyph has joined #pypy
amaury_ has joined #pypy
amaury_ has quit [Read error: Connection reset by peer]
amaury_ has joined #pypy
dmalcolm has quit [Ping timeout: 252 seconds]
amaury_ has quit [Quit: Konversation terminated!]
lazy1 has joined #pypy
dmalcolm has joined #pypy
asmeurer__ has joined #pypy
amaury has joined #pypy
gclawes has quit [Read error: Connection reset by peer]
gclawes has joined #pypy
kipras`away is now known as kipras
amaury has quit [Ping timeout: 264 seconds]
<xqb> just to make sure, PyPy and PyGObject (python-gi, or whatever its real name is - GTK+) are a no go together?
dddddd has joined #pypy
<fijal> xqb: it might work these days
<fijal> or possible to get to work soon
<xqb> fijal: that would be amazing
<xqb> fijal: we believe in (all of) you :)
<fijal> well, no, you can get it to work :)
<fijal> but trye
<xqb> eh? :)
jamesaxl has quit [Read error: Connection reset by peer]
<xqb> I tried, I get nasty errors when installing and a nice ImportError when trying to run the app :)
jamesaxl has joined #pypy
<fijal> right so what sort of nasty errors you get?
<xqb> this would be it https://dpaste.de/rjQC
<arigato> there's basically only one error. it could be fixed by editing cairo to not dig inside PyBaseExceptionObject like this
<arigato> or we could support it, with a bit more effort, inside pypy
<arigato> the proper fix to cairo would be to call PyObject_GetAttributeString(self, "args") instead of self->base.args
<arigato> PyObject_GetAttrString(self, "args")
<xqb> well it's nice to hear it could be (easily?) done
<xqb> this might sound selfish but might we expect this to happen in the near future?
<xqb> a month, two?
<fijal> xqb: on its own - a bit unlikely
marr has joined #pypy
<fijal> someone has to either be interested in fixing pycairo etc or pay someone else to do it
<xqb> yeah I see
<xqb> that's a pity I wanted to use PyPy badly :)
<arigato> it's really a 5-minutes change, but then it needs to be tested again and maybe we'll see more issues
<arigato> from our point of view, we're more likely to fix pypy
<xqb> well I'd be happy to do it myself it's just I'm far from competent to do so
<xqb> :)
<arigato> but you can try to tell the pycairo developers what I just said and they may try
<xqb> okay, will do
<xqb> I'll save this somewhere and probably submit an 'official' issue or something
<xqb> I don't feel like chasing them on IRC :)
<arigato> yes, makes sense too
<fijal> well there is a chance it's not the only one
<fijal> but it's also likely that a lot of them are like this (maybe all)
<xqb> I see
<xqb> I'll do this later today/tomorrow and I'll let you all know what happened
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
lazy1 has quit [Ping timeout: 276 seconds]
<kenaan_> cfbolz default 7add90a647dc /pypy/: merge mapdict-size-limit stop using mapdict after 80 attributes to prevent linear lookups on attributes when usin...
xqb has quit [Changing host]
xqb has joined #pypy
xqb has joined #pypy
amaury has joined #pypy
amaury has quit [Read error: Connection reset by peer]
amaury has joined #pypy
amaury has quit [Client Quit]
amaury has joined #pypy
raynold has quit [Quit: Connection closed for inactivity]
amaury has quit [Ping timeout: 256 seconds]
Hotpot33 has quit [Ping timeout: 248 seconds]
lazy1 has joined #pypy
Hotpot33 has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
glyph has quit [Ping timeout: 252 seconds]
jamesaxl has joined #pypy
glyph has joined #pypy
Hotpot33 has quit [Ping timeout: 248 seconds]
Hotpot33 has joined #pypy
<xqb> fijal, arigato: might someone assist me with the issue; should I just cp the conversation above, should I strip your nicknames, should I start it as "I've talked to PyPy developers who think that this and that yada yada"...? sorry if this is too silly, but..not sure :)
<fijal> xqb: feel free to use our names if it's helpful - the general problem is "this is not an official use of CPython C API and as such does not work on pypy - here is how to use it in a more official way"
<xqb> fijal: ok, thanks, what about the title itself? :)
<fijal> "Unofficial Python C API usage" maybe?
<arigato> it's certainly not officially documented
lazy1 has quit [Ping timeout: 240 seconds]
<xqb> okay, is this okay?
<xqb> fijal, arigato: ^
<xqb> may I submit?
<xqb> whoops I forgot fijal's last remark
lazy1 has joined #pypy
jcea has joined #pypy
<cfbolz> xqb: looks OK to me. I would leave out the part 'this is a 5 minute fix' (we don't really know that)
<xqb> they flagged my account, the issue is not seen
<xqb> pycairo dev told they'll open the issue
<xqb> but I contacted the github support as well so it may be just appear on its own at some point
marky1991 has quit [Read error: Connection reset by peer]
<arigato> strange, but cool
lazy1 has quit [Quit: Leaving]
lritter has joined #pypy
<xqb> hey they unblocked me
<xqb> :)
<xqb> can you see it?
<arigato> yes
<xqb> nice
<arigato> thanks for pushing .-)
<xqb> no worries :)
fryguybob has quit [Quit: leaving]
<kenaan_> cfbolz py3.5 5ad0629dd41b /pypy/interpreter/: make sure that the error message for invalid characters in byte string literals contains position information. impro...
forgottenone has quit [Ping timeout: 240 seconds]
<kenaan_> cfbolz py3.5 095d5a88a186 /pypy/interpreter/: while I am touching that code: make the error offset more precise when there are several bytes literals after each o...
adamholmberg has joined #pypy
Thinh has quit [Quit: Bye!]
Thinh has joined #pypy
Thinh has quit [Client Quit]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
Thinh has joined #pypy
adamholmberg has joined #pypy
Thinh has quit [Client Quit]
Thinh has joined #pypy
yuyichao_ has quit [Ping timeout: 240 seconds]
<kenaan_> cfbolz default 2cb74fa177c2 /pypy/interpreter/: fix pypy2 version of the bug fixed in 095d5a88a186 (which is on py3.5)
yuyichao_ has joined #pypy
Rhy0lite has joined #pypy
gcbirzan has quit [Ping timeout: 256 seconds]
marky1991 has joined #pypy
<arigato> cfbolz: there's a pdb.set_trace() in 2cb74fa177c2
gcbirzan_ has joined #pypy
<cfbolz> arigato: ouch, thanks
<arigato> :-)
<cfbolz> u"\x"
<cfbolz> x = u"a" u"c" u"c" \
<cfbolz> arigato: essential improvement to our error messages, if you write errors like this:
<kenaan_> cfbolz default 2b746704dbf2 /pypy/interpreter/pyparser/parsestring.py: remove pdb (thanks, Armin)
<arigato> indeed!
<tos9> wait, as in pypy is going to show the full statement?
<tos9> if so that'd be amazin' /me reads the commit
<cfbolz> No
<cfbolz> But at least it won't show you the wrong line
<tos9> ah
yuyichao_ has quit [Ping timeout: 265 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 264 seconds]
adamholmberg has joined #pypy
ssbr has joined #pypy
tayfun26 has quit [Quit: tayfun26]
marr has quit [Ping timeout: 264 seconds]
forgottenone has joined #pypy
marky1991 has quit [Ping timeout: 252 seconds]
yuyichao_ has joined #pypy
michaelgreene has quit [Remote host closed the connection]
kolko has quit [Ping timeout: 256 seconds]
tbodt has joined #pypy
oberstet has quit [Ping timeout: 256 seconds]
mattip has joined #pypy
<kenaan_> mattip msvc14 cbe8d91c8cc5 /: add externals and vsver to MSvcPlatform, add external build dependencies repo
<mattip> we now have a repo for third party binaries at https://bitbucket.org/pypy/externals
<mattip> well, we will once hg push finishes
<kenaan_> mattip msvc14 20fa1845f015 /pypy/doc/windows.rst: document how to download the externals on win32
<arigato> nice job
marky1991 has joined #pypy
<mattip> might be a way to deal with macosx as well
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kenaan_> mattip buildbot 531d88ab56dc /bot2/pypybuildbot/builds.py: add a step to get third party binaries
oberstet has joined #pypy
tbodt has joined #pypy
gclawes has quit [Read error: Connection reset by peer]
gclawes has joined #pypy
marr has joined #pypy
raynold has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
<kenaan_> mattip msvc14 67cd401697a2 /get_externals.py: typo
tbodt has joined #pypy
tbodt has quit [Client Quit]
<kenaan_> mattip buildbot d109544779c6 /bot2/pypybuildbot/builds.py: make platform a command-line option, unsupported for now
<kenaan_> mattip msvc14 8a38c36ebdff /get_externals.py: add unsupported platform arg for cross-compilation
<mattip> an extra 36-50 MB per build environment for the externals repo,
<mattip> even for non-windows. But compared to the size of the pypy/rpython repo, not too bad
tbodt has joined #pypy
nunatak has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
michaelgreene has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
tbodt has joined #pypy
drolando has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
forgottenone has quit [Quit: Konversation terminated!]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
marky1991 has quit [Ping timeout: 248 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
john51 has quit [Read error: Connection reset by peer]
john51 has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
marky1991 has joined #pypy
forgottenone has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
fryguybob has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rhy0lite has quit [Quit: Leaving]
<mattip> it seems we need to rework _PyVerify_fd as per this cpython issue https://bugs.python.org/issue23524
<mattip> and not simply disable it as I did in 5664c6a12efb
tbodt has joined #pypy
<kenaan_> mattip msvc14 8d18d2bafe84 /: typos, cleanup
<kenaan_> mattip msvc14 38c1afa8f498 /rpython/rlib/rwin32.py: _dosmaperr is not found on post-vs10, copy from CPython PC/errmap.h
marky1991 has quit [Ping timeout: 240 seconds]
<kenaan_> mattip buildbot 845fc1c6c1bd /bot2/pypybuildbot/builds.py: add verbose flag
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
<mattip> no need to update the buildbot until msvc14 is a bit more mature
mattip has left #pypy ["bye"]
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
jamesaxl has quit [Quit: WeeChat 2.0.1]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 252 seconds]
marky1991 has joined #pypy
adamholmberg has quit []
forgottenone has quit [Quit: Konversation terminated!]
adamholmberg has joined #pypy
awkwardpenguin has joined #pypy
marky1991 has quit [Ping timeout: 256 seconds]
marky1991 has joined #pypy
nunatak has quit [Quit: Leaving]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
raynold has quit [Quit: Connection closed for inactivity]
awkwardpenguin has quit [Remote host closed the connection]
tbodt has joined #pypy
awkwardpenguin has joined #pypy
awkwardpenguin has quit [Ping timeout: 240 seconds]
dash__ has joined #pypy
dash__ is now known as mdash
raynold has joined #pypy
awkwardpenguin has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
awkwardpenguin has quit [Ping timeout: 240 seconds]
awkwardpenguin has joined #pypy
awkwardpenguin has quit [Ping timeout: 248 seconds]
awkwardpenguin has joined #pypy
awkwardpenguin has quit [Ping timeout: 240 seconds]
awkwardpenguin has joined #pypy
awkwardpenguin has quit [Ping timeout: 256 seconds]
sh4rm4^bnc has left #pypy ["Leaving"]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
awkwardpenguin has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
drolando has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
awkwardpenguin has quit [Ping timeout: 248 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
awkwardpenguin has joined #pypy
tbodt has joined #pypy
tbodt has quit [Client Quit]
awkwardpenguin has quit [Ping timeout: 256 seconds]
oberstet has quit [Remote host closed the connection]
awkwardpenguin has joined #pypy
awkwardpenguin has quit [Ping timeout: 256 seconds]
tbodt has joined #pypy
awkwardpenguin has joined #pypy
awkwardpenguin has quit [Ping timeout: 240 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
awkwardpenguin has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
awkwardpenguin has quit [Ping timeout: 248 seconds]
arigato has quit [*.net *.split]
chris| has quit [*.net *.split]
lapinot has quit [*.net *.split]
njs has quit [*.net *.split]
awkwardpenguin has joined #pypy
arigato has joined #pypy
chris| has joined #pypy
lapinot has joined #pypy
njs has joined #pypy
awkwardpenguin has quit [Ping timeout: 256 seconds]
yuyichao_ has quit [Ping timeout: 248 seconds]
awkwardpenguin has joined #pypy
awkwardpenguin has quit [Remote host closed the connection]