[issue39204] Automate adding Type Annotations to Documentation

2020-01-10 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



[issue39204] Automate adding Type Annotations to Documentation

2020-01-06 Thread Guido van Rossum


Guido van Rossum  added the comment:

Actually I agree with the OP that we could get some mileage out of joining 
typeshed with the docs, regardless of whether there are annotations in the 
stdlib.

--

___
Python tracker 

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



[issue39204] Automate adding Type Annotations to Documentation

2020-01-06 Thread Brett Cannon


Brett Cannon  added the comment:

I think a bigger thing is to simply get type annotations to be used in the 
stdlib first, then we can worry about documenting them as part of the API. :)

--
nosy: +brett.cannon

___
Python tracker 

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



[issue39204] Automate adding Type Annotations to Documentation

2020-01-03 Thread Guido van Rossum


Guido van Rossum  added the comment:

This was never blocked on Python 2 (at best we'd do this for the most recent 
Python 3 release anyway).

I expect it will be quite complex to get the quality of the implementation high 
enough, but I suppose someone should start with a prototype. I'm not 
volunteering though. :-)

--

___
Python tracker 

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



[issue39204] Automate adding Type Annotations to Documentation

2020-01-03 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Some discussion on similar proposal earlier : 
https://mail.python.org/pipermail/python-dev/2017-November/150234.html

--

___
Python tracker 

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



[issue39204] Automate adding Type Annotations to Documentation

2020-01-03 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

I am not sure if it was discussed earlier there was a discussion on adding PEP 
570 syntax across the docs. This comes at the cost of keeping the types 
updated. There was also a poc over expanding the signature to view the PEP 570 
syntax as needed. 

issue37134
https://bugs.python.org/msg344654

--
nosy: +gvanrossum, pablogsal, rhettinger, xtreak

___
Python tracker 

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



[issue39204] Automate adding Type Annotations to Documentation

2020-01-03 Thread Cooper Lees


Change by Cooper Lees :


--
type:  -> enhancement

___
Python tracker 

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



[issue39204] Automate adding Type Annotations to Documentation

2020-01-03 Thread Cooper Lees


New submission from Cooper Lees :

What are people's thoughts on automating adding type annotations to 
documentation now that Typeshed is mature and Python 2 is EOL?
(Let us never speak of comment annotations)

--
components: Library (Lib)
messages: 359249
nosy: cooperlees
priority: normal
severity: normal
status: open
title: Automate adding Type Annotations to Documentation
versions: Python 3.9

___
Python tracker 

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