arigato 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 | mac OS and Fedora are not Windows
stillinbeta_ has joined #pypy
cfbolz_ has joined #pypy
EWDurbin_ has joined #pypy
cadr_ has joined #pypy
dustinm- has joined #pypy
__pv_ has joined #pypy
<njs> it would be nice if pypy had a way to run gc.collect() until all garbage that existed at the start had been collected/had its __del__ run/etc.
<njs> having multiple projects maintaining this kind of thing is kinda silly: https://github.com/python-trio/trio/blob/master/trio/_core/tests/tutil.py#L40-L51
<simpson> Ooh, nice. This is something I've been thinking about as I ponder adding weakmaps to Monte: How to ensure that testing doesn't need to touch the GC?
EWDurbin has quit [*.net *.split]
stillinbeta has quit [*.net *.split]
dustinm has quit [*.net *.split]
cadr has quit [*.net *.split]
alcarithemad has quit [*.net *.split]
__pv has quit [*.net *.split]
cfbolz has quit [*.net *.split]
EWDurbin_ is now known as EWDurbin
stillinbeta_ is now known as stillinbeta
cfbolz_ is now known as cfbolz
xcm has quit [Remote host closed the connection]
<njs> (also, pdb has nothing to do with signals...?)
<njs> simpson: I doubt it's possible to entirely prevent testing from touching GC, if your GC is user-visible at all (e.g. if you support weakrefs or destructors)
<njs> and even then I guess some kinds of memory leak regression tests might still need to touch GC
xcm has joined #pypy
<simpson> Yeah. Destructors/finalizers aren't likely to make it in as-is, but weakmaps are an important capability-security primitive that we need to do somehow.
<simpson> RPython doesn't have ephemerons; that might be a way forward for a custom Monte runtime.
alcarithemad has joined #pypy
<simpson> (Also you are right about pdb and using exceptions instead of signals. https://bpaste.net/show/87a049c5a09a works fine on PyPy. My mistake!)
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
forgottenone has joined #pypy
<cfbolz> njs: great idea, file an issue?
oberstet has joined #pypy
_whitelogger has joined #pypy
rtw_ has joined #pypy
rtw_ has quit [Client Quit]
dddddd has quit [Remote host closed the connection]
forgottenone has quit [Quit: Konversation terminated!]
<arigato> I'm not sure I understand why cpython (2.7) doesn't print foo
<arigato> ah my bad
<arigato> a cycle containing a __del__ => not called
alawrence has joined #pypy
<arigato> alawrence: pdb should work in any thread. If you can give more details about the "ValueError: signal only works in main thread" you're getting, maybe there is a bug in pypy somewhere
<mattip> things get confusing sometimes when I put a set_trace() in a untranslated test, in the test itself (not in the rpython code)
<alawrence> arigato: I created issue 3003 and stuck a description in there.
nunatak has joined #pypy
nunatak has quit [Client Quit]
marvin_ has quit [Remote host closed the connection]
marvin has joined #pypy
<kenaan> andrewjlawrence winmultiprocessing 1140e7fc5df0 /lib_pypy/_winapi.py: Work in progress.
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
forgottenone has joined #pypy
alawrence has quit [Ping timeout: 256 seconds]
<kenaan> mattip buildbot 2e976793596a /bot2/pypybuildbot/: change tannit -> benchmarker
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
<kenaan> mattip benchmarks 9a13486fa4c7 /: minimum changes to save results on newer codespeed, more improvements possible
<cfbolz> mattip: awesome!
<mattip> there is a "benchmarker" environment on speed.pypy.org now
<cfbolz> mattip: can we make that the default somehow?
<mattip> do you mean for the front page?
<mattip> ahh, no, I see, on the timeline and comparison pages
<cfbolz> mattip: yes
<cfbolz> Frontpage we don't have enough data yet, I assume?
<mattip> right, we need to rerun the ones we are interested in
* mattip will look into the ordering of the environments on timeline, changes
bbot2_ has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
<mattip> the front page uses the default environment config value https://github.com/python/codespeed/blob/speed.pypy.org/speed_pypy/settings.py#L91
<mattip> so we can switch it once we have data
alawrence has joined #pypy
xcm has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
antocuni has joined #pypy
xcm has joined #pypy
<arigato> that's the py3.6 branch?
<cfbolz> yes
<arigato> let me start with the default branch, which also shows failures
<cfbolz> ok
<cfbolz> I am trying to fix #3001
forgottenone has quit [Quit: Konversation terminated!]
<mattip> cfbolz: it seems I put the error check in _codecs/interp_codecs rather than in std/unicodeobject
<cfbolz> yes, saw the commit
<cfbolz> mattip: currently trying to write tests that would have caught it
<kenaan> arigo default a229b0127567 /pypy/objspace/std/: Test and fix for unicode.translate()
<cfbolz> mattip: and then will undo parts of your cleanup ;-)
<mattip> +1
<arigato> cfbolz: 666d447ee17b says "try to fix the test_pypy_c failures on 32bit"
<arigato> is there a way to know if it did actually fix the test failures or not?
<cfbolz> pfff, probably there isn't :-(
<mattip> bencher4 has a chroot
<arigato> ah, I can use the URL showing the failure and change the "build=..." in there
<arigato> so no
<arigato> the test was failing on 64-bit too anyway
<cfbolz> hrm
<cfbolz> "very useful commit"
<arigato> it probably fixed things
<kenaan> arigo default d7c51628e606 /pypy/module/pypyjit/test_pypy_c/test_string.py: fix test
<kenaan> cfbolz py3.6 c43c94f0fd51 /pypy/doc/whatsnew-head.rst: document branch
<kenaan> cfbolz py3.6 b4f7c179d353 /pypy/: fix issue #3001: weird codecs can return strange types when using codes.en/decode but not via unicode.encode/bytes.d...
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<kenaan> arigo default 8fde6d376fef /pypy/module/array/: Don't raise ValueError when comparing arrays with out-of-bound unicodes
lritter has joined #pypy
<arigato> cfbolz: fixed
<cfbolz> cool
<kenaan> arigo py3.6 4a70f02715ab /pypy/module/_codecs/: Fix. The general issue is space.newtext("string") where the string might contain some random byte-chars from app-level.
xcm has quit [Read error: Connection reset by peer]
<cfbolz> arigato: ouch, pretty hairy
xcm has joined #pypy
<arigato> is just a CPython bug
<alawrence> arigato: Should I report it there?
<arigato> yes, please
<arigato> I'm writing a patch, a sec
<arigato> you can link to it from the cpython bug report, if people want it
<alawrence> Ok will do.
antocuni has quit [Ping timeout: 246 seconds]
<arigato> done, see 76db7b07a3b8
<kenaan> arigo py3.6 76db7b07a3b8 /lib-python/3/pdb.py: Fix for issue #3003
<arigato> shows how much used pdb really is: this bug is here at least from cpython 3.5, and it explodes as soon as you call pdb.set_trace() from a non-main thread after having called it from the main thread
<arigato> a more positive interpretation would be that *threads* are not actually much used :-)
<cfbolz> haha
<cfbolz> yes, I am going with the latter too
<arigato> a darker version is that as soon as you have threads, not even pdb can help you understand bugs
<cfbolz> right
alawrence_ has joined #pypy
alawrence has quit [Ping timeout: 256 seconds]
nunatak has joined #pypy
nunatak has quit [Read error: Connection reset by peer]
alawrence_ has quit [Ping timeout: 256 seconds]
<arigato> cffi 1.12.3 about to be released
<kenaan> arigo cffi/cffi d350e73b9dfb /doc/source/whatsnew.rst: Add whatsnews
<kenaan> arigo cffi/cffi[release-1.12] 553702112a56 /: hg merge default
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
dddddd_ has joined #pypy
dddddd_ is now known as dddddd
Rhy0lite has joined #pypy
antocuni has joined #pypy
adamholmberg has joined #pypy
rtw_ has joined #pypy
rtw_ has quit [Quit: Mutter: www.mutterirc.com]
<kenaan> mattip benchmarks 2a200b714bc6 /: use https for upload
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 255 seconds]
<mattip> a draft blog post about the 7.1.1 release
<antocuni> mattip: looks good to me
forgottenone has joined #pypy
<toad_poloesque> mattip: Maybe link PEP 3118 to the PEP itself? https://www.python.org/dev/peps/pep-3118/
<toad_poloesque> I didn't know what it was without googling.
<toad_poloesque> Even though now that I do know what it means "memory views of ctype structures" is a description of part of what PEP 3118 covers.
<toad_poloesque> mattip: Also does this include the changes to the datetime C-API?
<toad_poloesque> Or is that for a later release?
<mattip> toad_poloesque: no, since that will change the binary API, it cannot be part of the 7.1 series
<toad_poloesque> Ah, OK.
<mattip> the delay does give a chance to implement the *Fold* api ...
<toad_poloesque> Yeah, when's the ETA for that?
<toad_poloesque> My highest priority right now is finishing my PyCon tutorial, but I can do the fold part after I'm done.
alawrence has joined #pypy
<alawrence> arigato: It seems that someone reported this issue in 2011 https://bugs.python.org/issue13120. I am not sure what is going on there as it is down as being merged.
<alawrence> and resolved...
<toad_poloesque> alawrence: It was merged and resolved on March 9th and backported to Python 3.7
<toad_poloesque> It would be in the latest alpha build of 3.8 and maybe 3.7.3, but not in 3.5
<mattip> also not in 3.6?
<toad_poloesque> I only see one backport.
<alawrence> It was marked as being resolved in 2012
<toad_poloesque> Oh hm, I was just looking at the merged PRs.
<mattip> toad_poloesque: we probably won't do a 8.0 release for a few months
<toad_poloesque> I guess the thing that was merged recently was a fix to one of the tests, my bad.
<toad_poloesque> mattip: Cool, should have plenty of time to do the fold stuff by then.
marky1991 has joined #pypy
<mattip> cool. Added the PEP 3118 link and published
oberstet has quit [Quit: Leaving]
xcm has quit [Ping timeout: 250 seconds]
xcm has joined #pypy
jacob22 has quit [Read error: Connection reset by peer]
marky1991 has quit [Ping timeout: 250 seconds]
jacob22 has joined #pypy
marky1991 has joined #pypy
marky1991_2 has joined #pypy
marky1991 has quit [Ping timeout: 246 seconds]
alawrence has quit [Quit: Page closed]
antocuni has quit [Ping timeout: 268 seconds]
Arfrever has joined #pypy
oberstet has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
oberstet has quit [Remote host closed the connection]
adamholmberg has joined #pypy
marky1991_2 has quit [Ping timeout: 246 seconds]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
<kenaan> mattip buildbot fc95257ff7ab /bot2/pypybuildbot/builds.py: use fixed version of benchmark repo, forcing 'branch' or 'revision' refer to pypy Also use https:/speed.pypy.org...
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
jcea has quit [Remote host closed the connection]
<kenaan> mattip buildbot f4e9749d24ba /bot2/pypybuildbot/builds.py: fix argument order
bbot2 has joined #pypy
jcea has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
rtw_ has joined #pypy
rtw__ has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
rtw_ has quit [Ping timeout: 250 seconds]
rtw__ has quit [Client Quit]
rtw_ has joined #pypy
rtw_ has quit [Quit: Mutter: www.mutterirc.com]
rtw_ has joined #pypy
rtw_ has quit [Quit: Mutter: www.mutterirc.com]
rtw_ has joined #pypy
Rhy0lite has quit [Quit: Leaving]
lritter has quit [Ping timeout: 245 seconds]
rtw_ has quit [Quit: Mutter: www.mutterirc.com]
adamholmberg has quit [Remote host closed the connection]
fling has quit [Remote host closed the connection]
fling has joined #pypy
xcm has quit [Ping timeout: 245 seconds]
dddddd has quit [Remote host closed the connection]
dddddd has joined #pypy
dddddd has quit [Remote host closed the connection]