Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/RustPython/RustPython

A Python Interpreter written in Rust
https://github.com/RustPython/RustPython

Add wasi check to ci.

25c7d82a86b945d104c53e83f9929a3de54ab3d8 authored almost 3 years ago by jfh <[email protected]>
Merge pull request #3408 from coolreader18/fix-panic

Fix panic in debug mode

07a236f96555cd6f5daa004a40b30a037d9b7808 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
Move the cfg(debug_assertions) inside the quote!}

2c70bf26c3866afb5ec103b13c9cd224f8f7a3b3 authored almost 3 years ago by Noa <[email protected]>
Upgrade nix

f01a7b17c4ef32f772a640f2acd9c96fb38def9c authored almost 3 years ago by Noa <[email protected]>
Merge pull request #3407 from matthieugouel/fix_whats_left

fix `not_impl.py` path for black in `whats_left.sh`

544fb5ffa6b1cb9f3808dfe94c507a85456750ff authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
fix `not_impl.py` path for black

81a6927081a41391dfd9f4263addebc2b2d39154 authored almost 3 years ago by matthieugouel <[email protected]>
Merge pull request #3398 from deantvv/os-error-str-2

os: implement os-error-str according to CPython

b69cfafad8e52d0f0a7247c93ce2b9f3e80f93da authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
Merge pull request #3396 from OddBloke/oddbloke/exception_module

correctly set __module__ and __name__ for builtin exceptions

9d95ad248ba8aea63117631ff3e31e1ab4e774a6 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
Clean up monotonic/perf_counter invocations.

cc3708816f83bce29e755ed8a2b307d0a123c92b authored almost 3 years ago by jfh <[email protected]>
Disallow kwargs from genericalias new.

ffd7e8cdb709d41bc149683913210fd1f96db654 authored almost 3 years ago by jfh <[email protected]>
os: implement os-error-str according to CPython

As was: "FileNotFoundError: [Errno 2] No such file or directory (os
error 2)"
To be: "FileNotFou...

db212d80ffa9f4c56fa99a362cbe6b8eac7d38e9 authored almost 3 years ago by Dean Li <[email protected]>
correctly set __module__ and __name__ for builtin exceptions

In CPython's PyErr_NewException[0], the dotted "module.name" passed in is
split on that dot: the...

9dce9bf0b97d066c001894228724d9a6dfbc1c2d authored almost 3 years ago by Daniel Watkins <[email protected]>
extra_tests: test stdlib exception __module__/__name__

42186caade009b15a40ce89c923370a11a947b65 authored almost 3 years ago by Daniel Watkins <[email protected]>
Merge pull request #3394 from Snowapril/fix-ga-param-chaining

Fix `GenericAlias` parameter chaining

612e943c6c1794b69d0613a8b55915bf1f14c523 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
Merge pull request #3403 from stvsmth/benches-readme-typo

Fix typo in benches readme.

0de92bdc450651ff2b60cb97ba2cc76a042c7c99 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
Fix typo in benches readme.

Correct the file location of the index.html file.

ba6f855a66a770bf23a156b561d74dcb4886cc10 authored almost 3 years ago by stvsmth <[email protected]>
Merge pull request #3401 from coolreader18/stdlib-arrayiter

Don't create an intermediate map for rustpython_stdlib::stdlib_inits

93ef12e5532935d43f45bdfd4bd3adc9b33c2de0 authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3390 from OddBloke/oddbloke/format

cformat.rs: fixes to get two test_format.py tests passing

d78347e7ea774ea18d559bd49c4b5a888c09cc3e authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3377 from fanninpm/fix-test-posixpath

Fix error and unexpected success in test_posixpath

1092f94a75a7256c4073df0de20351d671322494 authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3050 from RustPython/upd-deps

Run cargo update + upgrade

7b99d13f60dd371369667f79387a71b52fa3358c authored almost 3 years ago by Jeong YunWon <[email protected]>
Allow sending custom signals to a vm

a4a1a154e264f81e2cc8c44021839814b08ac699 authored almost 3 years ago by Noa <[email protected]>
Don't create an intermediate map for rustpython_stdlib::stdlib_inits

