Ecosyste.ms: OpenCollective

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

github.com/python-trio/trio

Trio – a friendly Python library for async concurrency and I/O
https://github.com/python-trio/trio

Rework some tests.

931b108858234084d6749fa36ecfb2c4304f9bd2 authored almost 7 years ago by Laura F. D <[email protected]>
Don't break if Unix sockets aren't supported.

ba0af1838159737070a81b535d65b1cb9ffbd157 authored almost 7 years ago by Laura F. D <[email protected]>
Unix client socket support. See: #279

25c3795ca8fd60b4f70c3142f9c87bc698b9c08f authored almost 7 years ago by Laura F. D <[email protected]>
Merge pull request #398 from pquentin/contributing-typo-fix

contributing.rst: Fix typo

f5e6cf36af66a20f2e09729004817064e01c444f authored almost 7 years ago by Nathaniel J. Smith <[email protected]>
contributing.rst: Fix typo

2cad838330e621c9d93e4248a49d419773f5f66f authored almost 7 years ago by Quentin Pradet <[email protected]>
Merge pull request #397 from njsmith/simplify-traps

Simplify implementation of primitive traps like wait_task_rescheduled

07d144e701ae8ad46d393f6ca1d1294ea8fc2012 authored almost 7 years ago by Emmanuel Leblond <[email protected]>
Simplify implementation of primitive traps like wait_task_rescheduled

Fixes gh-395

8ca7ca8e7c30b77d407197eab19d0a040114dc67 authored almost 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #392 from njsmith/release-0.3.0

0.3.0 release engineering

a351a2d148032dccf2b06636efbf4399bc0e24a4 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Bump to 0.3.0+dev

22979438728c0affa565e2899fd0f4838dd358dd authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Bump to 0.3.0

5d8fc470563fad959ffced897e8320d997993f4d authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #391 from njsmith/yapf-settings-change

Upgrade our yapf from 0.17.0 → 0.19.0

4f65fa74f704111cfb066233f760d78ec3f358a7 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Run yapf

87d2c9ca1e3c2beff62118879083aaddd8ad64ea authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Switch to yapf 0.19.0

The issue that was keeping us stuck on 0.17.0 is now resolved by
switching to split_before_first...

613d9c0376f2c7d9850b38e04154d8d5a1241fca authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add parentheses to fix a weirdly formatted line

No semantic change.

Now that this line has parentheses on it, for some reason I really
don't un...

45a3b42851f95e26de2e48d59d4002e0b503dc1c authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Switch yapf to using split_before_first_argument=False

The True setting turns out to produce weird side effects, and also
doesn't actually... work? See...

df56d322b1a87db9673bb41e2638119588586575 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #389 from njsmith/remove-0.2.0-deprecations

Remove everything else that was deprecated in 0.2.0

0db92590aa092b8b9988d8120bf9591f95d77f79 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #390 from njsmith/make-things-monotonous

Be more careful about using time.monotonic instead of time.time

22f71475f57573261a190b010a1d2567f4c7aecd authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Remove all module-level aliases deprecated in 0.2.0

See gh-136, gh-68, gh-317, gh-353, gh-157.

089c6ff02e624190d4cd3c4f3f2543cabcddfdec authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Remove trio.format_exception

Deprecated in 0.2.0 (see gh-347)

a246437d0d48c11c53d0af0c0baf287ff7419350 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add newsfragment

46be6fa8a09ea5e4b24f5adc9e5f7b08d990cd62 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Remove current_{run,await}_in_trio_thread

These were deprecated in 0.2.0 (see gh-68)

3bcc42c26f375005ffaf898914e39962e44405f1 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Remove Queue.join and Queue.task_done

Deprecated in 0.2.0 (see gh-321)

5f4825d887b6c2fc1b2a276ca886ae2284c52d8e authored about 7 years ago by Nathaniel J. Smith <[email protected]>
sock.sendall() was deprecated in 0.2.0; remove it

2db4e3291235cab9dc25146e6fbf342d2a6ab7bd authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Be more careful about using time.monotonic instead of time.time

The in test_ki.py actually managed to cause a spurious test failure:

