john51 has quit [Ping timeout: 240 seconds]
Taggnostr has quit [Ping timeout: 240 seconds]
Taggnostr has joined #pypy
john51 has joined #pypy
oberstet3 has joined #pypy
oberstet2 has quit [Ping timeout: 240 seconds]
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 240 seconds]
stryngs has joined #pypy
<stryngs> .0.0
<stryngs> Interested
<stryngs> Interesting rather
<stryngs> ne1 here now? Had a question about pypy
<simpson> stryngs: Sure.
<stryngs> Is there a reason my default python path isn't the same for pypy?
<stryngs> i.e. I'm trying to import stuff, but the expected paths aren't in sys.path
<stryngs> obviously... I can workaround this, just curious to know why it's setup that way
<stryngs> I'm very excited about pypy right now
<stryngs> Randomly came across it trying to speed up something
<simpson> Normally I use virtualenv with PyPy.
<simpson> So I don't have to mess with paths.
<stryngs> Ah
<stryngs> Yeah, never messed with virtualenv =)
<stryngs> I'm brave and just pip it up, etc..
<stryngs> I should learn virtualenv
<stryngs> Ok, no worries, I'll make this quick mod to sys.path and go from there
vkirilichev has joined #pypy
cfbolz has quit []
cfbolz has joined #pypy
inglesp has quit []
inglesp has joined #pypy
jcea has quit [Quit: jcea]
oberstet2 has joined #pypy
oberstet3 has quit [Ping timeout: 240 seconds]
pilne has quit [Quit: Quitting!]
vkirilichev has quit [Ping timeout: 240 seconds]
inhahe_ has quit []
jamadden has quit [Quit: Leaving.]
jamadden has joined #pypy
inhahe_ has joined #pypy
ArneBab_ has joined #pypy
ArneBab has quit [Ping timeout: 240 seconds]
lritter has joined #pypy
yuyichao has joined #pypy
tilgovi has joined #pypy
__main__ has quit [Read error: Connection reset by peer]
__main__ has joined #pypy
<o11c> stryngs: it's a *bad* idea to use the same path for pypy as for cpython
<o11c> stryngs: in fact, I wish vanilla pypy did what Debian does, and force the --user directory to be distinct
<o11c> (I've actually patched my local pypy to do this)
<sthalik> how to redo building object files from C after pypy is built?
* sthalik is looking for win64
<sthalik> i'd rather not do everything again, given that specializing takes an awful amount of time
<o11c> well, you *have* to rebuild your C stuff anyway
<o11c> since even the parts of the CPython API that pypy implements are only *source* compatible, not binary compatible
<simpson> o11c: I think that sthalik is doing Win64 experiments on PyPy itself.
<simpson> I don't know the answer, sadly.
<sthalik> ah it's there -- c:\Users\sthalik\AppData\Local\Temp\1\usession-default-6\testing_1\
<o11c> simpson: I was thinking C extensions?
<o11c> sthalik: anyway, if you installed your stuff in a sane-ish way, distutils (via pip) *should* be able to find all the stuff again ...
<o11c> sthalik: personally, if I ever have to use Windows, I do everything via cygwin
<o11c> that was before WSL though
<sthalik> o11c, no. i'm translating and adjusting compile-time options to catch the improper "long" usage on LLP64
<o11c> compile-time options for *what*?
<dash> o11c: for building pypy
<simpson> o11c: PyPy doesn't currently do Win64, for reasons.
<stryngs> o11c: Interesting.
<stryngs> o11c: After some simple testing with pypy, I like it, a lot.
<stryngs> I can truly say it speeds up some aspects of python
<stryngs> I'd love to have some help with another module though in due time.
<stryngs> Is this a fairly active channel?
<simpson> stryngs: Yes, but only during certain time zones.
<stryngs> Cool =)
<stryngs> I've done some interesting work with Scapy and TCP seq/ack race conditions
<stryngs> pypy seems to be the way to make Python useful for this
<stryngs> Currently I lag behind by about on average 1/10th of a second
<stryngs> After seeing pypy speed up signifcantly some core functions for scapy it gives me hope =)
<sthalik> o11c, adding a fatal warning so that pointer truncation makes cl.exe die
<sthalik> simpson, i talked about it, and it looks low-hanging enough
<simpson> sthalik: Nice!
<sthalik> also i wonder why they use dynamic CRT
<sthalik> i never do it
<sthalik> but bah, once i started linking in Intel IPP, it doesn't have LTO symbols
<sthalik> so pruning doesn't work
<sthalik> strange though, given windows libraries always have relocations, basic pruning doesn't need LTO object files -- in theory
<sthalik> one can go over which relocations are used by what
jamadden has quit [Quit: Leaving.]
tilgovi has quit [Quit: No Ping reply in 180 seconds.]
tilgovi has joined #pypy
vkirilichev has joined #pypy
jamadden has joined #pypy
jamadden has quit [Client Quit]
amaury has joined #pypy
Tiberium has joined #pypy
vkirilichev has quit [Remote host closed the connection]
tilgovi has quit [Remote host closed the connection]
tilgovi has joined #pypy
tilgovi_ has joined #pypy
tilgovi has quit [Ping timeout: 240 seconds]
Tiberium has quit [Remote host closed the connection]
mattip_ has joined #pypy
<mattip_> here's a strange one, the test translator.c.test.test_backendoptimized.py takes ~400 secs on linux,
<mattip_> but over 2400 secs on win32
<mattip_> likewise test_genc.py takes 200 on linux, 1300 on win32
<mattip_> this is looking at the stdio logfile from the latest own test runs
<mattip_> these tests explain much of why win32 own tests require ~12 hours total (split between two cores)
<mattip_> and linux about 5 hours total (split between 4 cores)
mattip_ has quit [Quit: Page closed]
<sthalik> mattip_, hi
<sthalik> mattip, please privmsg me, i have a think for you
realitix has joined #pypy
amaury has quit [Ping timeout: 240 seconds]
amaury has joined #pypy
oberstet2 has quit [Ping timeout: 240 seconds]
vkirilichev has joined #pypy
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
ctismer has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
tilgovi_ has quit [Quit: No Ping reply in 180 seconds.]
ctismer has joined #pypy
tilgovi has joined #pypy
oberstet2 has joined #pypy
amaury has quit [Ping timeout: 240 seconds]
tilgovi has quit [Ping timeout: 246 seconds]
marr has joined #pypy
jcea has joined #pypy
arigato has joined #pypy
<sthalik> why is it that llvm port failed? i recall one of you, fijal or arigato, saying it was very hard
jamesaxl has joined #pypy
<arigato> which one? we tries 5-6 times to use llvm for various things
<sthalik> arigato, it was... a longer time ago. is there a particular reason the attempts failed?
<sthalik> i haven't been here in a longer while
<arigato> the firs was as a translation target, generating llvm instead of C
<sthalik> that was a good idea IMO, given LLVM has jit and AOT
<arigato> it was long ago, there were various problems, and then clang became mature and there was no point any more
<sthalik> also, libclang has its own IR
<sthalik> oh... yes, you generate C syntax
<sthalik> i'm working right now on win64 but it's all interesting
<arigato> if you're talking about the JIT, it's a different attempt
<LarstiQ> sthalik: LLVM has traditionally not been a good fit for dynamic languages iirc
<LarstiQ> but surely arigato can answer any questions better than I can
<arigato> yes, llvm has grown only recently some real support that we could use
<arigato> things like stackmaps
<arigato> and patch points
<sthalik> LarstiQ, there's some barebones impl of stack walking, and it has many useful attributes like no-aliasing, that could be good as an extension decorator. also, it very likely has a better register allocator and control flow strategies...
<arigato> however, based on the previous 5 experiences, we're unlikely to invest time in trying it out and only later find out that something essential is still missing
<LarstiQ> sthalik: theory met practice, and it didn't work
<arigato> at this point, anyone is welcome to try to do it
<arigato> just not us :-)
<arigato> there's a good reason for why we're wary, too
<arigato> it's that other people tried and failed
antocuni has joined #pypy
cstratak has joined #pypy
jcea has quit [Quit: jcea]
amaury has joined #pypy
jcea has joined #pypy
<realitix> Hello arigato, is it your job to work on pypy ? or in your sparse time ?
<arigato> hi. it's my job
<arigato> (as a freelancer)
<realitix> nice! I though you were working in an university as a researcher. How are you making money with Pypy ? Are you selling support ?
<arigato> no, this year it's Mozilla paying for Python 3.x
<arigato> in general, we're funded by big companies paying some money
<realitix> You must be proud to live from your own opensource software, it's not easy !
<arigato> plus the donations from everybody, which more or less works (but it's also big companies making the biggest donations...)
<arigato> yes :-)
<sthalik> how hard is dealing with pyqt/pyside?
<arigato> sthalik: you need to try it again. last time we did, cpyext was not up to the task, but that may well have changed
<arigato> (as far as I remember, and I may be wrong in any part of that sentence)
amaury has quit [Ping timeout: 240 seconds]
<realitix> arigato: just to signal you, on your website (http://baroquesoftware.com), in the Service section, the "subscription plans" link is not working (tested on firefox and chrome)
<sthalik> it's not hard in itself to write compatible bindings -- qt has an API for dynamic parsing of UI designer, et al
<sthalik> i expect it comparable to gobject
<arigato> fijal: ^^ broken link in baroquesoftware.com
amaury has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
arigato has quit [Read error: Connection reset by peer]
lritter has quit [Remote host closed the connection]
oberstet2 is now known as oberstet
amaury has quit [Ping timeout: 255 seconds]
inglesp has left #pypy [#pypy]
antocuni has quit [Ping timeout: 240 seconds]
oberstet2 has joined #pypy
oberstet has quit [Ping timeout: 255 seconds]
jamadden has joined #pypy
oberstet2 has quit [Quit: Leaving]
[0__0] has quit [Ping timeout: 240 seconds]
oberstet has joined #pypy
[0__0] has joined #pypy
amaury has joined #pypy
<fijal> arigato yeah the text should be removed
antocuni has joined #pypy
amaury has quit [Ping timeout: 240 seconds]
Tiberium has joined #pypy
<fijal> plan_rich_: ping?
Tiberium_ has joined #pypy
Rhy0lite has joined #pypy
Tiberium has quit [Ping timeout: 255 seconds]
Tiberium_ has quit [Ping timeout: 272 seconds]
yuyichao has quit [Ping timeout: 272 seconds]
ArneBab_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
ArneBab has joined #pypy
ArneBab has joined #pypy
ArneBab has quit [Changing host]
yuyichao has joined #pypy
altendky has joined #pypy
Kronuz has quit [Quit: I'll be back...]
Kronuz has joined #pypy
vkirilic_ has joined #pypy
vkirilichev has quit [Ping timeout: 255 seconds]
sthalik has quit [Quit: Lost terminal]
sthalik has joined #pypy
<kenaan> antocuni faster-rstruct-2 bc449c2983bb /: polish things a bit: rename rlist.make_LIST into LIST_OF, and use it everywhere instead of the ugly _Re...
arigato has joined #pypy
Kronuz has quit [Quit: I'll be back...]
Kronuz has joined #pypy
Tiberium has joined #pypy
Kronuz has quit [Quit: I'll be back...]
Tiberium has quit [Remote host closed the connection]
Tiberium has joined #pypy
Kronuz has joined #pypy
cstratak has quit [Ping timeout: 240 seconds]
Tiberium has quit [Remote host closed the connection]
<kenaan> arigo cffi/cffi cc66a9e5ae92 /: Issue 314 Fix the line numbers by discovering that ``# NUMBER "LINE"`` is supported by pycparser and using it.
cstratak has joined #pypy
Tiberium has joined #pypy
Tiberium has quit [Remote host closed the connection]
Tiberium has joined #pypy
Tiberium has quit [Remote host closed the connection]
Tiberium has joined #pypy
Tiberium has quit [Remote host closed the connection]
Tiberium has joined #pypy
cstratak_ has joined #pypy
cstratak has quit [Ping timeout: 240 seconds]
q4 has joined #pypy
<kenaan> arigo cffi/cffi a772dd1ab09f /: Try to systematically include the line number
<mattip> hi
<arigato> hi
<mattip> arigato: as a cherry on top, it would be nice if ffi.compile(verbose=True) would print the directory used for compilation
<arigato> hum
<Cheery> what are you working on?
<arigato> mattip: ffi.compile() should not issue any os.chdir()
<mattip> on windows it is not clear which TEMP, TMP, or pwd() is being used always
<arigato> ok, wrong, it does
<arigato> mattip: note that ffi.compile(verbose=True) without any more arguments does not do os.chdir()
<arigato> ffi.compile(tmpdir='foo') will issue os.chdir('foo')
<mattip> right, so without verbose it is os.getcwd(), which may not be next to the build script at all, depending on
<mattip> how python was run
vkirilic_ has quit [Remote host closed the connection]
<arigato> ok, I can do that
<mattip> esp if it is run in a Popen(sys.executable, ...)
<mattip> s/verbose/tmpdir/
<mattip> sorry
<arigato> well, without verbose=True, it will not print anything anyway
<mattip> :)
<kenaan> arigo cffi/cffi f1bd1d88c018 /cffi/recompiler.py: Print the current directory (or the value tmpdir if explicit) in ffi.compile(verbose=True).
<mattip> thanks
<arigato> np
<arigato> I had a fight with cffi embedding on Windows the other day
<arigato> it's hard to get started because stderr goes nowhere
<mattip> anything that should be added to the docs?
<arigato> about f1bd1d88c018? not sure
jcea1 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
jcea has quit [Read error: Connection reset by peer]
jcea1 is now known as jcea
adamholmberg has joined #pypy
realitix has quit [Ping timeout: 255 seconds]
<mattip> about embedding on windows, stderr, and more examples of real life code
adamholmberg has quit [Ping timeout: 272 seconds]
adamholmberg has joined #pypy
<kenaan> antocuni faster-rstruct-2 f01cd8ba4297 /rpython/rlib/: add rlib.buffer.RawBuffer, which automatically implements typed_read in terms of get_raw_address
<kenaan> antocuni faster-rstruct-2 a5ddf413daad /pypy/module/: use the new RawBuffer as a base class for ArrayBuffer: as a consequence, now it automatically gets the ...
<kenaan> antocuni faster-rstruct-2 5bd9b59fb003 /pypy/module/: use RawBuffer for all the various raw-memory backed buffers we have
<kenaan> arigo cffi/cffi bac0dd1b86f9 /cffi/recompiler.py: Py3 compat
pilne has joined #pypy
arigo has joined #pypy
stevi3 has joined #pypy
<stevi3> hi
<mattip> I found a difference with cpython and ioctl calls, i.e. this code is very popular for finding terminal width
<mattip> fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234'))
<mattip> searching for that string on google has many hits
<mattip> on cpython it does not overflow the '1234' buffer, even though the call takes 4 shorts (8 bytes)
<mattip> since cpython protects itself with an intermediate buffer
<mattip> on pypy we happily do the unbuffered call and overflow the input
<mattip> (found via running valgrind on pypy + pandas)
<kenaan> antocuni faster-rstruct-2 402336bdaae0 /: rpython fix
<kenaan> antocuni faster-rstruct-2 a3879489f4b4 /pypy/module/: more rpython fix
amaury has joined #pypy
antocuni has quit [Ping timeout: 260 seconds]
cstratak_ has quit [Quit: Leaving]
q4 has quit [Ping timeout: 240 seconds]
<kenaan> mattip default 31566fa18b67 /pypy/module/cpyext/tupleobject.py: rename harmless copy-paste
<kenaan> mattip default b48484eba9d0 /: fix table wrapping, from rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html
vkirilichev has joined #pypy
cjwelborn has quit [Remote host closed the connection]
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
amaury has quit [Ping timeout: 240 seconds]
oberstet has quit [Ping timeout: 260 seconds]
kirma has quit [Ping timeout: 240 seconds]
kirma has joined #pypy
realitix has joined #pypy
<mattip> that didn't work
<kenaan> mattip default 90fb9edb78c5 /: back out b48484eba9d0, readthedocs is messed up
realitix has quit [Quit: Leaving]
vkirilichev has quit [Remote host closed the connection]
<o11c> sthalik: there's nothing special about LLVM at *all*
<o11c> sthalik: it just has Apple's marketing team behind it, so everyone is convinced it's something special
antocuni has joined #pypy
antocuni has quit [Ping timeout: 264 seconds]
cstratak has joined #pypy
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 260 seconds]
Rhy0lite has quit [Quit: Leaving]
arigo has quit [Read error: Connection reset by peer]
antocuni has joined #pypy
<kenaan> antocuni faster-rstruct-2 7a021235c44a /rpython/: kill rlib/strstorage.py since it is no longer needed: the only place where it was still used was in the...
Mengyuan has joined #pypy
cstratak has quit [Ping timeout: 260 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/5172 [antocuni: force build, faster-rstruct-2]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/5920 [antocuni: force build, faster-rstruct-2]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/3933 [antocuni: force build, faster-rstruct-2]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/4596 [antocuni: force build, faster-rstruct-2]
antocuni has quit [Ping timeout: 240 seconds]
Tiberium has quit [Remote host closed the connection]
vkirilichev has joined #pypy
Mengyuan has left #pypy ["rcirc on GNU Emacs 24.5.1"]
demonimin has quit [Ping timeout: 240 seconds]
<stryngs> Was wondering if someone can help me out with this error: http://termbin.com/v2qm
kipras`away is now known as kipras
<simpson> stryngs: PyPy isn't binary-compatible with CPython, so you won't be able to reused native modules that way. Instead, make a virtualenv with PyPy and then install those packages into the virtualenv.
<stryngs> simpson: what's the diff between virtualenv and non virtualenv if i install them the same way
<stryngs> Or are you saying something like pypy setup.py build
<simpson> stryngs: I'm saying $(virtualenv -p path/to/your/pypy your-awesome-pypy-virtualenv) and then $(your-awesome-pypy-virtualenv/bin/pip install Twisted) or whatever.
<stryngs> Hmm, ok
antocuni has joined #pypy
<stryngs> simpson: heh, it worked
<stryngs> simpson: Not the virtualenv, but my workaround
<stryngs> simpson: Not familiar with virtualenv per se =)
<stryngs> simpson: Definitely gunna have to learn it though
<simpson> stryngs: It's pretty essential for Python development at this point.
<stryngs> simpson: Yeah, considering the bulk of my work revolves around Python I definitely need to learn it
<stryngs> For now, i'm just trying to get this workaround done.
<stryngs> simpson: Any good recommended tutorials on virtualenv?
<simpson> stryngs: Their docs are pretty good. You make a virtualenv, and then you only call binaries from that virtualenv.
<stryngs> Alright, I'll check out their docs and proceed from there =)
arigato has quit [Quit: Leaving]
oberstet has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/4596 [antocuni: force build, faster-rstruct-2]
nimaje has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/5920 [antocuni: force build, faster-rstruct-2]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/3933 [antocuni: force build, faster-rstruct-2]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/5172 [antocuni: force build, faster-rstruct-2]
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
tormoz 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
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
<stryngs> simpson: Another one for ya; http://termbin.com/pppi
adamholmberg has joined #pypy
<stryngs> simpson: Trying to troubleshoot it myself
<simpson> stryngs: I'd check the setsockopt man page.
demonimin has joined #pypy
demonimin 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
stevi3 has quit [Quit: Connection closed for inactivity]
adamholmberg has quit [Ping timeout: 264 seconds]
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
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
Rhy0lite has joined #pypy
adamholmberg has quit [Ping timeout: 255 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
kipras is now known as kipras`away
adamholmberg has quit [Ping timeout: 240 seconds]
vkirilichev has quit [Remote host closed the connection]
<kenaan> antocuni faster-rstruct-2 1bb9b4819612 /rpython/rlib/: add rlib.Buffer.typed_read, and implement it for RawBuffer
<kenaan> antocuni faster-rstruct-2 ac79316e004f /rpython/rlib/: add MutableStringBuffer, which will be used by struct.pack to incrementally build the desired string
Taggnostr has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
Taggnostr has joined #pypy
adamholmberg has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
cjwelborn has joined #pypy
vkirilichev has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
vkirilichev has quit [Ping timeout: 260 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 255 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy