-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge the specification portion of the "Type Stubs" doc into the spec #1815
Commits on Jul 21, 2024
-
Type Stubs: move intro and syntax to spec.
* Moves some content into spec, deletes duplicate spec content. * Adds placeholders for where remaining content will be moved. It will be split between the spec and the writing_stubs doc.
Configuration menu - View commit details
-
Copy full SHA for 7f260c8 - Browse repository at this point
Copy the full SHA 7f260c8View commit details -
Move "Stub Contents" to writing_stubs.
Moves the section on what to include in stubs with editorial changes only - e.g., changing "type stub" to "stub file" to match surrounding terminology.
Configuration menu - View commit details
-
Copy full SHA for 1d29334 - Browse repository at this point
Copy the full SHA 1d29334View commit details -
Moves "Style Guide" to writing_stubs doc.
Moves the style guide with a few updates: * Editorial changes like tweaking code examples to use recommended style. * Attribute declarations can use assignments when needed to convey extra information - e.g., final attributes and enum members. * Tweaks a reference to the double-underscore convention for positional-only arguments to note that it's historical.
Configuration menu - View commit details
-
Copy full SHA for 065c3d3 - Browse repository at this point
Copy the full SHA 065c3d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d283c38 - Browse repository at this point
Copy the full SHA d283c38View commit details -
Move a few "Supported Constructs" sections into spec.
The only substantive change is an update to "Comments" to note that many formats of error suppression comments are allowed.
Configuration menu - View commit details
-
Copy full SHA for 01b34ca - Browse repository at this point
Copy the full SHA 01b34caView commit details -
Migrated "Imports" and "Module Level Attributes" supported constructs.
Added `x: Final = <literal>` to module-level attributes section. No other changes.
Configuration menu - View commit details
-
Copy full SHA for be35ffe - Browse repository at this point
Copy the full SHA be35ffeView commit details -
Migrate "Enums" supported construct section.
Replaces outdated info with a link to the enums section of the spec.
Configuration menu - View commit details
-
Copy full SHA for 00766db - Browse repository at this point
Copy the full SHA 00766dbView commit details
Commits on Jul 22, 2024
-
Move "Classes" and "Decorators" supported constructs sections.
Added an example of an inner class to "Classes." Removed mention of asyncio.coroutine from "Decorators" as it's very deprecated. Added functions decorated with `@dataclass_transform` to list of decorators that type checkers should recognize.
Configuration menu - View commit details
-
Copy full SHA for c524da4 - Browse repository at this point
Copy the full SHA c524da4View commit details -
Port "Functions and Methods" supported constructs section.
Removed mention of individual supported/unsupported features from this section. Where we state that all typing features from the latest released version are supported, added a caveat with a link to the typeshed feature tracker.
Configuration menu - View commit details
-
Copy full SHA for abd198f - Browse repository at this point
Copy the full SHA abd198fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0b16d9 - Browse repository at this point
Copy the full SHA e0b16d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3e9b9c - Browse repository at this point
Copy the full SHA b3e9b9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31c52c0 - Browse repository at this point
Copy the full SHA 31c52c0View commit details
Commits on Jul 23, 2024
-
Formatting fix to docs/guides/writing_stubs.rst
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Configuration menu - View commit details
-
Copy full SHA for 90170aa - Browse repository at this point
Copy the full SHA 90170aaView commit details -
Reword paragraph on argument names to be more concise.
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Configuration menu - View commit details
-
Copy full SHA for e9d3211 - Browse repository at this point
Copy the full SHA e9d3211View commit details -
Wording clarification in docs/guides/writing_stubs.rst
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Configuration menu - View commit details
-
Copy full SHA for 4c7fee2 - Browse repository at this point
Copy the full SHA 4c7fee2View commit details -
Modernize code example in docs/guides/writing_stubs.rst
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Configuration menu - View commit details
-
Copy full SHA for 60d80d8 - Browse repository at this point
Copy the full SHA 60d80d8View commit details -
Typo fix in docs/spec/distributing.rst
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Configuration menu - View commit details
-
Copy full SHA for a2a9d72 - Browse repository at this point
Copy the full SHA a2a9d72View commit details -
Typo fix in docs/spec/distributing.rst
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Configuration menu - View commit details
-
Copy full SHA for 0c3bd2c - Browse repository at this point
Copy the full SHA 0c3bd2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for da4571e - Browse repository at this point
Copy the full SHA da4571eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e609fe - Browse repository at this point
Copy the full SHA 1e609feView commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 05434ed - Browse repository at this point
Copy the full SHA 05434edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a8a26e - Browse repository at this point
Copy the full SHA 6a8a26eView commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2a927e6 - Browse repository at this point
Copy the full SHA 2a927e6View commit details
Commits on Jul 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 10cb969 - Browse repository at this point
Copy the full SHA 10cb969View commit details
Commits on Jul 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 026f2a1 - Browse repository at this point
Copy the full SHA 026f2a1View commit details -
* Reword some sections to focus on type checker behavior. * Move or remove some sections that fit better in the writing_stubs guide or are redundant.
Configuration menu - View commit details
-
Copy full SHA for 46e133f - Browse repository at this point
Copy the full SHA 46e133fView commit details
Commits on Jul 30, 2024
-
Cuts redundant sections, moves things to writing_stubs, tries out a new "these should be supported fully" and "these should be supported to at least the described minimum" structure.
Configuration menu - View commit details
-
Copy full SHA for 8a9eda8 - Browse repository at this point
Copy the full SHA 8a9eda8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14966d2 - Browse repository at this point
Copy the full SHA 14966d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ab8a33 - Browse repository at this point
Copy the full SHA 1ab8a33View commit details
Commits on Jul 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for df94e57 - Browse repository at this point
Copy the full SHA df94e57View commit details -
Address more reviewer comments.
Moves "Library Interface" into spec, further trims redundant text.
Configuration menu - View commit details
-
Copy full SHA for 93ce31d - Browse repository at this point
Copy the full SHA 93ce31dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61dafc4 - Browse repository at this point
Copy the full SHA 61dafc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe4c850 - Browse repository at this point
Copy the full SHA fe4c850View commit details
Commits on Aug 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99df017 - Browse repository at this point
Copy the full SHA 99df017View commit details -
Co-authored-by: Carl Meyer <carl@oddbird.net>
Configuration menu - View commit details
-
Copy full SHA for 7bf4ce5 - Browse repository at this point
Copy the full SHA 7bf4ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bbcff7 - Browse repository at this point
Copy the full SHA 6bbcff7View commit details
Commits on Aug 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 15adb5b - Browse repository at this point
Copy the full SHA 15adb5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98a72e7 - Browse repository at this point
Copy the full SHA 98a72e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a448b4a - Browse repository at this point
Copy the full SHA a448b4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eaaade2 - Browse repository at this point
Copy the full SHA eaaade2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f270102 - Browse repository at this point
Copy the full SHA f270102View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d18706 - Browse repository at this point
Copy the full SHA 8d18706View commit details
Commits on Aug 13, 2024
-
Update docs/spec/distributing.rst
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 783b435 - Browse repository at this point
Copy the full SHA 783b435View commit details
Commits on Aug 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6f030ad - Browse repository at this point
Copy the full SHA 6f030adView commit details
Commits on Aug 20, 2024
-
Update docs/spec/distributing.rst
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fb8c354 - Browse repository at this point
Copy the full SHA fb8c354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4723972 - Browse repository at this point
Copy the full SHA 4723972View commit details