[issue25374] Deficiencies in type hint usage in Python standard libraries

2015-10-11 Thread R. David Murray

R. David Murray added the comment:

You need to install the (currently externally maintained) type hints files from 
https://github.com/python/typeshed.  I don't think a decision has been made 
about if/when these files will be incorporated into the distribution.

--
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> 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



[issue25374] Deficiencies in type hint usage in Python standard libraries

2015-10-10 Thread John Michael Lafayette

New submission from John Michael Lafayette:

I love the new type hint feature in Jetbrains IDE (PEP 0484). Now when my user 
defined methods return a value, I can press (Crtl+space) and see the type of 
that value and all its methods. Also, when I pass the wrong type in, I get a 
warning. 

Oddly, this does not happen with Python standard library functions. I can't get 
the auto-complete on objects returned by the Python standard library. The 
Python standard library doesn't warn me in advance if I put the wrong type in a 
method. How does that make sense? Please support PEP 0484 by using it in the 
Python standard library where appropriate.

--
assignee: docs@python
components: Documentation
messages: 252758
nosy: John Michael Lafayette, docs@python
priority: normal
severity: normal
status: open
title: Deficiencies in type hint usage in Python standard libraries
type: behavior

___
Python tracker 

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