a3723462ce1a0f484f3209f48a80dadac3968710 authored almost 3 years ago by Noa <[email protected]>
Tidy up signals atomics and such

401789dbf13b4d4b75e337b91007b670fe3e6519 authored almost 3 years ago by Noa <[email protected]>
Skip panicking test

5b780e70e63c28023628953148a13a9fceba183a authored almost 3 years ago by Noa <[email protected]>
cformat.rs: emit correct "not all arguments" errors for byte formatting

Without this, the code would accept `b"eggs" % b"ham"` and `b"eggs" %
bytearray(b"ham")` because...

1ed3a6ca816bd3e228f20a6863ca37650558a155 authored almost 3 years ago by Daniel Watkins <[email protected]>
cformat.rs: s/string/bytes/ in byte formatting error messages

8594a656c731d2ede87504db5b096f12c795e235 authored almost 3 years ago by Daniel Watkins <[email protected]>
cformat.rs: implement b'%a'/b'%r' correctly

Unlike strings, b'%a' and b'%r' are equivalent, and they match the '%a'
behaviour of strings, no...

3e19da833181c6e3d8d29900b61dcb5bfc88087f authored almost 3 years ago by Daniel Watkins <[email protected]>
cformat.rs: reject %c args > 255 when byte formatting

This matches CPython's behaviour. Thanks to @DimitrisJim for the
improved implementation here.

4d2747e4b8c8588b7d34d11dcd622e89b8babfde authored almost 3 years ago by Daniel Watkins <[email protected]>
cformat.rs: implement %a correctly, using builtins::ascii

The repr() of Unicode strings is the Unicode string, so the previous
code was incorrect for that...

380653b6cbceaa4014aa5c7a8f42c84cd3905081 authored almost 3 years ago by Daniel Watkins <[email protected]>
cformat.rs: align exception text with CPython

test_format.py doesn't _fail_ if the text is different, but it does emit
a warning: this fixes t...

655bfbc6cff7fbd730ba0624d1aed78d671930d0 authored almost 3 years ago by Daniel Watkins <[email protected]>
test_format: run test_bytes_and_bytearray_format

All the errors have now been addressed.

c5eba153700ee373764f9bb033a6f39b9dd20044 authored almost 3 years ago by Daniel Watkins <[email protected]>
cformat.rs: handle bytearrays when formatting b'%c'

dcc0973b03c3dad5bcc53204764cafe5adbe75f8 authored almost 3 years ago by Daniel Watkins <[email protected]>
cformat.rs: address memory allocation error with %*s / %.*f

The previous code assumed that, after parsing was complete, both the
padding and the precision i...

916f39c2b5dcc856acc4112a2745537c51fcd1c9 authored almost 3 years ago by Daniel Watkins <[email protected]>
Skip entire test case

1c6851a63136fe18eff15bd12c5004c52e6eef3e authored almost 3 years ago by Padraic Fanning <[email protected]>
Merge pull request #3395 from Snowapril/time-windows

Time mod additions for Windows

