# PEP 835: Shorthand syntax for Annotated type metadata

**URL:** <https://discuss.python.org/t/pep-835-shorthand-syntax-for-annotated-type-metadata/107814>\
**Category:** PEPs\
**Tags:** typing\
**Created:** [June 19, 2026, 1:38pm UTC](https://discuss.python.org/t/pep-835-shorthand-syntax-for-annotated-type-metadata/107814 "2026-06-19T13:38:26Z")\
**Posts on this page:** 1\
**Showing post:** 38

<div class="post-metadata">

**Author:** ![sobolevn](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/sobolevn/32/9274_2.png) [@sobolevn](https://discuss.python.org/u/sobolevn)\
**Post date:** [June 22, 2026, 12:27pm UTC](https://discuss.python.org/t/pep-835-shorthand-syntax-for-annotated-type-metadata/107814/38 "2026-06-22T12:27:17Z")

</div>

I am **heavy -1** on this. In my opinion, it does not solve any existing real problem. Typing `Annotated[]` on a keyboard is not that hard and letters are free (especially nowadays).

While it creates several real problems:

1. It requires to add ` __matmul__ ` magic method to most builtin types. For a very niche usecase. It is not something fundamental as `|` does.
2. Some existing custom types might already have `@` defined to do something different. In this case using them with `@` would be impossible and would still require using `Annotated` directly
3. It creates complex operator precedence rules `int | str @ Metadata` and `(int | str) @ Metadata` are two different things
4. It would also require us to either port `Annotated` to C code to use something similar to `Py_GenericAlias` or to just always call Python code from C code, which is really slow and error-prone

Let’s please do not do this 🙂

However, your PEP work is really impressive and the idea is worth discussing! Thanks a lot for raising this topic.

---

_[View the full topic](https://discuss.python.org/t/pep-835-shorthand-syntax-for-annotated-type-metadata/107814)._
