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
<kenaan>
alex_gaynor alex_gaynor/remove-an-unneeded-call-into-openssl-th-1526429141011 7a78467a6e72 /lib_pypy/_cffi_ssl/_stdssl/__init__.py: Remove an unneeded call into OpenSSL This call doe...
<Alex_Gaynor>
mattip_: ^ should be an easy review whenever you're up :-)
<simpson>
PYPY_GC_MAX can forcefully limit the footprint. If your bot can't fit inside your desired footprint, we might be able to help you optimize further.
<simpson>
But just setting some firm boundaries can be extremely helpful.
<R3d_Sky>
i wish there was an easy way to test at this scale, heh; prod has about 8.6k guilds, 143k channels and 300k total users
<R3d_Sky>
restarting takes quite a while
<R3d_Sky>
my test instance is only on one guild, so I can't replicate any of the memory usage stats
<simpson>
Oh. You should probably have a testbed of some sort. I can't help you with that, although I *am* a production SRE looking for work~
<R3d_Sky>
so, I tried to run it on pypy, and the code that worked just fine on CPython, 2 hours later, occupied 100% of system memory and got killed by the oom reapoer
<R3d_Sky>
(it = utility bot for chat service)
<R3d_Sky>
a bug on my end or CPython's?
<R3d_Sky>
it worked for about 24 days on CPython, crashed and burned in 6 hours on PyPy
<fijal>
R3d_Sky: we're now at a trade show (pypy unrelated), would you mind sending an email to pypy-dev? my main worry here is that arenas + rawmalloced does not add up to allocated - this is BAD I think
<fijal>
where did it go?
<R3d_Sky>
i have no idea
<fijal>
R3d_Sky: I'm sorry, I didn't want to sound like I wanted you to answer :-)
<R3d_Sky>
haha
<R3d_Sky>
is oki
<fijal>
I would like to know an answer, and yes would be lovely if you can give me one, but I can live with the fact that you might not know ;-)
<R3d_Sky>
also of note fijal: this problem only showed up on my production instance
<R3d_Sky>
testing didn't break at all
<R3d_Sky>
it's probably because it's caching a much larger number of users
citizen_stig has quit [Remote host closed the connection]
citizen_stig has joined #pypy
citizen_stig has quit [Ping timeout: 248 seconds]
citizen_stig has joined #pypy
citizen_stig has quit [Client Quit]
tayfun26 has quit [Remote host closed the connection]
Rhy0lite has joined #pypy
marself has quit [Ping timeout: 255 seconds]
<kenaan>
antocuni gc-more-logging 42a01bd21795 /: close merged branch
<kenaan>
antocuni default 49ede3b5afe6 /rpython/memory/gc/incminimark.py: merge the gc-more-logging branch, which logs some extra gc-minor and gc-collect-step info in the PYPYLOG
raynold has joined #pypy
amz3` has quit [Quit: WeeChat 1.9.1]
antocuni_ has quit [Ping timeout: 240 seconds]
oberstet has joined #pypy
oberstet2 has quit [Ping timeout: 256 seconds]
dfee has joined #pypy
tbodt has joined #pypy
marself has joined #pypy
lritter has quit [Quit: Leaving]
Hasimir has quit [Ping timeout: 240 seconds]
TheAdversary has quit [Ping timeout: 265 seconds]
marky1991 has joined #pypy
energizer has joined #pypy
energizer has quit [Remote host closed the connection]
energizer has joined #pypy
lazka has quit [Quit: Leaving]
jaffachief has joined #pypy
stevenja_ has joined #pypy
Rhy0lite has quit [Quit: Leaving]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nunatak has joined #pypy
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaffachief has joined #pypy
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stevenja_ has quit [Remote host closed the connection]
nunatak has quit [Quit: Leaving]
jaffachief has joined #pypy
jaffachief has quit [Client Quit]
marky1991 has quit [Ping timeout: 248 seconds]
jaffachief has joined #pypy
<dfee>
i've written a package that relies on dict being ordered by default. so it's compatible with python3.6, and pypy3.5 how can i specify in my setup.py that CPyton3.5 is excluded?
<simpson>
dfee: I'm not sure. Have you considered changing your package to explicitly use collections.OrderedDict instead? It'll get you correct behavior on earlier CPython too.
jamesaxl has quit [Ping timeout: 268 seconds]
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dfee>
simpson: yeah the only problem is that i'm relying on call argument order
<dfee>
i.e. `def func(*args, **kwargs)` where kwargs is ordered
<simpson>
dfee: I'm so sorry.
<dfee>
simpson: ?
<simpson>
Not in the "I broke your vase" sense, in the "I sympathize with you on the matter of your broken vase" sense.
<lesshaste>
when you run scipy.test('full') where are some tests skipped?
<lesshaste>
I meant.. why are
lesshaste has quit [Remote host closed the connection]
lesshaste has joined #pypy
tbodt has joined #pypy
jamesaxl has joined #pypy
jamesaxl has quit [Ping timeout: 260 seconds]
jamesaxl has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]