Message321738
Hey Lysandros.
Take a look at https://github.com/python/cpython/blob/master/Lib/wave.py#L126-L139
Notice how there's a Chunk made from the `file` argument but then another Chunk created using the previous chunk as a file.
While it might seem like self.size_read is magically changing between the steps, the thing to realize there is that self.file is another chunk and when you step, you're stepping into the seek of another Chunk instance, which has its own self.size_read |
|
Date |
User |
Action |
Args |
2018-07-16 13:22:27 | ammar2 | set | recipients:
+ ammar2, vstinner, lys.nikolaou, Barro |
2018-07-16 13:22:27 | ammar2 | set | messageid: <1531747347.2.0.56676864532.issue34088@psf.upfronthosting.co.za> |
2018-07-16 13:22:27 | ammar2 | link | issue34088 messages |
2018-07-16 13:22:27 | ammar2 | create | |
|