https://ci.cryptography....

db43dbb976533ea2a8136728e96f90bf8daac213 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #388 from encukou/patch-2

Correct issue link in design docs

61e9a02c911fd91af524bb52db35507455847147 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #387 from encukou/patch-1

Fix typo in `CapacityLimiter.acquire_on_behalf_of_nowait` docstring

e9e90fcb024dc9a1472236197478327b553be9db authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Correct issue link in design docs

Issue #23 was closed as a duplicate of #265.
Have the docs link to the open issue.

b912c064ef98591e0c539825c969105f2092ec4b authored about 7 years ago by Petr Viktorin <[email protected]>
Fix typo in docstring

Fix typo in `CapacityLimiter.acquire_on_behalf_of_nowait` docstring.

4ce4cedfba1289693a6dd004743827eaaa4c205c authored about 7 years ago by Petr Viktorin <[email protected]>
Merge pull request #375 from njsmith/simplified-nurseries

Simplified nurseries

0c667d42a4419cfc9b4926471b741f4ae071fb67 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Improve some comments

22b51de5cbc91a876819db5169cae0e19f7aa1c4 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #384 from njsmith/enable-faulthandler

Enable pytest-faulthandler

d9e0f3614233717bad86b386634d81aabc8a17dd authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #383 from njsmith/match-python-resolver-details

Fix corner cases in implicit resolution to better match stdlib

bb08242445b8c4296d893f31410dba056d70c492 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Enable pytest-faulthandler

Hopefully this will help us diagnose weird freezes like gh-379

2fa6f0cccb8a62b924b76ccfa7f5247bda93dc87 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #382 from njsmith/i-dont-know-rest

Fix ReST in README

2385862dac83fb02a49cf316725fb60558b40739 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Fix corner cases in implicit resolution to better match stdlib

Fixes gh-277

450592717029b65b205069571ff28c07e661cdaf authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Fix ReST in README

f26ffb702d301249d3aa8918a29d50faf4df4d77 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #381 from njsmith/link-to-contributor-guide

Add links to the contributor guide to all our entry-point pages

d6ac73b96a9e4e00330e2a7bb52d624854fff9e7 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #378 from njsmith/async-bind

Make socket bind async, and related fixups

37025380f59c411c0af42182f9f3a4a4b4b99d99 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add links to the contributor guide to all our entry-point pages

65ba4c1b5691526dcce1a9a124b416b44d460b0d authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #380 from njsmith/pyproject-comments

Remove some out-of-date comments from pyproject.toml

ae2d9c20ae91b6dfccf1ba2cc3c1cdf24f4fd7bd authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Implicitly resolve hostnames in socket methods

Fixes gh-377.

85935218e80d86301c741af76026335d5cb22008 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Remove some out-of-date comments from pyproject.toml

90916762fd6ca00631d990b22ff0f132a9ad8b54 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Fix syntax in 'race' example

Thanks to Ran Benita.

c2861e8c551dc0f31ab042b8fcb16229f8baaddd authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #376 from njsmith/more-coverage

Better test coverage for @acontextmanager

bbed94887ee3ce98818bef0e9b57beb60ec7d60d authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Linux abstract domain sockets don't touch the filesystem

So bind() on them doesn't block

8bff4d5983f6af96fd57e09d5b7f67fc4d8366fc authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Use a worker thread when calling bind() on an AF_UNIX socket

Since this can perform blocking filesystem operations.

87a14f55a0cfd552bf876e0961a17cc9745caadc authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add newsfragment

1eccd2a0e52a8bb850acb7bb2e8c29faaae94b99 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Better test coverage for @acontextmanager

Pretty routine stuff, but I think this gets trio._util to 100% coverage.

c6d10028ec11e11d1fb1c3e893731f6768a4eeda authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Make trio.socket.bind async

This commit doesn't actually do anything to take advantage of it, but
contains all the necessary...

d3711a92cdd4b646587f6533eaccb6335f3b516d authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Delete some unreachable code

Pretty sure this is impossible to hit -- it was added to fix

https://bugs.python.org/issue170...

