-
in the bart_score.py, there is only reference based method, but no src to hyp
-
Portability has two dimensions, versions and implementations.
E.g.
If an extension is compiled to portable across versions and implementation, how does that compare to one compiled to be portable …
-
This is an attempt to start a discussion on how to implement function calls and function definitions. In the following, "functions" and "methods" are used interchangeably.
First, we need to identi…
-
There are some very fast `Py_Check` functions in CPython that just do masking on the type flags (see https://github.com/python/cpython/blob/d460c8ec52716a37080d31fdc0f673edcc98bee8/Include/object.h#L4…
-
过程记录: ((20201228224748-uyfrai1 "{{.text}}")).
概述已有工作:
检查了内存的变化情况(hpy.heap()), 发现随循环没什么变化
认为问题出在helpers.bulk上, 认为可能是异常行导致了这个问题, 异常行的位置大概在sougou12的1200000到1600000行
-
C:\Windows-Agent-master>python agent.py install
Traceback (most recent call last):
File "agent.py", line 14, in
from utils.threads import (APIThread, BasicCollectThread, IISCollectThread,
…
-
Are there any plans to provide wheels for Pypy?
-
We need to design an API to build `str` and `bytes` object.
Before reading this issue, it is strongly suggested to read the [document](https://docs.hpyproject.org/en/latest/misc/str-builder-api.html)…
-
Currently, `HPyField_Load()` segfaults when the field is `HPyField_NULL`, which is annoying to handle. I see 2 options:
* `HPyField_Load` should return `HPy_NULL` for a null field.
* Leave `HPyField…
rlamy updated
2 years ago
-
I'd like to get a list of the CPython and Numpy C-API usage in Pythran?
`grep -rwoh 'Py[_A-Z].[a-zA-Z_]*' | sort | uniq` gives something which looks like reasonable.
Is there a better way to ge…