cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
Dagger has quit [Ping timeout: 276 seconds]
Dagger has joined #pypy
jcea has quit [Ping timeout: 252 seconds]
Dagger has quit [Ping timeout: 244 seconds]
Dagger has joined #pypy
<korvo> Today's desire: I want to take a bunch of classes that all have the same signature but different return types, and make a tuple-of class which also has that same signature but returns a tuple of that bunch's results.
<korvo> Like, `domains = ...; def meth(self, *args): return tuple(d.meth(*args) for d in domains)`.
<korvo> I guess I'm doing codegen? I can't find a simpler path.
Dagger has quit [Ping timeout: 244 seconds]
Dagger has joined #pypy
<korvo> ...Well, no, I can't even do codegen. RPython won't let me build tuples in a parametric fashion; I can't do something like `tuple([d.whatever() for d in unrolling_iterable(self.ds)])`.
<korvo> This is such a bummer. I feel like I'm being seriously punished for wanting to operate over both pairs and triples.
jcea has joined #pypy
Dagger has quit [Ping timeout: 260 seconds]
Dagger has joined #pypy