Message307198
That's not a bug. That's because the file object does have an encoding attribute, which is set to None.
getattr only returns the default when the attribute doesn't exist, not if it exists but is None. |
|
Date |
User |
Action |
Args |
2017-11-29 02:24:46 | steven.daprano | set | recipients:
+ steven.daprano, darkdragon-001 |
2017-11-29 02:24:46 | steven.daprano | set | messageid: <1511922286.24.0.213398074469.issue32163@psf.upfronthosting.co.za> |
2017-11-29 02:24:45 | steven.daprano | link | issue32163 messages |
2017-11-29 02:24:45 | steven.daprano | create | |
|