Message308083
See https://github.com/python/typing/issues/518 for context.
The typing documentation for 3.6.4rc1 states:
> typing.io ... defines the generic type IO[AnyStr] and aliases TextIO and BinaryIO for respectively IO[str] and IO[bytes].
In the current implementation TextIO and BinaryIO are not aliases, but instead derived from IO. This means that values of type IO[...], and especially IO[Any] can not be assigned where TextIO or BinaryIO is expected. |
|
Date |
User |
Action |
Args |
2017-12-12 00:34:35 | srittau | set | recipients:
+ srittau, docs@python |
2017-12-12 00:34:35 | srittau | set | messageid: <1513038875.1.0.213398074469.issue32284@psf.upfronthosting.co.za> |
2017-12-12 00:34:35 | srittau | link | issue32284 messages |
2017-12-12 00:34:34 | srittau | create | |
|