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
cjwelborn has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
Thinh has quit [Quit: Bye!]
dfee has quit [Ping timeout: 260 seconds]
mattip has quit [Ping timeout: 260 seconds]
cjwelborn has joined #pypy
jcea has quit [Quit: jcea]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marky1991 has quit [Read error: Connection reset by peer]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 252 seconds]
dfee has joined #pypy
wleslie has joined #pypy
jacob22__ has quit [Ping timeout: 245 seconds]
<kenaan> william_ml_leslie real-mode-translator-driver 6ca216fc3bce /: Close branch real-mode-translator-driver.
dfee has quit [Ping timeout: 252 seconds]
dfee has joined #pypy
mattip has joined #pypy
jacob22__ has joined #pypy
forgottenone has joined #pypy
Arfrever has quit [Quit: 御出で]
mattip has quit [Remote host closed the connection]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
<kenaan> mattip py3.5 39fd746993fe /: merge default into py3.5
mattip has joined #pypy
mattip has quit [Ping timeout: 245 seconds]
energizer has joined #pypy
dfee1 has joined #pypy
dfee has quit [Ping timeout: 260 seconds]
dfee2 has joined #pypy
dfee1 has quit [Ping timeout: 248 seconds]
stevenja_ has joined #pypy
dfee2 is now known as dfee
stevenja_ has quit [Ping timeout: 252 seconds]
hotpot33 has joined #pypy
Garen has joined #pypy
Garen_ has quit [Ping timeout: 245 seconds]
forgottenone has quit [Quit: Konversation terminated!]
dfee has quit [Ping timeout: 252 seconds]
wleslie has quit [Ping timeout: 256 seconds]
hotpot33 has quit [Read error: Connection reset by peer]
marself has joined #pypy
marr has joined #pypy
lritter has joined #pypy
inhahe_ has quit [Ping timeout: 252 seconds]
inhahe__ has joined #pypy
antocuni has joined #pypy
stevenja_ has joined #pypy
dfee has joined #pypy
wleslie has joined #pypy
stevenja_ has quit [Ping timeout: 252 seconds]
dfee has quit [Ping timeout: 245 seconds]
wleslie has quit [Quit: ~~~ Crash in JIT!]
energizer has quit [Ping timeout: 252 seconds]
<cfbolz> pypy needs the -B feature
karanlyons has joined #pypy
<antocuni> cfbolz: please add it :)
<antocuni> even better: let's emit a wave with the same frequency as minor collections/second. If you allocate fast enough, you should be able to play some music
antocuni has quit [Ping timeout: 256 seconds]
<kenaan> cfbolz py3.6-wordcode bac7bc4a6c4f /lib-python/3/test/test_opcodes.py: fix test
<cfbolz> ronan: is it ok if I merge py3.6-wordcode to py3.6? it doesn't break assert reinterpretation more than it is already broken
karanlyons has left #pypy [#pypy]
dfee has joined #pypy
dfee has quit [Ping timeout: 264 seconds]
oberstet has joined #pypy
jcea has joined #pypy
marky1991 has joined #pypy
dddddd has joined #pypy
Rhy0lite has joined #pypy
R3d_Sky has joined #pypy
<lesshaste> hi all
<lesshaste> why when you do pip install numpy scipy etc. does it then say ImportError: No module named numpy
<lesshaste> forcing you to install them one at a time?
<lesshaste> (with pypy of course)
<fijal> noone knows the way of the pip
<lesshaste> but it doesn't happen with cpython and pip I believe
<fijal> who knows why...
<lesshaste> ok :)
<lesshaste> just thought I would ask...
<lesshaste> it is really really impressive how you can now happily use scipy, matplotlib etc.
<lesshaste> that's a revolution in pypyness :)
<lesshaste> except in OS X sadly
<fijal> I'm always impressed pip works at all, ever tbh
<lesshaste> right but how awesome is that it that scipy now works?!
<lesshaste> (very :) )
marr has quit [Ping timeout: 245 seconds]
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
<tsutsumi> fijal: I have a PR touching runicode.py, if desired I could move the function I touched (unicode_encode_utf_8_impl) over to unicodehelpers. I wanted to keep the pr changes tiny and do that in maybe a followup commit. But do you want me to do that in the PR?
<fijal> tsutsumi: if you have any changes to runicode.py, please move those to unicodehelper
<fijal> since runicode is supposed to be shared between python2 and 3
stevenja_ has joined #pypy
<tsutsumi> Okay. It looks like I can't move over the whole method: utf_8 encoding is used in both rlib/rope.py and rlib/rstr.py
<tsutsumi> I don't think I could move a lot out, if we depend on it. I changed the error handling logic. I'm not clear on what rpython's guarantees are around unicode encoding. But if the only thing we're guaranteeing is that we can compile rpython...
<tsutsumi> yeah, I think it's hard to add any reusable code in runicode.py. I could reduce the code in runicode.py by removing some of the arguments beind handled
<tsutsumi> the two times unicode encoding is used in rpython, has very similar arguments
<tsutsumi> rstr.py:388 and rlib/rope.py:1491
Hasimir has quit [Ping timeout: 240 seconds]
<tsutsumi> So I think, the only reasonable thing I could do is copy unicde_encode_utf_8_impl code over to unicodehelpers, and remove the variation in handlers in the runicode.py version
TheAdversary has quit [Ping timeout: 260 seconds]
<tsutsumi> does that sound good?
dfee has joined #pypy
dfee has quit [Ping timeout: 240 seconds]
<cfbolz> tsutsumi: you can also copy it over, and leave the runicode version as it is
user24 has joined #pypy
lesshaste has quit [Read error: Connection reset by peer]
stevenja_ has quit [Remote host closed the connection]
<tsutsumi> sounds good, can do
R3d_Sky has quit [Ping timeout: 260 seconds]
marr has joined #pypy
mattip has joined #pypy
leshaste has joined #pypy
<cfbolz> antocuni (logs): somebody wrote a cpython version: https://github.com/javierhonduco/bpf-playground/blob/master/gc_beep.py
mattip has quit [Ping timeout: 240 seconds]
dfee has joined #pypy
lazka has joined #pypy
tsutsumi_ has joined #pypy
user24 has quit [Quit: Leaving]
tsutsumi_ has quit [Client Quit]
mattip has joined #pypy
lazka has quit [Quit: Leaving]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
energizer has joined #pypy
TheAdversary has joined #pypy
tbodt has joined #pypy
Hasimir has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 252 seconds]
stevenja_ has joined #pypy
Rhy0lite has quit [Quit: Leaving]
dfee has quit [Ping timeout: 245 seconds]
nunatak has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
marself has quit [Ping timeout: 245 seconds]
marky1991 has quit [Ping timeout: 260 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
jcea has quit [Ping timeout: 245 seconds]
jcea has joined #pypy
jcea has quit [Ping timeout: 245 seconds]
marky1991 has joined #pypy
nunatak has quit [Quit: Leaving]
Taggnostr3 has quit [Remote host closed the connection]
Taggnostr has joined #pypy
lritter has quit [Ping timeout: 245 seconds]
user24 has joined #pypy
user24 has quit [Client Quit]
dfee has joined #pypy
marky1991 has quit [Ping timeout: 252 seconds]
jcea has joined #pypy
oberstet has quit [Ping timeout: 264 seconds]
oberstet has joined #pypy
oberstet has quit [Read error: Connection reset by peer]
wleslie has joined #pypy
oberstet has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
<njs> the reason 'pip install scipy' says 'ImportError: No module named numpy' is that scipy's setup.py actually tries to import numpy while building scipy, which obviously can't work if you haven't installed numpy yet. On CPython this doesn't happen b/c scipy has pre-built wheels, so you just download those instead of building it yourself.
oberstet has quit [Ping timeout: 245 seconds]
<njs> eventually pyproject.toml will fix this by letting scipy tell pip that it needs numpy installed to build, but for now pip is not smart enough to build dependencies specified in pyproject.toml, so this will fail b/c numpy has no pypy wheels on pypi
<njs> the solution to all this is for pypy to fix its abi so that people can reasonably upload wheels :-)
oberstet has joined #pypy
wleslie has quit [Quit: ~~~ Crash in JIT!]
jcea has quit [Remote host closed the connection]
oberstet has quit [Ping timeout: 240 seconds]
jamesaxl has joined #pypy
oberstet has joined #pypy