Richard Si

Results 62 issues of Richard Si

## Summary Get rid of the Vim plugin (and associated documentation) provided this repository and point users to a third-party Vim plugin or plugin**s**. ## Why - We don't have...

C: integrations
C: packaging
C: vim
C: cleanup

It would raise even if there were only non-trait bases, leading to this slightly confusing situation: class A: pass class B: pass class C(A, B): pass # E: Non-trait bases...

Implement a small collection of generic native class attribute getters and setters to avoid generating custom verbose code for most attributes. Attribute types supported are: - PyObject * (setter: only...

Currently, unboxing tuples first involve doing a tuple *cast* to do error checks in advance. This hack was added because the error handling code for unboxing tuples is busted and...

topic-mypyc

Perhaps we should document this issue in the FAQ? Using pre-commit with Black is pretty common (and it's not always instantly clear it passes all of the files to the...

good first issue
T: documentation
C: integrations
C: file collection

### What does this PR change? What problem does it solve? Take this structure: ```html ``` The current post-single CSS adds margin to the bottom of the paragraph and that's...

(Context: https://github.com/python/mypy/pull/11901) We currently generate a new callable extension class for each nested function encountered. This results in a fair bit of boilerplate that could be eliminated. In theory, it...

codesize
area-functions

The mypyc user docs haven't seen much love for some time. It's worth going through and updating it to reflect the current state of affairs and be more comprehensive. ###...

priority-0-high
meta
docs

mypyc attempts to recreate the `__annotations__` dictionary on non-extension classes to the best of its ability. We do this because some libraries inspect `__annotations__`, including the ever popular `dataclasses`. Currently,...

priority-2-low
python compat

Mypyc doesn't set up the necessary statics for enum members when using the functional syntax. ```python from enum import Enum Color = Enum('Color', ['RED', 'BLUE', 'GREEN']) print(Color.RED.value) ``` ``` ❯...

priority-1-normal
feature