Aber

Results 30 issues of Aber

### The "@ P" and "@ PP" Syntax Related discussion: https://github.com/abersheeran/cool/discussions/6 #### Motivation For partial functions, currently we have syntax `F(func, *args, **kwargs)` or `FF(func, *args, **kwargs)`. The syntax have...

### Compose functions *Inspired by [F# function-composition-and-pipelining](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/functions/#function-composition-and-pipelining).* Combine two functions to generate a new function. ```python from cool import C, F nonlazy_map = map >> C(list) assert range(10) | F(nonlazy_map,...

``` name = func() ?! value ``` to ```python try: name = func() except: name = value ``` --- ``` name = func() ? TypeError ! value ``` to ```python...

enhancement
need discuss

``` x => x * x ``` Convert to ``` lambda x: x * x ``` Due to the limitations of Python itself, this syntax only supports single-line statements.

enhancement
help wanted

Related link: https://github.com/encode/uvicorn/pull/1049 https://github.com/encode/uvicorn/pull/1235 Perhaps this PR should be merged after several versions of #1235 have been merged to allow enough buffer time for users. resolved https://github.com/encode/uvicorn/issues/371 resolved https://github.com/encode/uvicorn/issues/708

wsgi

- [x] Implement with httptools. - [x] Implement with h11: https://h11.readthedocs.io/en/latest/api.html#sendfile Close #35

## Short description I am using Windows 10, and the language is set to Chinese. The default encoding for Python opening files is gbk, but it should be specified as...

fun install 会建立 fun-cache 前缀的镜像,一开始我以为是可复用的,结果发现是 install 一次,新建一次。每个镜像都占大量空间。 不能在 install 完成后自动删掉这些镜像吗?256 GB 的小硬盘真心耗不起。

enhancement

## Describe the solution you'd like https://github.com/dependabot/dependabot-core/tree/main/python/lib/dependabot/python/file_parser

enhancement