Message326597
The following test code segfaults on Python 2.7:
```python
import io
class X(io.RawIOBase):
def readable(self):
return True
def readinto(self, b):
if isinstance(b, memoryview):
print(b.format) # XXX boom, crashes here.
return 0
io.BufferedReader(X()).read(8)
```
The crash happens on the b.format attribute access.
This does not happen on 3.6. |
|
Date |
User |
Action |
Args |
2018-09-27 22:58:54 | gregory.p.smith | set | recipients:
+ gregory.p.smith |
2018-09-27 22:58:54 | gregory.p.smith | set | messageid: <1538089134.67.0.545547206417.issue34826@psf.upfronthosting.co.za> |
2018-09-27 22:58:54 | gregory.p.smith | link | issue34826 messages |
2018-09-27 22:58:54 | gregory.p.smith | create | |
|