7b2ca042b0f8971fc9e4573af406901a6f29dd34 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Be a little more paranoid about tracking _parent_waiting_in_aexit

I don't think there's any way this could have led to a spurious
reschedule, but now I'm even mor...

97b961672bb7d7e93dd8bde497ca5965ecdbde8b authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #374 from njsmith/contributing-issues

contributing.rst: add some initial notes on issue tracking

2c6549e09cb85fb59c7ea5585f715cb88438e202 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Simplified nurseries

- Parenting is no longer a full time job
- This commit also removes a bunch of deprecated functi...

68277d4922776d321bdc329a64f1338aa1a5a221 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
contributing.rst: add some initial notes on issue tracking

fbfe245c87cd5b50f365a9dadcbeb698cd5d72e9 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #373 from bluetech/doc-send_all-cancellation

Copy note about cancellation from sendall to send_all

e7a14bee298ee0215778eb38673469c06d86c319 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Copy note about cancellation from sendall to send_all

This note is important also for the high-level API. Assuming people will
skip the low-level docu...

9ddaeb180f89f08bee66b7175d0294e2181cc52b authored about 7 years ago by Ran Benita <[email protected]>
Merge pull request #370 from njsmith/fix-rest

Small docs fixes, mostly formatting errors

1e86b1aee8c0c759f6f239ae53a05d0d3963c629 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Small docs fixes, mostly formatting errors

5ecbce019f08582db92066c55f31f50d1e0af8e0 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #368 from njsmith/release-0.2.0

Release 0.2.0 🎉

303150f190814a2caf4b41e275fb377816434ff3 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Bump version to 0.2.0+dev

bd532f97e0edce7c177b4d78cc4d2065ace2793c authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Bump version to 0.2.0

36f3a37bb236356bf3ba45764df389a0e24e3933 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add contributors' guide to release notes

43609be17f5ae6acd1e4b9a58aff9c22d8605dd2 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #362 from njsmith/contributing-and-coc

Add contributing doc, and switch to WeAllJS code of conduct

1403966f149f6ff42a3b5770bb5b0e562e1f2544 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #367 from njsmith/leeeroy-jenkins

Add Jenkinsfile for MacOS testing on ci.cryptography.io

a15f89d76c80fc514f36cfd55f7ee57a19d8ff13 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Attempt to refactor Jenkens and Travis to use the same script

8c06a095a8451249abd0b040a55cd63616d73736 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Let's randomly try the bash codecov uploader and see if that does anything

bfdc6708f5ad9c9443132fb87dbddb9d064b8109 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
What if we use vanilla pythons

85e6d07bdfaba920f985261b2d78e531007d9477 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Attempt to fix groovy quoting

1f80030b8d3b1d27a83635dcb54712e94e9835d2 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Remove MacOS builders from travis, in favor of jenkins

d28c2e545bcaee16321c410a4dc550bbe91df32a authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add Jenkinsfile for MacOS testing on ci.cryptography.io

See gh-366

4444a288bf5253fd9b0810ad1ca331a1563221ec authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Small code of conduct updates (thanks Brett)

d146a2191e2cc567b147e3d4ea793f516ecd0583 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #353 from njsmith/status-ignored-is-bugging-me

Rename STATUS_IGNORED to TASK_STATUS_IGNORED

2e5d1279ef5e55266beb49e6a52c7376b286fe88 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #365 from njsmith/sslsocket-is-weird

Ignore SSLWantWriteError from SSLSocket.unwrap

7fb71e571c5d68fb015e083d5c94be8de90c4e78 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Ignore SSLWantWriteError from SSLSocket.unwrap

This shouldn't happen, but apparently it does sometimes.

2d511f51cea69815ebba95c2f5314fea1a33ee83 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #364 from njsmith/erlang-has-exceptions-who-knew

Tweak wording to avoid accidentally slandering Erlang

3e62bf64946b1dcbf42c2d03e39435d4b1ba00ac authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Delete stray word (thanks Brett)

a8fc581750e1344844d7ea1965d4e8f4d8359d18 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Tweak wording to avoid accidentally slandering Erlang

@graydon informs me that Erlang does have exceptions [0]. Whoops. Rephrase
to avoid claiming oth...

