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
adamholmberg has quit [Ping timeout: 244 seconds]
dddddd has quit [Ping timeout: 272 seconds]
dddddd has joined #pypy
ulope has quit [Ping timeout: 244 seconds]
ulope has joined #pypy
dstufft has quit [Excess Flood]
dstufft has joined #pypy
dddddd has quit [Remote host closed the connection]
Garen has quit [Ping timeout: 272 seconds]
Garen has joined #pypy
nopf_ has quit [Remote host closed the connection]
danchr has quit [Ping timeout: 252 seconds]
forgottenone has quit [Quit: Konversation terminated!]
ronan has quit [Quit: Ex-Chat]
pjenvey has quit [Read error: Connection reset by peer]
pjenvey has joined #pypy
danchr has joined #pypy
tayfun26 has joined #pypy
Garen has quit [Ping timeout: 244 seconds]
Garen has joined #pypy
realitix has joined #pypy
forgottenone has joined #pypy
forgottenone has quit [Ping timeout: 244 seconds]
antocuni has joined #pypy
antocuni has quit [Ping timeout: 268 seconds]
dddddd has joined #pypy
arigato has joined #pypy
forgottenone has joined #pypy
arigato has quit [Quit: Leaving]
marky1991 has joined #pypy
lritter has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
antocuni has joined #pypy
Rhy0lite has joined #pypy
adamholmberg has joined #pypy
TheAdversary has quit [Ping timeout: 244 seconds]
Hasimir has quit [Ping timeout: 276 seconds]
Hasimir has joined #pypy
Khayman has joined #pypy
Hasimir has quit [Ping timeout: 252 seconds]
Khayman is now known as Hasimir
TheAdversary has joined #pypy
jcea has joined #pypy
Hasimir has quit [Remote host closed the connection]
Hasimir has joined #pypy
Hasimir has quit [Remote host closed the connection]
Hasimir has joined #pypy
Hasimir has quit [Ping timeout: 252 seconds]
TheAdversary has quit [Ping timeout: 268 seconds]
TheAdversary has joined #pypy
Hasimir has joined #pypy
tayfun26 has quit [Quit: tayfun26]
dstufft has quit [Excess Flood]
dstufft has joined #pypy
realitix has quit [Ping timeout: 264 seconds]
realitix has joined #pypy
realitix has quit [Client Quit]
realitix has joined #pypy
redj has quit [Quit: No Ping reply in 180 seconds.]
redj has joined #pypy
pf_moore has joined #pypy
realitix has quit [Quit: realitix]
TheAdversary has quit [Disconnected by services]
Khayman has joined #pypy
TheAdversary has joined #pypy
Hasimir has quit [Ping timeout: 268 seconds]
Khayman is now known as Hasimir
antocuni has quit [Ping timeout: 244 seconds]
ThomasWaldmann has joined #pypy
<ThomasWaldmann> moin :)
<ThomasWaldmann> https://github.com/moinwiki/moin/pull/594 having some strange fails on pypy (latest release, 2.7) that are not there on cpython.
moei has quit [Quit: Leaving...]
<ThomasWaldmann> https://travis-ci.com/moinwiki/moin/jobs/142273260#L871 that one maps .txt to text/x-typoscript (not text/plain)
<LarstiQ> I guess pytest --pdb to dig a bit what happens?
heinrich5991 has quit [Quit: quit.]
* ThomasWaldmann tries. btw, the "latest release" referred to my laptop, didn't look yet what travis has.
heinrich5991 has joined #pypy
<ThomasWaldmann> the mimetype issue is not present on a pure stdlib mimetypes instance, but in moin, we add more stuff from pygments to the mimetypes map. guess it must be accidentally right on cpython, but wrong on pypy, due to different directory items order.
* ThomasWaldmann added a sorted() to see if it then succeeds/fails on both pythons in the same way
antocuni has joined #pypy
speeder39 has joined #pypy
<ThomasWaldmann> strange, still different
<ThomasWaldmann> btw, is there a way to get same dict/set ordering on pypy2 as on cpython 2.7?
<ThomasWaldmann> (we have some slightly crappy tests that fall over that)
Rhy0lite has quit [Quit: Leaving]
<antocuni> ThomasWaldmann: change the tests? :)
<ThomasWaldmann> antocuni: i saw that coming :)
<antocuni> Even on CPython ordering is not guaranteed among runs
<antocuni> if you always get the same order it's just by chance
<ThomasWaldmann> somehow it had worked. with tox i needed PYTHONRANDOMSEED = 0, but before that not even that.
<antocuni> probably because for some reason your objects are always allocated at similar addresses
<antocuni> but really, before 3.6 ordering is not guaranteed at all, so if your tests depend on it they are broken
<nedbat> i think on python 2, the ordering will always be the same, since it is based on the hash of the objects, so long as the random seed is the same. But it was never promised.
* ThomasWaldmann filed a bug about the pygments issue btw.
<ThomasWaldmann> yeah
<antocuni> nedbat: the hash of instances depends on the address (i.e., the return value of id()); so it depends on the memory allocator
<nedbat> antocuni: equal objects need to hash equally, so the hash can't depend on the id()
<antocuni> the default __eq__ returns "x is y" :)
<nedbat> antocuni: ok, but strings don't do that
<antocuni> oh, I missed the point in which we said we were talking about dict-only strings; maybe in the logs, sorry for that then
<antocuni> that said, the exact order depends on low level implementation details of dicts; maybe they didn't change so often (or never!), but I'd say it's a really bad practice to depend on it
<antocuni> dict order is not guaranteed in Python < 3.6, just live with it and code consequently
<nedbat> i agree it is bad to depend on it
jacob22__ has joined #pypy
forgottenone has quit [Remote host closed the connection]
antocuni has quit [Ping timeout: 245 seconds]
moei has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
shodan45 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
adamholmberg has quit [Ping timeout: 252 seconds]
<_habnabit> so if i want to write a VM of some sort, is there a reason to choose pypy over llvm or vice versa? also: does it matter if it's, say, emulating the PPC ISA
adamholmberg has joined #pypy
shodan45 has joined #pypy
pf_moore has quit [Quit: Connection closed for inactivity]