Message263378
PyUnicode_FSDecoder() accepts not only str and bytes or bytes-like object, but arbitrary iterable, e.g. list.
Example:
>>> compile('', [116, 101, 115, 116], 'exec')
<code object <module> at 0xb6fb1340, file "test", line 1>
I think accepting arbitrary iterables is unintentional and weird behavior. |
|
| Date |
User |
Action |
Args |
| 2016-04-14 08:06:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
| 2016-04-14 08:06:10 | serhiy.storchaka | set | messageid: <1460621170.51.0.766625206789.issue26754@psf.upfronthosting.co.za> |
| 2016-04-14 08:06:10 | serhiy.storchaka | link | issue26754 messages |
| 2016-04-14 08:06:10 | serhiy.storchaka | create | |
|