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
jcea has joined #pypy
jcea has quit [Ping timeout: 248 seconds]
_whitelogger has joined #pypy
<korvo> https://bpa.st/PNEA I wonder exactly what happened here. `makeList([])` should be fine; there is a top-level statement `emptyList = makeList([])` earlier in the module, so it can be executed, and the types should all line up.
<korvo> I know that what's actually happening is that rtyper doesn't think control flow will reach this position, but it's funny how I only know that because there aren't any other possible ways to get SomeImpossibleValue into an empty list.
[Arfrever] has quit [Ping timeout: 252 seconds]
[Arfrever] has joined #pypy
<korvo> (I have conquered rtyper. I can't believe how proud I am of this. Like, this feels better than speedrunning in public.)
<korvo> (Wait, KeyError after translation. I take it back; my 2h50m on Zelda 3 last night was not great, but at least I got the Triforce.)
<mgorny> korvo: sorry, which one is "Zelda 3"?
<korvo> mgorny: Link to the Past.
<mgorny> ah
* mgorny only played N64 games and newer
<mgorny> tried the first one but it was too hard for me xD
<korvo> For sure, the early games are quite difficult. Zelda 1 and 2 are beyond me. I run Zelda 3, I
<korvo> *I'm alright at 4 (Link's Awakening), but I can't do the tricks required for 5-6 (OoT, Majora) or later games.
<nimaje> I finally finished Link's Awakening DX some months ago after letting it lay around, because I was stuck in a temple, not finding a key I needed; in the end I looked up some map with the locations of the keys
<korvo> No shame in that. As a child I couldn't figure out the final few dungeons; Face Shrine is a serious complexity spike. It's also a very difficult game to speedrun because, while all Zeldas have terrible item menus, Zelda 4's items *move* around the menu as you play, so you have to plan to lay out your inventory.
BarrensZeppelin has joined #pypy
lritter has joined #pypy
[Arfrever] has quit [Ping timeout: 265 seconds]
[Arfrever] has joined #pypy
BarrensZeppelin has quit [Ping timeout: 260 seconds]
BarrensZeppelin has joined #pypy
BarrensZeppelin has quit [Ping timeout: 276 seconds]
BarrensZeppelin has joined #pypy
BarrensZeppelin has quit [Quit: BarrensZeppelin]
jcea has joined #pypy
lritter has quit [Ping timeout: 248 seconds]
jcea has quit [Ping timeout: 272 seconds]
lritter has joined #pypy
lritter has quit [Client Quit]
<korvo> Huh, prebuilt lists of ints aren't mutable after translation? I have code that is basically `l = []` in global scope followed by a lambda with `rv = len(l); l.append(rv); return rv`. I've debugged everything else around it, but I guess I assumed that this was correct when it appears to not work.
<korvo> (The actual offender: https://bpa.st/WSTA )
luckydonald has quit [Quit: Uh oh, bouncer going down! (Survived for 23w 4d 21h 53m 25s, this time.)]
luckydonald has joined #pypy
<nimaje> (is that for a global dynamically sized union-find?)
<korvo> nimaje: Yep. I'm refactoring it to now be a class which is allocated in main(). Guess I shouldn't have been so lazy and hacky.