cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
<kenaan>
antocuni hpy 69e48dfcbf9c /pypy/module/hpy_universal/state.py: the JIT doesn't like the casts from FUNCPTR to VOIDP, so hide this function from it
<cfbolz>
squeaky_pl: doesn't look like a huge win to me, right?
<squeaky_pl>
yes, it does not. just saying i actually checked
<squeaky_pl>
it was also linking for foreeeeever
<cfbolz>
squeaky_pl: that's the fault of LTO, i assume?
<squeaky_pl>
Probably, I would need to check apart
ronan__ has joined #pypy
ronan__ has quit [Remote host closed the connection]
ronan__ has joined #pypy
ronan has quit [Ping timeout: 265 seconds]
ronan has joined #pypy
ronan has quit [Remote host closed the connection]
ronan has joined #pypy
ronan__ has quit [Ping timeout: 240 seconds]
ronan__ has joined #pypy
ronan__ has quit [Remote host closed the connection]
ronan__ has joined #pypy
ronan has quit [Ping timeout: 265 seconds]
<mattip_>
squeaky_pl: do you understand what "pip install" is doing in issue 3118?
<mattip_>
why is '..' becoming b'..' ?
dddddd has joined #pypy
squeaky_pl has quit [Ping timeout: 265 seconds]
_whitelogger has joined #pypy
<kenaan>
arigo hpy 44e3a984eb36 /pypy/module/hpy_universal/: (antocuni, ronan, arigo) More general progress
ronan__ has quit [Ping timeout: 240 seconds]
squeaky_pl has joined #pypy
<squeaky_pl>
mattip_, sorry I was afk, I don't. I was just trying pyperformance on pypy and it tries to install this version of mercurial which triggers this problem.
marky1991_2 has joined #pypy
marky1991_2 has quit [Remote host closed the connection]
marky1991_2 has joined #pypy
marky1991_2 has quit [Read error: Connection reset by peer]
<mattip_>
squeaky_pl: it seems to be running python in some strange mode
squeaky_ has joined #pypy
squeaky_pl has quit [Ping timeout: 240 seconds]
CrazyPython has joined #pypy
squeaky_pl has joined #pypy
squeaky_ has quit [Ping timeout: 276 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
squeaky_ has joined #pypy
squeaky_pl has quit [Ping timeout: 246 seconds]
jcea has joined #pypy
squeaky_ has quit [Quit: Leaving]
CrazyPython has quit [Ping timeout: 252 seconds]
ronan has joined #pypy
lritter has quit [Quit: Leaving]
ronan__ has joined #pypy
ronan has quit [Ping timeout: 265 seconds]
<kenaan>
arigo default 37894e68890d /: Revert 18443d3a74d5: the branch int-test-is-zero is maybe a nice idea but it doesn't really work. E.g. when we wri...
ronan has joined #pypy
ronan__ has quit [Ping timeout: 276 seconds]
jvesely has joined #pypy
ronan has quit [Remote host closed the connection]
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
ronan__ has joined #pypy
ronan has quit [Ping timeout: 276 seconds]
CrazyPython has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
ronan has joined #pypy
ronan__ has quit [Ping timeout: 265 seconds]
CrazyPython has quit []
Ashleee has quit [Ping timeout: 268 seconds]
Ashleee has joined #pypy
ronan__ has joined #pypy
ronan has quit [Ping timeout: 240 seconds]
ronan has joined #pypy
ronan has quit [Remote host closed the connection]
ronan has joined #pypy
ronan__ has quit [Ping timeout: 240 seconds]
ronan__ has joined #pypy
ronan__ has quit [Read error: Connection reset by peer]
ronan__ has joined #pypy
ronan has quit [Ping timeout: 276 seconds]
kingsley has joined #pypy
<kingsley>
Could a fork of pypy use machine learning to understand and refactor python source code?
<simpson>
Let's split that into three pieces.
<simpson>
Does it have to be a fork of PyPy? It could probably be any Python interpreter. PyPy goes fast. Why would we need to fork it?
<simpson>
Using machine learning for compilation techniques is an interesting idea. But do you have a specific plan for how that would work?
<simpson>
Finally, to understand source code is really hard, but maybe that's not needed; maybe all you need is the ability to recognize a context. There are semantic patching tools in/for other languages; maybe those have been adapted for Python somewhere.
<simpson>
Hm, "coccinelle for python" is mostly turning up attempts to run Coccinelle itself on CPython, rather than reimplementations of the concept to operate on Python. I know that there's the `rope` library, but I've not really had success with it before, and of course the `ast` builtin module, if you're okay with AST-level operations.