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
antocuni has quit [Ping timeout: 258 seconds]
<ronan> hmm, _sre shanged a lot in 3.7
<ronan> *changed
<kenaan> rlamy py3.7 c1aa5a9acd68 /lib-python/3/: Partially revert stdlib sre to 3.6 version
<bbot2_> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7651 [ronan: force build, py3.7]
speeder39_ has quit [Quit: Connection closed for inactivity]
speeder39_ has joined #pypy
jcea has joined #pypy
jcea has quit [Quit: jcea]
<bbot2_> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7651 [ronan: force build, py3.7]
mdash has quit [Ping timeout: 276 seconds]
wleslie has quit [Ping timeout: 248 seconds]
tsaka__ has joined #pypy
wleslie has joined #pypy
<mattip> aarch64 passed translation on py3.6, thanks arigato
stillinbeta_ has joined #pypy
stillinbeta has quit [Ping timeout: 252 seconds]
eregon has quit [Ping timeout: 252 seconds]
stillinbeta_ is now known as stillinbeta
eregon has joined #pypy
dddddd has quit [Remote host closed the connection]
speeder39_ has quit [Quit: Connection closed for inactivity]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
tsaka__ has quit [Ping timeout: 245 seconds]
antocuni has joined #pypy
eregon has quit [*.net *.split]
Guest19661 has quit [*.net *.split]
mattip has quit [*.net *.split]
glyph has quit [*.net *.split]
riddle has quit [*.net *.split]
rjarry_ has quit [*.net *.split]
bbot2_ has quit [*.net *.split]
__pv has quit [*.net *.split]
kenaan has quit [*.net *.split]
siddhesh has quit [*.net *.split]
bogner has quit [*.net *.split]
alexge50 has quit [*.net *.split]
iko has quit [*.net *.split]
norox has quit [*.net *.split]
dansan has quit [*.net *.split]
tos9 has quit [*.net *.split]
froztbyte has quit [*.net *.split]
Cheery has quit [*.net *.split]
jerith has quit [*.net *.split]
tazle has quit [*.net *.split]
kipras`away has quit [*.net *.split]
michelp has quit [*.net *.split]
tazle has joined #pypy
norox has joined #pypy
bogner has joined #pypy
eregon has joined #pypy
bbot2 has joined #pypy
riddle has joined #pypy
marvin has joined #pypy
abrown has quit [Remote host closed the connection]
mattip has joined #pypy
marvin is now known as Guest64145
glyph has joined #pypy
alexge50 has joined #pypy
alexge50 has quit [Changing host]
alexge50 has joined #pypy
abrown has joined #pypy
michelp has joined #pypy
antocuni has quit [Ping timeout: 245 seconds]
dansan has joined #pypy
siddhesh has joined #pypy
rjarry has joined #pypy
iko has joined #pypy
__pv has joined #pypy
Cheery has joined #pypy
jerith has joined #pypy
froztbyte has joined #pypy
froztbyte has quit [Changing host]
froztbyte has joined #pypy
kipras`away has joined #pypy
tos9 has joined #pypy
xorAxAx has quit [Quit: Idle timeout reached: 172800s]
<arigato> bonus points for anyone who has got any idea where the RuntimeError is raised
ajlawrence has joined #pypy
<mattip> the offending line is self._ext_to_normal(_getfinalpathname(s))
<arigato> sorry, yes, _getfinalpathname('.') raises RuntimeError for me too
<mattip> putting a pdb just before it, the _getfinalpathname(s)
<mattip> ahh
<arigato> I have no clue at all where inside the source of pypy it comes from
<mattip> I see it in pypy/module/posix/interp_nt.py
<arigato> I see no "RuntimeError" in this file
<arigato> ah wait
<mattip> what happens when it raises a rwin32.lastSavedWindowsError without turning it into a applevel exception?
<arigato> aaaah
<arigato> >>> NotImplementedError.__base__
<arigato> <class 'RuntimeError'>
<arigato> and this file declares a class LLNotImplemented
<arigato> bad idea
<arigato> so that's where it comes from
<arigato> I think it's trying to catch it in interp_posix
<arigato> I'm not surprized it doesn't work in RPython
kenaan has joined #pypy
<kenaan> arigo py3.6 618365170725 /pypy/module/posix/interp_nt.py: Don't make a subclass of NotImplementedError to avoid using NotImplementedError---it's unlikely to work correctly in ...
<mattip> if that is true, then check_GetFinalPathNameByHandle is failing, which means GetFinalPathNameByHandleW is not found
<mattip> but it should be in kernel32.dll
<kenaan> arigo default 2dceead28db5 /rpython/flowspace/: Don't make an RPython subclass of AssertionError or NotImplementedError for the purpose of "catching" it: it would ...
<mattip> there is a test in posix/test/test_nt.py, but that file seems skipped on windows py3.6 builds in the "app-level (-A) tests", and we don't run own tests
<mattip> the test passes untranslated
<arigato> sorry, I'm out of ideas and I don't want to figure out how to translate and debug the source code on windows
<arigato> the GetModuleHandle/dlsym dance seems to work, because it works in interp_time.py
<mattip> ok, maaybe if I have some time I will add some print statements and translate
<arigato> great debugging technique, but yes, thank you
antocuni has joined #pypy
dash_ has joined #pypy
jcea has joined #pypy
dash_ has quit [Quit: leaving]
mdash has joined #pypy
tsaka__ has joined #pypy
Rhy0lite has joined #pypy
xorAxAx has joined #pypy
xorAxAx has quit [Changing host]
xorAxAx has joined #pypy
<xorAxAx> .
<kenaan> rlamy py3.7 66823f138171 /pypy/interpreter/app_main.py: Keep app_main sysflags in sync with sys.flags
<Dejan> considerably fewer errors in 3.7 builds than yesterday :)
<Dejan> good stuff
<ronan> hopefully this build will produce something usable
tsaka__ has quit [Ping timeout: 245 seconds]
<Dejan> Do you guys know if there is a tool similar to git-svn but for mercurial?
<simpson> Dejan: For contributing to PyPy, I'd recommend just learning some hg. It's not *that* bad.
<Dejan> I do not think it is bad, just that I can't bother to learn new VCS - I am one of those lazy devs...
dddddd has joined #pypy
<mattip> arigato: fwiw, I added a bunch of prints in the interp_nt code, and a translation of 618365170725 no longer raises :)
<mattip> so let's see if the nightly build closes the issue
micisuta has quit [Ping timeout: 244 seconds]
micisuta has joined #pypy
<arigato> "ah"
<kenaan> rlamy py3.6 5c433fa743eb /pypy/: Check return type of __prepare__() (bpo-31588)
<kenaan> rlamy py3.6 0587af2ecd65 /pypy/interpreter/pycode.py: Import untested debugging tool pypy.tool.dis3 only when needed
ajlawrence has quit [Remote host closed the connection]
tsaka__ has joined #pypy
lesshaste has joined #pypy
<lesshaste> hi all
<Dejan> ehlo
<lesshaste> what pypy news?
antocuni has quit [Ping timeout: 268 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<Dejan> pypy rox
<Dejan> is pypy using the upstream tests ?
<Dejan> or own test suite ?
<ronan> Dejan: both
<ronan> lesshaste: 3.6 is coming along, and we just opened a 3.7 branch
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<Dejan> so, if i want to keep synced with the upstream, i should make another clone?
marky1991 has joined #pypy
<Dejan> i cloned my bitbucket fork of pypy
<Dejan> but i want to sync periodically with upstream
Rhy0lite has quit [Quit: Leaving]
<Dejan> ok, got it... .hg/hgrc is the answer...
<ronan> Dejan: indeed
<Dejan> [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
<Dejan> I am running the translation for the first time in my life :)
<Dejan> (basically following the guide page)
<Dejan> How up-to-date is that guide?
<ronan> Dejan: the contributing guide should be mostly up-to-date
<Dejan> Once I learn more about the build process I will see how can I cross-compile for aarch64 on my PC...
<Dejan> I assume you guys must support Python 2, right?
<simpson> Yeah, PyPy is self-hosting, using the Python 2 interpreter on RPython.
<Dejan> yeah, i guessed so
andi- has quit [Remote host closed the connection]
<simpson> https://morepypy.blogspot.com/2016/08/pypy-gets-funding-from-mozilla-for.html "PyPy's own position is that PyPy will support Python 2.7 forever---the RPython language in which PyPy is written is a subset of 2.7, and we have no plan to upgrade that."
<simpson> Turns out that the 99% of Python folks wishing for Python 2 to die are kind of silly. They can't tell the difference between Python and CPython.
inhahe_ has quit []
andi- has joined #pypy
<Dejan> that is absolutely fine with me, as long as I can grab 3.x builds :)
<Dejan> question now is - where can i grab a 2.7 aarch64 build?
<Dejan> using CPython for translation is superslow
<Dejan> is it possible to run translation concurrently?
<Dejan> (to use all the cores)
<simpson> Sadly, no.
<Dejan> fair enough
xcm has quit [Remote host closed the connection]
jcea has quit [Remote host closed the connection]
xcm has joined #pypy
<Dejan> i guess i could use rpython instead of python2 on my VPS
<Dejan> mattip, are you there?
<lesshaste> ronan, oh wow.. it really is a rolling target
<lesshaste> ronan, has the numpy work carried on?
<Dejan> mattip, how do you build aarch64
<Dejan> mattip, i hope you are not using CPython 2.7 for that
<lesshaste> it would be great if pypy 3.x builds were available for centos or rhel for example
<lesshaste> currently I can't use it at work
<lesshaste> and they don't support python 2
<Dejan> i use them on fedora
<Dejan> the x86_64 builds
<Dejan> i did not try on CentOS, but I see no reason why they would not work there
<Dejan> i use CentOS on my home workstation, so will check later when I go home
<ronan> lesshaste: we're not doing much on numpy ATM, it just works
<Dejan> ah! so the default branch is actually 2.7, right?
jcea has joined #pypy
<ronan> Dejan: yes
<Dejan> ok, now it is building faster on my aarch64 vps
<Dejan> i think scaleway.com has ThunderX2 ( https://en.wikichip.org/wiki/cavium/thunderx2 ), that is where my 6 vCPU VPS runs
<Dejan> how to disable that fractal output?
<Dejan> :)
<Dejan> anyway, time to go home, see you guys
Dejan has quit [Quit: Leaving]
<ronan> bah, the code for setting frame.f_lineno is broken both on PyPy and on CPython
<ronan> the core issue is that POP_BLOCK/END_FINALLY opcodes can disappear if they happen to be in dead code
<kenaan> rlamy py3.6 f779cb537e5e /pypy/interpreter/: Clean up apptest_pyframe and add a failing test
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 244 seconds]
speeder39_ has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
antocuni has joined #pypy
tsaka__ has quit [Ping timeout: 245 seconds]