[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-18 Thread Ned Deily

Ned Deily  added the comment:


New changeset 898a3e4901b3b6de9b540e18faa457a6ac3e49bb by Ned Deily (Miss 
Islington (bot)) in branch '3.6':
bpo-32284: Fix documentation of BinaryIO and TextIO (GH-4832) (#4833)
https://github.com/python/cpython/commit/898a3e4901b3b6de9b540e18faa457a6ac3e49bb


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-13 Thread Andrew Svetlov

Change by Andrew Svetlov :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-13 Thread Andrew Svetlov

Andrew Svetlov  added the comment:

Done

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-13 Thread Andrew Svetlov

Andrew Svetlov  added the comment:


New changeset b0358e8784821867ab05b3d890717c37309be849 by Andrew Svetlov (Miss 
Islington (bot)) in branch '3.6':
bpo-32284: Fix documentation of BinaryIO and TextIO (GH-4832) (#4833)
https://github.com/python/cpython/commit/b0358e8784821867ab05b3d890717c37309be849


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-13 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4725

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-13 Thread Andrew Svetlov

Andrew Svetlov  added the comment:


New changeset c3e070f84931c847d1b35e7fb36aa71edd6215f6 by Andrew Svetlov 
(Sebastian Rittau) in branch 'master':
bpo-32284: Fix documentation of BinaryIO and TextIO (#4832)
https://github.com/python/cpython/commit/c3e070f84931c847d1b35e7fb36aa71edd6215f6


--
nosy: +asvetlov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-13 Thread Andrew Svetlov

Change by Andrew Svetlov :


--
versions: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-13 Thread Sebastian Rittau

Change by Sebastian Rittau :


--
keywords: +patch
pull_requests: +4723
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-11 Thread Ivan Levkivskyi

Change by Ivan Levkivskyi :


--
nosy: +levkivskyi

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-11 Thread Guido van Rossum

Guido van Rossum  added the comment:

This doc bug should be fixed before 3.6.4 final goes out.

--
nosy: +gvanrossum, ned.deily
priority: normal -> release blocker

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32284] typing.TextIO and BinaryIO are not aliases of IO[...]

2017-12-11 Thread Sebastian Rittau

New submission from Sebastian Rittau :

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.

--
assignee: docs@python
components: Documentation
messages: 308083
nosy: docs@python, srittau
priority: normal
severity: normal
status: open
title: typing.TextIO and BinaryIO are not aliases of IO[...]
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com