8bfc9049b258971335a10df5b09aa6e231e83731 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
Correct typo of types manually created (#3397)

* Correct typo of types manually created

* Apply `cargo fmt`

d2a247eecafb27ea5dc0ea863f37369a1e40b941 authored almost 3 years ago by Lee Dogeon <[email protected]>
Add monotonic, perf_counter, get_clock_info for windows

Signed-off-by: snowapril <[email protected]>

ac7bb4bdf4c6f89b183c5e76e7c8e2b53b26c8da authored almost 3 years ago by snowapril <[email protected]>
Remove skip decorator on window test

Signed-off-by: snowapril <[email protected]>

e2142e1d07582b914000edf13ed6743f4be27059 authored almost 3 years ago by snowapril <[email protected]>
Merge pull request #3385 from OddBloke/oddbloke/mknod

stdlib/posix.rs: implement mknod

5f158f2c6f92d785865569659e90beb72008d306 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
stdlib/posix.rs: fix mknod for MacOS

mknod at isn't available in their libc.

34950fdd2a9dbddb3e0611af841811b1de4b67dd authored almost 3 years ago by Daniel Watkins <[email protected]>
stdlib/posix.rs: implement mknod

156cf6bc8602b1f1ab6d558471bf6614e36ba212 authored almost 3 years ago by Daniel Watkins <[email protected]>
Merge pull request #3393 from devnexen/netbsd_build_fix

netbsd build fix proposal

1442dd69b45dbc593499f52f5e72471aa60433a8 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
remove duplicated extra_test

As this extra_test already covered by `test_parameter_chaining` in
`test_genericalias.py`, remov...

f6c2999f0736c1559727e7c12da58ecd5d9cf45b authored almost 3 years ago by snowapril <[email protected]>
fix `subs_tvars` to working on nested `GenericAlias`

Signed-off-by: snowapril <[email protected]>

77cd095b5998a887d2a801b50e24fc7fa9a70da3 authored almost 3 years ago by snowapril <[email protected]>
remove decorators on success tests

Signed-off-by: snowapril <[email protected]>

73ccb565d014d23437b6df2dab3304f9ffba619a authored almost 3 years ago by snowapril <[email protected]>
fix `make_parameters` in `GenericAlias`

make_parameters must not push duplicated parameters
as cpython implementation.

See `tuple_add` ...

2e48ba3e177a45d1ae02c179f7556ef13159de76 authored almost 3 years ago by snowapril <[email protected]>
Merge pull request #3392 from deantvv/os-error-str

Implement __str__ for OSError

fe1e375a1f92f01678a63d7ea05a3b0ca6de68f7 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
netbsd build fix proposal

f56514d61b064d403c61aca016edc3b9506ce229 authored almost 3 years ago by David Carlier <[email protected]>
Implement __str__ for OSError

In CPython, __str__ and __repr__ for OSError show different results.
This PR try to match this b...

d46f5ba7abefa792a8b7436b397f2e546e280f51 authored almost 3 years ago by Dean Li <[email protected]>
Run cargo upgrade

358ce09b5cda1206124fea41c36e6ed8b0ce349f authored almost 3 years ago by Noa <[email protected]>
Unskip tests

588247c4a00104e01ca7360225a58dd5eaabdb53 authored almost 3 years ago by Noa <[email protected]>
Run cargo update

6ac95d2e7b9ae3112e41db095042536664919500 authored almost 3 years ago by Noa <[email protected]>
Merge pull request #3391 from deantvv/os-error-refactor

Refactor OSError

859744236e9f796f009847e3e7031d033ebb90f8 authored almost 3 years ago by Jeong YunWon <[email protected]>
Refactor OSError

Implement `raw_os_error_to_exc_type` to reduce duplication of errno to
exception type.

a59556ad2590fa7d034f0715c299dde2e7e66c17 authored almost 3 years ago by Dean Li <[email protected]>
Merge pull request #3381 from DimitrisJim/time_mod

Time mod additions

2ac05aba6676cfc2e0f7021897e47a14676d0278 authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3383 from DimitrisJim/silence_wasi_warnings

Fix warnings for wasi check.

abd41b54b103e270b02f9112fd105d9ea2c64947 authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3388 from OddBloke/oddbloke/opener

stdlib/io.rs: align negative-fd-from-opener exception with CPython

a19e87640ce038c3a91927b5237e37be6ab4cbfb authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
stdlib/io.rs: align negative-fd-from-opener exception with CPython

1ea93a59d5f393f243f9ff96f414472cf43512bc authored almost 3 years ago by Daniel Watkins <[email protected]>
Clean up cfgs, handle 32bit timespec creation, skip tests for windows.

c6ac24c2f24d0a1bf37e88776078f02a2d8348a8 authored almost 3 years ago by jfh <[email protected]>
Fix warnings for wasi check.

a3771518deb749aedc64955d8faad90d945a6f76 authored almost 3 years ago by jfh <[email protected]>
Merge pull request #3366 from zetwhite/dict_richcmp

Implements Comparable for PyDictKeys, PyDictItems

35e56efa654f510d6d26165e6d9a6f31279d5b9a authored almost 3 years ago by Jeong YunWon <[email protected]>
ViewSetOps::cmp

f9bb87ee84e25482a5050c80b262b8abf53a9598 authored almost 3 years ago by Jeong YunWon <[email protected]>
Add monotonic_ns, perf_counter, perf_counter_ns.

ee77f3c3327e43ca41e568e1e365b8781375aacf authored almost 3 years ago by jfh <[email protected]>
Add get_clock_info.

1817fd6565d1c4042b7f670e962cafce3ca90a9d authored almost 3 years ago by jfh <[email protected]>
Merge pull request #3378 from chrismoradi/update-collections-and-tests-from-cpython

Update collections from CPython, fix tests for UserDict/List/String

281e2ee4db4faca5e0ad4776f3979cad709c09d6 authored almost 3 years ago by Jeong YunWon <[email protected]>
Add clock_gettime, clock_settime, clock_getres.

cab44a2ac3b5c4f63fec895f5638b944ec4c9b6d authored almost 3 years ago by jfh <[email protected]>
Merge pull request #3380 from youknowone/fix-resultlike

Fix result-like build

0f5d86c9724d57ac4e098d84b8a8eaa33e84335d authored almost 3 years ago by Jeong YunWon <[email protected]>
Use PyIterReturn result-like tools

7ad7465827290fe66382f32a66669b0424011423 authored almost 3 years ago by Jeong YunWon <[email protected]>
use ResultLike for PyIterReturn

2dea5f2039902b11a469f625676313c3d06fcfa3 authored almost 3 years ago by Jeong YunWon <[email protected]>
Revert UserDict.__init__ changes, new passing test of UserList

6abfc3a00c78511097ff6ea1e06a30ea53e0169b authored almost 3 years ago by Chris Moradi <[email protected]>
Merge pull request #3374 from Snowapril/ga_mapping_protocol

Implement `mapping` trait for `GenericAlias`

c414da1c94242dda2749b882caa5a2cad107cbf3 authored almost 3 years ago by Jeong YunWon <[email protected]>
Update collections from CPython, fix tests for UserDict/List/String

Clean implementation of changes in PR #3371 based on feedback.

Copies from [CPython tag `v3.9.7...

ec247e0d4f458452308e53aef3b830c355b4b933 authored almost 3 years ago by Chris Moradi <[email protected]>
Implement mapping protocol for `GenericAlias`

Signed-off-by: snowapril <[email protected]>

33de69a4dce69cc5c8c8baa966a2a5385b0c1539 authored almost 3 years ago by snowapril <[email protected]>
fix miswork on `TypeVar` arguments

Signed-off-by: snowapril <[email protected]>

bda42ac73c90c41bf01fcd00dc39b8419b5b8156 authored almost 3 years ago by snowapril <[email protected]>
Add extra test for `GenericAlias` on `TypeVar` args

Signed-off-by: snowapril <[email protected]>

795bfeb75d64ea31b5cbe5362b436acb039247bf authored almost 3 years ago by snowapril <[email protected]>
Merge pull request #3363 from deantvv/os-env-anyos

os: fix test_putenv for all os

c502037a8b784a5c03131af35c1b7bedb054f0e9 authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3375 from DimitrisJim/time_clock_consts

Add CLOCK_* constants.

b433594b6548e12ae4d9e3d277fe43bf374d1ffe authored almost 3 years ago by Jeong YunWon <[email protected]>
os: fix test_putenv for all os

6ec380369a97f695d95966ae6b8926f6f454dddc authored almost 3 years ago by Dean Li <[email protected]>
Add CLOCK_ constants.

ddeacbf0cee8123981f9557193d703ab3cc22396 authored almost 3 years ago by jfh <[email protected]>
Merge pull request #3372 from Overflow0xFFFF/bugfix/3260-enable-all-ci-tests

CI: Run all Rust unit tests

e628c748663b83fb860d3c9ce0da0def16fef3d5 authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3373 from Tetramad/math

add 'math domain error' at some functions in math module

dc8c9dea0dfcf92d3b3a6fa880f099b5f1d3b0a2 authored almost 3 years ago by Jeong YunWon <[email protected]>
Fix math.log2 to pass some failed tests

Now math.log2 with less than or equal to zero should raise ValueError
with "math domain error" m...

2bedba0e12261e851d6e0260e6e8b47e75c2461d authored almost 3 years ago by Tetramad <[email protected]>
Fix math.log1p to pass some failed tests

Now math.log1p with less than or equal to negative one should raise
ValueError with "math domain...

c88c69a993050d950bca9daecbd83f38defca32e authored almost 3 years ago by Tetramad <[email protected]>
Fix math.log10 to pass some failed tests

Now math.log10 with less than or equal to zero should raise ValueError
with "math domain error" ...

ebd0352cfc39ca94d9b3b5f88f4c19be4d835af8 authored almost 3 years ago by Tetramad <[email protected]>
Fix math.log to pass some failed tests

Now math.log with less than or equal to zero should raise ValueError
with "math domain error" me...

3d8f6cf08d50459c2e45c4e922703873e3dca598 authored almost 3 years ago by Tetramad <[email protected]>
Merge pull request #3365 from fanninpm/fix-cron-ci-jobs

Fix `cron-ci.yaml` actions

9ea2aa7956fe4c48685fb108423ece73ab03f23d authored almost 3 years ago by Noa <[email protected]>
Fix math.atanh to pass failed tests

Now math.atanh with out of domain value should raise ValueError with
"math domain error" message

ba3cafc93201eed7c51a26bbfd733c3a59a76156 authored almost 3 years ago by Tetramad <[email protected]>
CI: Run all Rust unit tests

Update the CI workflow so that all unit tests are executed.
These tests are run in the same mann...

22ffe07a126e6e49c14c4bc779a433a3125605aa authored almost 3 years ago by Joshua Ford <[email protected]>
Fix linking error in `act`

0390f0efb5728cdde1e262b4be5c892be1747013 authored almost 3 years ago by Padraic Fanning <[email protected]>
Merge pull request #3367 from DimitrisJim/length_hint_opt

vm.length_hint into vm.length_hint_opt

5f6c342c4af7471ce484a4aa0ade830a135fb882 authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3370 from deantvv/test-posix-reason

test: posix update failure reason

b0795e89f751acae9b846e110b241ee267ecd81b authored almost 3 years ago by Jeong YunWon <[email protected]>
Merge pull request #3369 from deantvv/posix-rtld-constants

posix: add rtld constants

690ac7060bbe77cad0e9b0dfa5866b51dbfbd6f5 authored almost 3 years ago by Jim Fasarakis-Hilliard <[email protected]>
Merge pull request #3368 from DimitrisJim/clippy_stuff

Fix some uncaught clippy warnings.

1c966f13ba1170d89bbf37cf18845797d8459983 authored almost 3 years ago by Jeong YunWon <[email protected]>
test: posix update failure reason

46c38c09d20fdadb743a02284276072552f4c5c2 authored almost 3 years ago by Dean Li <[email protected]>
posix: add rtld constants

91256a4ec60650d3239992a489890fe79bb46962 authored almost 3 years ago by Dean Li <[email protected]>
Fix some uncaught clippy warnings.

611e7555992d043b40170c1dad30f423906dde57 authored almost 3 years ago by jfh <[email protected]>
vm.length_hint into vm.length_hint_opt

4123e5eabc11caecc5e39cc61a8ca9cad4a5f0d9 authored almost 3 years ago by jfh <[email protected]>
make work dictview compare test

a401d8c190c8f9b9db2c702caa0ecab474c45491 authored almost 3 years ago by zetwhite <[email protected]>
Make `benchmark` work with `act`, and fix import

This doesn't remedy a certain benchmark's possible memory consumption.

a50b91bb0e02bb6c615aa2d4bfdd4048d4dab2e1 authored almost 3 years ago by Padraic Fanning <[email protected]>
Implements Comparable for PyDictKeys, PyDictItems

a3fed90fc2d76e97b88f005d9fdbe859cd28cc85 authored almost 3 years ago by zetwhite <[email protected]>