64ee460b444d6cefbad6278d9360b7e44b680d84 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Include CONTRIBUTING.md in sdists

93f07af2a9797dd3db19c83ebffc37898012f50a authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Update code of conduct links to point to new location

2d83c72ef26a7526d9c0047234a59e01074c48a6 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add contributing doc, and switch to WeAllJS code of conduct

We obviously need a contributing doc, and the WeAllJS code of conduct
is excellent. These are to...

3759eada7e7905ad0091e1f8edf676f177009188 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #359 from njsmith/cancel-scope-repr

Give cancel scopes a nicer opaque repr

04e39c54db0f422bae1ca1e978967085996b8055 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #361 from njsmith/flaky-timeout-test

Attempt to fix a flaky test on Windows

332e564dd29c03e16f89cfa31773c3f4ad053bad authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Attempt to fix a flaky test on Windows

This failure:
https://ci.appveyor.com/project/njsmith/trio/build/1.0.768/job/3lbdyxl63q3h9s21
...

65a59f93c99e68d9d47b27cf96dcbef2eb08391c authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Give cancel scopes a nicer opaque repr

Previously the cancel scope repr looked like:

CancelScope(_tasks={<Task '__main__.main' at 0x7f...

4db760fd8f17cfa78d89c0bdb3300588e942fde1 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #357 from njsmith/drop-pytest-catchlog

Drop pytest-catchlog from test-requirements.txt

a5d0417c0e4cae472e7c72763e34b73c1185582d authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #355 from njsmith/misc-docs

A number of misc doc updates, including 0.2.0 release notes

9e6d9db2602b7baf5b97c2abef30944e7409f58e authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #358 from njsmith/macos-wtf

Attempt to fix MacOS failures on travis by increasing sleep lengths

5cbd9ead3afbc4e8fedbcb5ed37dd5fb6007bcf7 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Attempt to fix MacOS failures on travis by increasing sleep lengths

Our tests that sleep actually sleeps for the specified time started
failing on Travis's MacOS bu...

b30eb10094b9cc3fb9c198a97e8593408d7b2aaa authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Drop pytest-catchlog from test-requirements.txt

pytest says:

pytest-catchlog plugin has been merged into the core, please remove it from your...

28996dc6e652d396ff5c19d0af79028e5fbba9d8 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Update history.rst for 0.2.0

I think this is complete now (at least as of right now)

9de20c47f1d106a1dded9b05f45dd469d75cee75 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add a summary table describing the I/O ABC hierarchy

And a few other minor fixes to the I/O docs

1fd8a76bd3c63c5b0dd2c0089e4d7df8c8ac8747 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Two small doc tweaks

8d4b8ae076caa4eca70b90f77f5d80897a657abe authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add back docs for assert_no_checkpoints

5014a15017d62a109c931b4a493706811b04bd0e authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Rename STATUS_IGNORED to TASK_STATUS_IGNORED

The asymmetry in task_status=trio.STATUS_IGNORED is bugging me too much. I
gotta change it.

Wha...

fbb841a6bf8fec5d49b00a8756278f77dcdcb210 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #352 from njsmith/undeprecated-assert-no-checkpoints

Un-deprecate assert_no_yields and rename to assert_no_checkpoints

d170e9af5297b14dab7615c7e5facb8284ce79cc authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Un-deprecate assert_no_yields and rename to assert_no_checkpoints

This was deprecated as part of gh-157 due to lack of use cases, but
gh-329 reported a plausible ...

7554f3b4896d9117bde3dd30036db8766e45542b authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Start cleaning up history.rst properly for 0.2.0

a111bbd2618e5ed59294401dd847c5982e0ef419 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Remove the "excuse our dust" warning

The high-level networking API is actually implemented now (though the
docs could still do with s...

34b982cb9527fc87bc707434c56de57c3f25edab authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add a cute example to the Task.coro docs

865654ad4317e325f08a43d0cf0e3fd3cd15fbbd authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Add newsfragments/README.rst

c491f0246e71f15fdc9c676ded8b1e545e8b2220 authored about 7 years ago by Nathaniel J. Smith <[email protected]>