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
exarkun has quit [Ping timeout: 260 seconds]
exarkun has joined #pypy
adamholmberg has joined #pypy
<mjacob> amaury: since you were working on the ast builder... let me know if you do more parser work, so we don't end up doing the same (e.g. now i'm implementing PEP 526)
astronav_ has joined #pypy
<amaury> mjacob: No, I was taking some random test failures.
mokos has joined #pypy
<mjacob> amaury: that's what we all do ;) well, there are so many failing tests that the chance of two people doing the same is quite low
pie_ has joined #pypy
<mokos> Hello - does it make the slightest sense, even in purely academic experimentation terms, to create something as demanding as a game engine using pypy ? Not necessarily now but perhaps in some years from now with pypy getting faster and faster ?
astronavt has quit [Ping timeout: 250 seconds]
<pie_> im a bit confused, does pypy use the same binary for python 2 and 3?
<pie_> well that may actually be orthogonal for the moment, i get this error when trying to import pyjq: ImportError: No module named _pyjq
<pie_> im not sure if its a pypy issue or a nixos issue though
astronav_ is now known as astronavt
<amaury> pie_: How did you install it?
<mokos> Anyone ?
<pie_> amaury, the package?
<amaury> yes. For PyPy the _pyjq module needs to be compiled with pypy headers
<pie_> oh
<pie_> well thats probably what i did wrong then
<amaury> mokos: some game engines already work with PyPy. PySDL2 for example
<mokos> Not asking for the scripting part
<mokos> I mean the engine itself
<njs> mokos: lots of popular games are currently written in JITted languages like Javascript, Lua, C#, ...
<njs> mokos: completely written, not just "the scripting part"
<mokos> njs: Really ? Examples ?
<njs> OTOH if you're talking about something like Unreal where the whole point is to push the hardware to the absolute limits, you need absolute latency predictability, etc., then probably not
<pie_> oh it turns out i can just pass pypy to pypi2nix....
<mokos> njs: Examples of games completely written in Pypy ?
<njs> mokos: I don't know of any of those
<pie_> amaury, thanks for the pointer! o/
<simpson> pie_: Hi. Figure out the Nix side of things already?
<amaury> pie_: also IIRC the extension modules are named differently. But "pypy setup.py" should work
<mokos> njs: You said some game engines work with PyPY
<pie_> simpson, oh hey. well not quite probably :P
<njs> mokos: I did not say that, amaury did
<mokos> Oh sorry
<mokos> Misread
<pie_> simpson, do you mean in general or with pypy
<mjacob> mokos: there are a few problems with real-time applications on pypy (all of these are solvable):
<simpson> pie_: I mean with PyPy. In the past, pypyPackages has been pretty good to me.
<mjacob> mokos: one thing is the GC, which is incremental, but in the moment can't guarantee maximum pause times
<mjacob> mokos: another is the JIT, which itself is not the fastest (e.g. due to PyPy's meta-tracing approach) and has a similar problem as the GC
<pie_> simpson, ah i didnt see you in nixos so i kinda forgot you use it or something
<mokos> how can we solve these things ?
<pie_> simpson, well this package isnt in the packages but it looks like pypi2nix accepts -V pypy as an argument so im hopeful
<simpson> pie_: I'm not in #nixos often because it is a noisy and unhelpful channel. I'm in #nixos-dev for chatting about nixpkgs contributions.
<mokos> mjacob: How much work is it to solve these things ?
<pie_> simpson, oh didnt know thats a place
<pie_> anyway, i have to wait for pypy to build probably....it uses a lot of ram too >_>
<mjacob> mokos: it requires good engineering, but noone really convinced us to do the work so far really
<mokos> I want to convince you !
<mjacob> mokos: although if you have a specific problem, we're happy to look into it and solve it
<pie_> simpson, if its called pypy2.7-v5.6.0 will that work with python 3?
<mokos> You offer solving these issues in exchange of a payment ?
<pie_> simpson, afaict theres no python3 version in nixpkgs
citizen_stig has joined #pypy
<simpson> pie_: No, we'll need pypy3Packages.
<pie_> crap :|
<mokos> mjacob: forgot to put you in the question
<mjacob> mokos: the pypy project itself not really... but several people do consulting for pypy
<mjacob> mokos: me for example... however i'm not an expert for these things, so you probably better ask here: https://baroquesoftware.com/
<mokos> mjacob: If you are interested, I don't mind if you are not the best of the best for this
citizen_stig has quit [Ping timeout: 240 seconds]
amaury has quit [Ping timeout: 255 seconds]
<mokos> mjacob: What kind of scope of work we are talking about for these 3 ?
<mjacob> mokos: which 3?
<mokos> mjacob: I mean to achieve a point where it's suitable for real-time applications
antocuni has quit [Ping timeout: 268 seconds]
<mjacob> mokos: it's a lot easier if there's a specific problem we can look into (e.g. a piece of code where the garbage collection or JIT time is excessively high)
<mjacob> mokos: improving the GC and JIT to guarentee (soft) real-time constraints is a lot more work... i'd guess around one man month
<mokos> mjacob: May I pm you ?
<njs> huh, I would have (completely uninformedly) have guessed way higher than 1 person-month for that
<mjacob> mokos: sure
marr has quit [Ping timeout: 240 seconds]
<mjacob> njs: admittedly, since i'm not a GC expert, this was more or less a wild guess
<njs> my guess is totally worthless, I was more expressing surprise than disagreement :-)
<mokos> mjacob: So this task not even on the roadmap of pypy ?
<mjacob> mokos: i think it's on some "open project" list somewhere, but as i said there wasn't enough demand from people asking us to implement it
<mokos> If it's one month or a bit over it, I am happy to fund this
<mjacob> mokos: arigato has a much better idea of how much work it's to implement real-time guarantees in the GC (it might be more than one man month)
<mokos> I can still discuss it but can't guarantee for 3+ months
dddddd has quit [Ping timeout: 248 seconds]
<mokos> btw - why there is no sickit support ?
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
<mjacob> we improved our cpython c api compatibility a lot recently, so it might work better now
<simpson> mokos: scikit-learn? I think that there's not enough community overlap.
<mokos> Alright was just curious
slackyy has quit [Ping timeout: 250 seconds]
<simpson> I mean, another way to look at it: It's because scikit-learn isn't pure portable Python.
citizen_stig has joined #pypy
citizen_stig has quit [Ping timeout: 240 seconds]
citizen_stig has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jcea has quit [Quit: jcea]
<njs> mokos: scikit-learn basically needs numpy, scipy, cython, and at least numpy and cython should work these days, and I guess scipy is in progress (mattip would know the details)
<njs> mokos: so it probably does work, or is on its way to working
<mokos> ok !
citizen_stig has quit [Ping timeout: 276 seconds]
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
_whitelogger has joined #pypy
pilne has quit [Quit: Quitting!]
ArneBab has joined #pypy
ArneBab has joined #pypy
ArneBab_ has quit [Ping timeout: 240 seconds]
exarkun has quit [Ping timeout: 248 seconds]
exarkun has joined #pypy
kolko has quit [Ping timeout: 248 seconds]
kolko has joined #pypy
astronavt has quit [Remote host closed the connection]
citizen_stig has joined #pypy
citizen_stig has quit [Ping timeout: 255 seconds]
<kenaan> mattip buildbot 72eb613d4c3a /bot2/pypybuildbot/builds.py: tweak pypy runtime name when copying
zmt00 has quit [Quit: Leaving]
pie_ has left #pypy ["Leaving"]
<kenaan> fijal unicode-utf8 43e73aa47541 /: merge unicode-utf8-re
<kenaan> fijal unicode-utf8-re bb8932ceb392 /: close merged branch
<kenaan> fijal unicode-utf8 fab58fe43e4c /: merge unicode-utf8-re
kolko_ has joined #pypy
kolko has quit [Ping timeout: 250 seconds]
tayfun has joined #pypy
<LarstiQ> mokos: http://www.duangle.com/nowhere has at some point been written in pypy, though the tech changes
<LarstiQ> mokos: also, what kind of game engine
<kenaan> fijal unicode-utf8 fadafada40af /pypy/module/micronumpy/: fix micronumpy
<LarstiQ> mokos: Age of Wonders has different requirements than Witcher
citizen_stig has joined #pypy
<kenaan> fijal unicode-utf8 8243e781313a /: fix one place and remove done TODO items
<kenaan> fijal unicode-utf8 f7db32ee32c8 /pypy/doc/whatsnew-head.rst: fix whatsnew
citizen_stig has quit [Ping timeout: 276 seconds]
<fijal> now we wait
jacob22__ has quit [Ping timeout: 240 seconds]
jacob22__ has joined #pypy
exarkun has quit [Ping timeout: 260 seconds]
exarkun has joined #pypy
glyph has quit [Quit: End of line.]
glyph_ has joined #pypy
mentalita has quit [Quit: Leaving]
citizen_stig has joined #pypy
glyph_ is now known as glyph
citizen_stig has quit [Ping timeout: 250 seconds]
citizen_stig has joined #pypy
citizen_stig has quit [Ping timeout: 255 seconds]
citizen_stig has joined #pypy
citizen_stig has quit [Ping timeout: 246 seconds]
antocuni has joined #pypy
lritter has joined #pypy
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
citizen_stig has joined #pypy
citizen_stig has quit [Remote host closed the connection]
amaury has joined #pypy
Nizumzen has joined #pypy
amaury has quit [Ping timeout: 268 seconds]
marr has joined #pypy
<fijal> uh what is it
<fijal> mattbillenstein: ?
<fijal> mattip ?
<fijal> why can we no longer see stdio if the run is not completed from the buildbot?
<arigato> the error you point to seems to be that "hg pull" was not done
<arigato> ah no, wait a sec
<arigato> yes, it's only that cfbolz started this build by putting a revision number; then both hg repos (benchmarks and regular pypy) are updated to that revision
<arigato> which gives an error in the first case
<cfbolz> Wait what? I didn't start any builds
<cfbolz> The Nightly scheduler named 'nightly-1-00' triggered this build
<arigato> uh what?
<cfbolz> My name is just there because I wrote that commit?
<arigato> aaaah ok sorry
<arigato> so mattip changes seem to have the effect that the latest revision number is now included in the build properties, and as a result it does "hg up revision" even on the benchmarks repo
<cfbolz> arigato: damn :-)
dddddd has joined #pypy
Jellyg00se has joined #pypy
slackyy has joined #pypy
amaury has joined #pypy
<fijal> can we do something about the fact that benchmark run takes 8h?
<fijal> sorry, 10h
<arigato> note that this number may be wrong (or maybe not) because I don't know if it includes the time spent waiting for other processes to finish on the machine
<arigato> I wouldn't be surprized
<arigato> I think a run translates in parallel with other stuff, and then has to wait for hours before all that other stuff finishes
<fijal> yeah ok
<fijal> but it takes 10h of running
<arigato> ?
<arigato> last one took 9h38 between start to finish, so that number includes all the time spent waiting
<arigato> (which may or may not be zero)
<arigato> do you have a hint showing that there was no waiting?
<arigato> maybe the waterfall display?
<arigato> this one might have really started at 6h02 according to the waterfall
<arigato> ended at 10:27
<arigato> so seems to run for 4h25
<arigato> I think that we're seeing these huge numbers just because the 32 and 64 benchmarks are on the same machine, and the 64 starts just after and so will wait for 4h25
<fijal> ok
<fijal> I see
<fijal> then indeed it's not "that bad"
exarkun has quit [Ping timeout: 248 seconds]
exarkun has joined #pypy
oberstet has joined #pypy
dddddd has quit [Remote host closed the connection]
antocuni has quit [Ping timeout: 250 seconds]
amaury has quit [Quit: Konversation terminated!]
amaury has joined #pypy
amaury has quit [Quit: Konversation terminated!]
mattip_away has joined #pypy
<mattip_away> fijal: fwiw I backed out the change to buildbot that made the hg pull fail
<mattip_away> updated the buildmaster, but waiting to restart for builds to finish
<fijal> Cool
<cfbolz> mattip_away: thanks for your work on the buildbot, it's super important despite being neither fun nor glamorous
<cfbolz> arigato: do we care about the result of cmp(nan, nan)?
jcea has joined #pypy
mattip_away has quit [Remote host closed the connection]
oberstet has quit [Ping timeout: 248 seconds]
<ronan> cfbolz: it doesn't seem to make much sense on cpython, so maybe not?
<cfbolz> ronan: that was my reaction as well
<cfbolz> Should we document it?
<ronan> it wouldn't hurt
<marmoute_> Well, "NaN == Nan → False" is part of the IEEE 754 standard for floating point if I'm not mistaken
<marmoute_> I would -really- recommand to stick to that standard
<ronan> marmoute_: yes, but NaN < NaN and Nan > Nan are also False
<marmoute_> Yes
<marmoute_> Expected
<fijal> marmoute_: (Nan,) == (Nan,) though
<fijal> (in CPython)
<fijal> I know
<cfbolz> marmoute_: of, so what do you suggest to return from cmp?
<fijal> but it's not respected in python
<fijal> not sidely
<fijal> -1
<fijal> that's what cpython returns :)
<marmoute_> fijal: interresting tuple behavior (I can see where this is coming from)
<fijal> I suppose 1 or 0 is as good
<fijal> or 42
<marmoute_> so cpython claim nan is lower than nan when using cmp, but then not deliver when using lower than comparison
<marmoute_> because cmp cannot express that actually, it assume an order.
<marmoute_> Interresting.
<ronan> CPython's behaviour is that cmp(float('nan'), float('nan')) == -1 but nan=float('nan'); cmp(nan, nan) == 0
<marmoute_> wow
* marmoute_ is happy to hve jumped in that discussion
<cfbolz> CPython is also platform dependent, according to some white paper I saw
<ronan> ooh, even nicer!
kirma has quit [Ping timeout: 255 seconds]
vstinner has joined #pypy
<marmoute_> cfbolz: what is your definion of plateform here ? OS or hardware ?
exarkun has quit [Ping timeout: 248 seconds]
<cfbolz> I didn't verify this statement
oberstet has joined #pypy
exarkun has joined #pypy
<cfbolz> ah, I now understand why cmp(nan, nan) == 0 in pypy. it's an effect of "float('nan') is float('nan')"
oberstet has quit [Ping timeout: 268 seconds]
<arigato> cfbolz: yes
<cfbolz> ok, I'll document that
<arigato> there is already some docs about this NaN effect
<arigato> but please mention cmp too, I suppose
<kenaan> cfbolz default 96cf224f204a /pypy/: test and document the cmp(nan, nan) == 0 behaviour
adamholmberg has quit [Remote host closed the connection]
<cfbolz> arigato: yes, just added another sentence
<arigato> thanks
<cfbolz> arigato: is there a way to tell objectmodel.r_dict that the hash function that I give is fast, ie that the dict doesn't need to store the hash in each item?
<cfbolz> I suppose there isn't so far
<arigato> no
<cfbolz> arigato: would that be hard?
<cfbolz> arigato: use case is an rdict that still uses W_Unicode as key, but with a hash and eq that doesn't go through the space
<arigato> indeed
<arigato> no, it's probably not hard to add
<cfbolz> cool, will give it a try then
<arigato> should also not enable the "paranoia" mode of ridct
<arigato> ...rdict
<cfbolz> arigato: what's that doing again?
<arigato> checking for mutations of the dict when doing lookups
<cfbolz> ah, right
<cfbolz> arigato: that needs a flag on the dictdef, right?
<arigato> I think a flag on the r_dict class, to start with, similar to 'force_non_null'
<arigato> but yes, then the same flag on the DictDef
<cfbolz> ok
<cfbolz> I'll give it a try
<cfbolz> arigato: thank you
<arigato> thanks!
antocuni has joined #pypy
<kenaan> rlamy unicode-utf8 09186de461ba /pypy/: Use the same logic for all encoders
<kenaan> cfbolz default d6474db3c19f /rpython/rlib/debug.py: explain how to do mark_dict_non_null on r_dicts
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5144 [ronan: force build, unicode-utf8]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6437 [ronan: force build, unicode-utf8]
Rhy0lite has joined #pypy
mattip has joined #pypy
<mattip> at some point we should refactor build scripts in the buildbot,
<mattip> the buildbot should be calling scripts that run inside the pypy/rpython sources
<mattip> and not complicated steps on the buildbot itself
<mattip> that would make it much easier to update build steps, just fix in the repo w/out restarting the build master
antocuni has quit [Ping timeout: 260 seconds]
<fijal> ronan: I think you just made sure my benchmark run will never finish
<ronan> fijal: oops, it's on the same machine?
<fijal> not sure
<fijal> but the main run did not finish yet
<fijal> (I think it is)
<ronan> I thought we had locks to prevent that situation anyway
<mattip> tannit is running benchmarks, bencher4 is running builds
<fijal> mattip: ok, so why is the morning build not finishing?
<mattip> each takes ~5 hours, they run one after the other
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6437 [ronan: force build, unicode-utf8]
<mattip> from master.py "the locks are acquired with fine grain inside the build"
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/2404 [fijal: force build, unicode-utf8]
<fijal> weeee
adamholmberg has joined #pypy
Rhy0lite has quit [Quit: Leaving]
Rhy0lite has joined #pypy
kirma has joined #pypy
antocuni has joined #pypy
nimaje has quit [Quit: WeeChat 1.9.1]
nimaje has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/2404 [fijal: force build, unicode-utf8]
<fijal> good start
dddddd has joined #pypy
<fijal> of course it runs and does not crash on my build
vstinner has left #pypy [#pypy]
realitix has joined #pypy
antocuni_ has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
tayfun has quit [Remote host closed the connection]
<fijal> (gdb)
<fijal> Program received signal SIGSEGV, Segmentation fault.
<fijal> 0x00007ffff53461ac in pypy_g_W_SRE_Match_new_charindex_tuple () from /home/fijal/.virtualenvs/pypy-utf8/bin/libpypy-c.so
<fijal> arigato: feel like having a look? ;-)
Taggnostr has quit [Remote host closed the connection]
<mattip> fijal: I am reloading buildbot config for changeset 72eb613d4c3a, so that arm can run py3.5
Taggnostr has joined #pypy
<mattip> uhh, seems the pypy-c-jit-linux-x86-64 builder is hung on lib-python -A tests
<mattip> of unicode-utf8
<fijal> mattip: sre broke something
<fijal> it also segfaults on things
* mattip killing the run
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5144 [ronan: force build, unicode-utf8]
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
adamholmberg has quit [Read error: No route to host]
adamholmberg has joined #pypy
mentalita has joined #pypy
<kenaan> cfbolz rdict-fast-hash bd78548cee25 /rpython/: a branch to support fast hash functions with r_dict get as fast as the first test failing
<kenaan> cfbolz rdict-fast-hash cba7d424ef73 /rpython/rtyper/lltypesystem/rordereddict.py: small refactoring: rename ENTRIES.hash to .entry_hash (hash is super hard to grep for), also make it take ...
<kenaan> cfbolz rdict-fast-hash 6a993ce073f5 /rpython/rlib/objectmodel.py: explain what the arguments mean
<kenaan> cfbolz rdict-fast-hash a903e9b5358b /rpython/: thread the fast_hash info through the various layers into the rordereddict implementation
<cfbolz> arigato: seems to work. now I go through the code and look for r_dicts that have fast hash functions, I suppose
<arigato> yes .-)
<cfbolz> I was joking, but it seems there are a few
<fijal> arigato: do you feel like fixing bugs in sre or should I have a look?
<arigato> fijal: I can do that later tonight if you don't come to it first
<fijal> I feel utterly useless today
<fijal> so rather unlikely
oberstet has joined #pypy
<kenaan> cfbolz rdict-fast-hash edf8ee0934a2 /: use fast_hash=True for two r_dicts
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5145 [Carl Friedrich Bolz-Tereick: force build, rdict-fast-hash]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/19 [Carl Friedrich Bolz-Tereick: force build, rdict-fast-hash]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/28 [Carl Friedrich Bolz-Tereick: force build, rdict-fast-hash]
Jellyg00se has quit [Quit: Leaving]
jamesaxl has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5145 [Carl Friedrich Bolz-Tereick: force build, rdict-fast-hash]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-armhf-raspbian/builds/1492 [mattip: test py3.5 on raspberry pi, e30b20325b57]
tbodt has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-armhf-raspbian/builds/1492 [mattip: test py3.5 on raspberry pi, e30b20325b57]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-armhf-raspbian/builds/1493 [mattip: test py3.5 on raspberry pi, py3.5]
realitix has quit [Quit: realitix]
<cfbolz> Shave shave shave
<kenaan> cfbolz rdict-fast-hash abf782e86675 /rpython/rtyper/rdict.py: fix iter*_with_hash
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5146 [Carl Friedrich Bolz-Tereick: force build, rdict-fast-hash]
Rhy0lite has quit [Ping timeout: 248 seconds]
antocuni__ has joined #pypy
antocuni_ has quit [Ping timeout: 268 seconds]
Rhy0lite has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lritter has quit [Ping timeout: 248 seconds]
oberstet has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
epistax has joined #pypy
antocuni__ is now known as antocuni
<antocuni> cfbolz: I'm reading the commits of rdict-fast-hash
<antocuni> I seem to understand that the hash function is supposed to be not only fast, but also "pure"
<antocuni> I'm just wondering whether would be better to use another name
<antocuni> like "trivial_hash" instead of "fast_hash", or something like that
<arigato> and not just the hash btw, but also equality
<cfbolz> OK, suggestions?
<arigato> (at least if you disable "paranoia")
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/28 [Carl Friedrich Bolz-Tereick: force build, rdict-fast-hash]
<arigato> "simple_hash_eq" maybe?
<antocuni> "well_behaving_hash"? :)
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/19 [Carl Friedrich Bolz-Tereick: force build, rdict-fast-hash]
<antocuni> btw: what is the use case for this? I guess dicts whose keys are rpython strings?
<cfbolz> arigato: works for me
<cfbolz> antocuni: no, for rpython strings this happens automatically
<cfbolz> It's for wrapped rpython strings as keys
<epistax> I'm having an issue with pypy and installing the 'cryptography' module on windows. On plain old python 2.7.12 I can pip install cryptography, but pypy can't seem to build the openssl dependency without intervention. A stack overflow post suggestions needing to set up OpenSSL separately so it can be built. Does it make sense that for pypy this is needed but for python it's self contained?
<arigato> or more precisely, W_UnicodeObjects in this case
<antocuni> uhm, and we cannot have a special strategy because you need to keep the character index somewhere?
<arigato> epistax: that could be the case if cryptography is provided as a prebuilt "wheel" binary for CPython
<cfbolz> antocuni: yes, and the length
<antocuni> right
<epistax> arigato: domo. Can I take advantage of that prebuilt wheel then for pypy or do I need to go through with the separate openssl setup?
<arigato> no, the wheels contain binary versions of C extension modules, which need to be recompiled
<arigato> so, sorry
<antocuni> epistax: generally speaking, you don't find binary wheels compatible with PyPy on pypi.python.org (which is the index used by pip)
<antocuni> epistax: there ARE some binary pypy wheels here: https://github.com/antocuni/pypy-wheels
<arigato> antocuni: for windows?
<antocuni> ah sorry
<antocuni> I missed the windows bit
<arigato> :-)
<antocuni> then no :(
amaury has joined #pypy
<Alex_Gaynor> epistax: (cryptography maintainer here); the problem is that PyPy doesn't have a sufficiently stable ABI for us to produce wheels for it. For CPython we can get away with 1 wheel per major release per OS.
tazle has quit [Ping timeout: 264 seconds]
<epistax> antocuni, Alex_Gaynor: Thanks for the infos. I'll import open ssl and give it a shot.
tazle has joined #pypy
<epistax> I wish it didn't want to use Visual Studio 2008 to do this stuff. We have much newer compilers available! Oh well.
<Rotonen> epistax: give libressl a spin if you want to use a newer visual studio?
<arigato> I doubt openssl is the reason?
<epistax> Nah it's not that. I think it's just pypy
antocuni has quit [Ping timeout: 276 seconds]
<epistax> It looks like pypy is only available as a VC9 built 32 bit executable on windows for now.
<mattip> epistax: right, we have not bene able to find a win64 champion. Here is some reading
<epistax> mattip: Thanks. Just big piles of work everywhere!
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nunatak has joined #pypy
<kenaan> amauryfa py3.6 e0f1b581e68d /pypy/module/_io/: Python 3.6 is more strict with deprecated files like 'U+'
<kenaan> amauryfa py3.6 ce0523b30644 /: CPython Issue26482: can pickle recursive deque objects.
tazle has quit [Ping timeout: 250 seconds]
<Rotonen> mattip: i actually do quite a chunk of my workload at $WORK doing pywin32 / cpython 3.5 on both 32bit and 64bit - i'll not promise anything, but that kind of a churn hunt seems preliminarily appealing
tazle has joined #pypy
<mattip> Rotonen: cool. There were various branches to start the work, mostly abandoned
<mattip> "hg branches --closed |grep win64" seems like the last was win64-stage1, there is also 32ptr-on-64bit
<mattip> both are _very_ old
<Rotonen> as a starting point i'll rather build a rickety cardboard castle out of git submodules for the build script and the hack fork of cpython and rather fetch a release source tarball of pypy
<Rotonen> i have no idea why, but over the years i've never managed to get along with mercurial, and i got along just fine with even RCS and CVS :P
<Rotonen> so one would take a cpython 3.5 as the starting point?
<Rotonen> https://stackoverflow.com/questions/9067283/is-there-a-way-to-use-a-mercurial-repository-as-git-submodule <- oh, i could actually even submodule the pypy hg repo, which is nice if there is some back and forth
<Rotonen> now someone find me extra 20h into my weeks :-)
<mattip> Rotonen: there is some IRC discussion where sthalik or sthalik_ started working on this over a few days,
<mattip> starts somewhere around here https://botbot.me/freenode/pypy/msg/85420640
<mattip> but AFAICT that ended in a single pull request to fix the docs
<arigato> note, no, you need a CPython 2.7, because that's used to run translation and pypy is written in Python 2.7
<Rotonen> thank you
zmt00 has joined #pypy
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5146 [Carl Friedrich Bolz-Tereick: force build, rdict-fast-hash]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
<kenaan> cfbolz rdict-fast-hash de9aa6bbf0f7 /: rename the argument to simple_hash_eq, as suggested by antocuni and arigato
amaury has quit [Ping timeout: 268 seconds]
traverseda has joined #pypy
antocuni has joined #pypy
tbodt has joined #pypy
antocuni has quit [Ping timeout: 268 seconds]
jcea has quit [Quit: jcea]
raynold has quit [Quit: Connection closed for inactivity]
Rhy0lite has quit [Quit: Leaving]
jcea has joined #pypy
antocuni has joined #pypy
jamesaxl has quit [Quit: WeeChat 1.9.1]
nunatak has quit [Remote host closed the connection]
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
<glyph> Has compatibility with psycopg2 regressed on pypy3?
<glyph> There are three errors like this
<glyph> psycopg/adapter_datetime.c:103:18: error: no member named 'microseconds' in 'PyDateTime_Delta'
dcrosta has joined #pypy
<kenaan> arigo unicode-utf8 ebaac96d17ab /: Test and fix
amaury has joined #pypy
<kenaan> cfbolz rdict-fast-hash 9c7f18a615ae /pypy/doc/whatsnew-head.rst: document branch
mattip has left #pypy ["bye"]
AndrewBC_ has joined #pypy
jacob22_ has joined #pypy
utek_ has joined #pypy
ArneBab_ has joined #pypy
riddle has quit [Disconnected by services]
bgola_ has joined #pypy
riddle has joined #pypy
kipras is now known as kipras`away
ulope_ has joined #pypy
lukasa_ has joined #pypy
_infinite_ has joined #pypy
Lightsword_ has joined #pypy
antocuni has quit [*.net *.split]
jacob22__ has quit [*.net *.split]
ArneBab has quit [*.net *.split]
AndrewBC has quit [*.net *.split]
michaelgreene has quit [*.net *.split]
lukasa has quit [*.net *.split]
infinite has quit [*.net *.split]
bgola has quit [*.net *.split]
dan- has quit [*.net *.split]
irclogs_io_bot has quit [*.net *.split]
ulope has quit [*.net *.split]
utek has quit [*.net *.split]
Lightsword has quit [*.net *.split]
lukasa_ is now known as lukasa
Lightsword_ is now known as Lightsword
ulope_ is now known as ulope
irclogs_io_bot has joined #pypy
exarkun has quit [Ping timeout: 269 seconds]
danieljabailey has quit [Ping timeout: 240 seconds]
michaelgreene has joined #pypy
antocuni has joined #pypy
tazle has quit [Ping timeout: 260 seconds]
danieljabailey has joined #pypy
exarkun has joined #pypy
dan- has joined #pypy
dan- has quit [Changing host]
dan- has joined #pypy
drolando_ has joined #pypy
drolando has quit [Ping timeout: 255 seconds]
inhahe_ has quit [Ping timeout: 240 seconds]
inhahe_ has joined #pypy
exarkun has quit [Ping timeout: 248 seconds]
exarkun has joined #pypy
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kenaan> amauryfa py3.6 5b8174a4dd1d /lib_pypy/_decimal.py: Add Decimal.as_integer_ratio()
<kenaan> amauryfa py3.6 51f3350c4b8b /rpython/rlib/rstruct/: Add support for half floats in the RPython rstruct module.
<kenaan> amauryfa py3.6 abab5c6e2946 /pypy/module/struct/test/test_struct.py: Check that the 'e' format works in the struct module.
<kenaan> amauryfa py3.6 4fc91603abd7 /pypy/: Match CPython exception for bad lineno or col_offset: always ValueError.
dcrosta has joined #pypy
tazle has joined #pypy
<cfbolz> amaury: the rstruct work should go to default too, right?
<amaury> yes. If py3.6 struct tests pass I will do it
<cfbolz> Cool
<amaury> s/if/when/
mokos has quit [Read error: Connection reset by peer]
drolando_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
drolando_ has joined #pypy
drolando has quit [Ping timeout: 240 seconds]
astronavt has joined #pypy
LarstiQ has quit [Ping timeout: 240 seconds]
LarstiQ has joined #pypy
exarkun has quit [Read error: Connection reset by peer]
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
exarkun has joined #pypy
webmeister has quit [Ping timeout: 258 seconds]
sbauman has quit [Ping timeout: 258 seconds]
_kcr has quit [Ping timeout: 258 seconds]
samth has quit [Ping timeout: 258 seconds]
fijal has quit [Ping timeout: 258 seconds]
tumbleweed has quit [Ping timeout: 258 seconds]
pchiusano has quit [Ping timeout: 258 seconds]
igitoor_ has quit [Ping timeout: 258 seconds]
Hodgestar has quit [Ping timeout: 258 seconds]
igitoor has joined #pypy
_kcr has joined #pypy
tumbleweed has joined #pypy
tumbleweed has quit [Changing host]
tumbleweed has joined #pypy
tormoz has quit [Read error: Connection reset by peer]
Hodgestar has joined #pypy
sbauman has joined #pypy
pchiusano has joined #pypy
fijal has joined #pypy
samth has joined #pypy