python / typing-council

Decisions by the Python Typing Council
41 stars 3 forks source link

Typing spec update for defining "type expression" and other terms #26

Closed JelleZijlstra closed 4 months ago

JelleZijlstra commented 4 months ago

Please consider python/typing#1693, also discussed in https://discuss.python.org/t/basic-terminology-for-types-and-type-forms/46741.

This PR defines the terms type expression, annotation expression, type qualifier, and special form and uses them in the spec. The change is intended only to provide more clarity and explicit definitions, so there are no changes to the conformance tests.

gvanrossum commented 4 months ago

Is there somewhere I can view the rendered pages?

gvanrossum commented 4 months ago

(Never mind I just built the html myself. And I sent a review with some nits, I will sign off once you've fixed those.)

hauntsaninja commented 4 months ago

(for future reference, preview is visible at: https://typing--1693.org.readthedocs.build/en/1693/ )

gvanrossum commented 4 months ago

I've signed off on this. Looks great!

JelleZijlstra commented 4 months ago

It's been a week and everyone has signed off, so this change is accepted. I will merge the change.