Hacker Newsnew | past | comments | ask | show | jobs | submit | GalaxySnail's commentslogin


Hah, Pyright passes everything. I thought there would be areas where it was less conformant than mypy.


> On Debian you can have `/bin/sh` be any POSIX shell, on Arch you're forced to have it be Bash.

AFAIK you can use any POSIX shell as `/bin/sh` on Arch Linux. By running `sudo ln -rsf /bin/dash /bin/sh`, dash works well.


It has. The full test results are on this page: <https://ucs-detect.readthedocs.io/results.html>.


More interesting would be st with the HarfBuzz patch though.


IMO Python's equivalent of Rust's Enums would be `typing.Union` [1]. It is more ergonomic and type-safe, and mypy supports type narrowing [2] and exhaustiveness checking on it [3].

[1] https://docs.python.org/3/library/stdtypes.html#types-union

[2] https://mypy.readthedocs.io/en/stable/type_narrowing.html

[3] https://docs.python.org/3/library/typing.html#typing.assert_...


Unfortunately, this site is outdated.

> Last updated: 31 October 2022


? The two Xs are still open issues.


Msys2 is distributing binary openssl (and many other packages):

https://packages.msys2.org/search?q=openssl


Termux [1] on Android may be good enough.

[1] https://termux.dev/


Hopefully PEP 684 [1] which suggests a per-interpreter GIL will improve the situation.

[1] https://peps.python.org/pep-0684/


It's based on qtpy [1][2], which supports both Qt5 and Qt6 with pyqt5, pyqt6, pyside2 and pyside6.

[1] https://enaml.readthedocs.io/en/latest/get_started/installat... [2] https://github.com/spyder-ide/qtpy


For FFI, there is a pure python mode in cython:

  https://cython.readthedocs.io/en/latest/src/tutorial/external.html


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: