Commit message Age Author Refs
r28683:5b445096
Whats new 8.22.1, 8.22.2
Matthias Bussonnier
0
r28682:7c22387c
Improve inference from return type annotations in completer (#14357) Addresses the issue of non-jedi completer not picking type annotations for `__init__()` brought up in https://github.com/ipython/ipython/issues/14336 ![completion_works](https://github.com/ipython/ipython/assets/5832902/73d44e26-123e-4691-87a6-e4d92c6f5061) Follow-up to https://github.com/ipython/ipython/pull/14185 Supports: - [x] `Annotated` - [x] `AnyStr` - [x] `Literal` - [x] `LiteralString` - [x] `NewType` - [x] `Optional` - [x] `Protocol` - [x] `Self` - [x] `TypeAliasType` (`type` keyword in Python 3.12+) - [x] `TypedDict` - [x] `TypeGuard` - [x] `Union` Limitations: - no type narrowing: ambiguous return types from `Union`, and `Optional` will always return all possible values - generics (`TypeVar` and `Generic`) are not support (except for `AnyStr`) - old style `TypeAlias` (deprecated in Python 3.12) is not supported
M Bussonnier
0
r28681:10da2ebf
Reexport arg_split on emscripten. (#14356) Closes jupyterlite/demo#139
M Bussonnier
0
r28680:55e79ef4
Implement remaining special `typing` wrappers
krassowski
0
r28679:6de76434
Add version guards
krassowski
0
r28678:adeb769d
Support for `Self`, custom types, type aliases and single literals; clean up no longer needed `Protocol` fallback
krassowski
0
r28677:1238d86b
Reexport arg_split on emscripten. Closes jupyterlite/demo#139
Matthias Bussonnier
0
r28676:51647c4f
Support stringized return type annotations
krassowski
0
r28675:82a25e85
Infer type for `__init__` calls (including `__new__` mods)
krassowski
0
r28674:6046a5f9
back to dev
Matthias Bussonnier
0
< 1 .. 4 5 6 7 8 .. 2874 >