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

Merge pull request #347 from nmalaguti/feature/monkeypatch-traceback

Monkey patch traceback.TracebackException to support MultiError

399b37858b75f4720fc688a5e35475f52cdb3df3 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #350 from gras100/patch-1

Update reference-core.rst

2b8e297e544088b98ff758d37c7ad84f74c3f2f5 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Update reference-core.rst

typo fix with -> def

1eb69a3ef91db44123f69b69a58dd40b90498651 authored about 7 years ago by gras100 <[email protected]>
Wording updates to the hazmat docs

25284174402bef2a5107ff5b35cd091c9df26935 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
More notes on things to include in the 0.2.0 release notes

Still need to be cleaned up before release, but at least this captures
them

43aa70cbdc49b1e87c4d38fa0882bb18d0f4cb80 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Some notes-to-self on restructuring the tutorial

1a8abc3f7bda1b14d77ef00453d1cb890722797e authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Monkey patch traceback.TracebackException to support MultiError

This monkey patches `traceback.TracebackException` on import. It
overrides `TracebackException._...

dd6808740656256a0e158263e06c553bc0e7bf90 authored about 7 years ago by Nick Malaguti <[email protected]>
Merge pull request #349 from njsmith/backlog-checking-robustification

Make measure_backlog more robust against weird errors

3edfafeedef4071646a9015e28be01f83dc02f94 authored about 7 years ago by Nick Malaguti <[email protected]>
Make measure_backlog more robust against syncookies

@nmalaguti is reporting that on a particular VPS they have access to,
sometimes, the test_open_t...

80357fc288f70fa9c053e928bf81e498ff41b078 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #343 from nmalaguti/feature/instrument-errors

Report instrument errors via logging

389f1e1e01b410756e2833cffb992fd1ff856ae5 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Report instrument errors via logging

See gh-306

f368046d60998c2480ef6f41f69467d63259e769 authored about 7 years ago by Nick Malaguti <[email protected]>
Merge pull request #345 from nmalaguti/feature/skip-ipv6

Skip tests that need IPv6 if it is not available

f50aa8e00c29c7f2953b7bad38afc620772dca74 authored about 7 years ago by Nathaniel J. Smith <[email protected]>
Skip tests that need IPv6 if it is not available

IPv6 is not available on all travis images. This will skip IPv6 tests
when IPv6 is not available.

aec6451b820154565d91eb85535d3a402fb5e6e5 authored about 7 years ago by Nick Malaguti <[email protected]>
Merge pull request #339 from njsmith/no-slots-sigh

Stop using slots=True in public classes to fix weakref issues

d063d672de15edc231b14c0a9bc3673e5275a9dc authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Stop using slots=True in public classes to fix weakref issues

Hopefully we can switch back to using slots=True at some point because
the memory savings are ni...

eae947034acf4252e101fac0915e124452c6c61b authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #336 from njsmith/fix-ci

Two fixes to unblock our CI

3440dbd8caf64ce08ded0847a0f809f3d6324097 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[travis] Switch MacOS test from 3.6.0 to 3.6.2

This is to work around the cffi bug:
https://bitbucket.org/cffi/cffi/issues/335/cffi-macos-w...

bda7d421cefab1a7fb3b297e9e158e3441e3cf1b authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Pin yapf==0.17.0

See gh-334 for details.

ea8fbe84f643ff8cff97af3cb0cfe4ae970eeb24 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #327 from njsmith/fix-travis-pypy-nightly

[travis] fix stupid typo that was disabling pypy nightly builds

4d41a6ddfa352cc2002592a64b58f9a7172c9495 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #325 from njsmith/issue-317

Move introspection APIs into trio.hazmat

3b7eff51180431621294532fa7acf404e0994cf1 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #324 from njsmith/rename-call_soon

Renames and deprecations for #68

1075239f129e735a540ced313c7fbbdbdb859af5 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[travis] fix stupid typo that was disabling pypy nightly builds

I really need to stop using bash for things.

9ba0c37c7032d918e3f694fff139e57c93a231f6 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #326 from njsmith/remove-is_trio_socket

Remove is_trio_socket

585ab4e3be0a5ef7a41830edf78eb5a787656b05 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fix test coverage for deprecated call_soon_queue_size

e2df899a19850932cea0d4b12dddde323ddd8078 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Update tests for the BlockingTrioPortal transition

d716003791e6b9041babe64ccbfad9e3638d15b9 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Move introspection APIs into trio.hazmat

See gh-317

b36ae5191dc8507ab7aec4c29e35e47c08300e3a authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Update documentation to reflect previous commit

ce8d71f79e3f8cd8bedf6f98b1a3400a656266bc authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Remove is_trio_socket

As pointed out in:

https://github.com/python-trio/trio/issues/170#issuecomment-327025129

the...

9a3141d477568e1a29fd923394971a6207117703 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Document BlockingTrioPortal

5a370218f98213109c8cb49ba8bca44784ca632b authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add BlockingTrioPortal; deprecate {run,await}_in_trio_thread

1bed1d0083050dcea03a90012ac80197abd48c44 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
When fixing up __module__ metadata, recurse into class objects

This lets us use things like:

@deprecated(..., instead=BlockingTrioPortal.run)
def current_...

68c3bb7dd8e612a14b77ba837ec1180ba03a4cfd authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Update tests to use TrioToken

96a115b33ef884f152c5cc3b7c353b300081c7c8 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add test for TrioToken identity properties

aaf5f7271bd1f39506bf52bd06d2f637292e8323 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Documentation for TrioToken and current_trio_token

f620db12df32b3ce3045186aad9c64770d8bed9e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add TrioToken & refactor entry queue logic into a separate file

...and deprecate current_call_soon_thread_and_signal_safe.

Still need to update callers and doc...

7bc19c33b4aa9293c68a0fd7634b97a00e03911e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #322 from njsmith/issue-321

Deprecate Queue.join and Queue.task_done

6107b2570c086694db5e21f1dfe0f580c7758b27 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #316 from njsmith/issue-314

Make our exports more visible to static analysis

739c332873449741e994ef2a65daa6c07eb7ae19 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Yet another stupid hack to hopefully fool pycharm

ffdb562d1ae45e55a28fc3bd1d471647ddfb2ec2 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Deprecate Queue.join and Queue.task_done

See gh-321.

2de8e355e71faceb8091774a1d741debf282947f authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Better message for deprecations with no replacement

f9fd543cd9e5d152c4f638843930f2121b61aec0 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add note to history.rst

d755a6aed6568b3dcd997890d04abc4d4817a102 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Move toplevel _core exports into a dedicated module

Apparently PyCharm gives up on parsing __all__ entirely if it sees
__all__ += foo.__all__, so mo...

6e9f5082353ea25c0e96ff0c12617a550a6534a8 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #318 from njsmith/no-infinite-recursion-in-ModuleWithDeprecations

Avoid infinite recursion in ModuleWithDeprecations.__getattr__

8692bfcf8b0666f8de7b97f4a71c71ad5001e3e2 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #319 from njsmith/print-task-tree-demo

Add example output to notes-to-self/print-task-tree.py

cf91d7d3c2e22810ce49438e44273e927b343e57 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add example output to notes-to-self/print-task-tree.py

Just for @cjerdonek :-)

8dda2c6a45a6c4e8bc2d6c4ca2ef82f1728b2b3e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Handle re-exporting of platform-specific hazmat functions

2091b28a090e7977ce0923f64fc9cdb8c3c79d76 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Make our exports more visible to static analysis

In particular, this should make it so PyCharm's completion starts
working.

Fixes gh-314.

cc7ff17b541e40d89eaf767ede81e7032ba321b4 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Avoid infinite recursion in ModuleWithDeprecations.__getattr__

This isn't really needed currently (we'd know, the symptom is a
RecursionError at import time), ...

054a701a3e2b09b41ec5a47984e670ae3b8f5679 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #313 from njsmith/print-task-tree

Add notes on how to print task tree for debugging

733be7507b10ff6a9abf914fccca552c13af0366 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #312 from njsmith/311-followup

Rename some internal classes that were missed in gh-311

e13129f8d3549d9599186a69282c1af661962d32 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add notes on how to print task tree for debugging

711afba2551a75c8f621b264914109a48a7efa56 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rename some internal classes that were missed in gh-311

dc5c183fce1cb4f323bfabd0f6523c016ae9f2fa authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #311 from njsmith/checkpoint-renames-and-deprecations

Rename things for consistency with the new "checkpoint" terminology

6db2eb16b1c3a8e02080f9fc4fa50a414f55f38c authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Small doc tweaks

68a14ef3ce33ebee9b4d80327672e4d8e7cd366d authored over 7 years ago by Nathaniel J. Smith <[email protected]>
yield_indefinitely -> wait_task_rescheduled

68a1898e5647c291722aa08c9e281937cbc8eb61 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Improve docs for the half-checkpoint functions

8c3109d5833ef53bacd0f197a4d3b5190391c878 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
run yapf

ca09dc34b2288b89e496142c18fc1518a509dbc4 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
yield_if_cancelled -> checkpoint_if_cancelled

cdf33dbc5acfe91312cceedd034ad30bbd25d404 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
yield_briefly_no_cancel -> cancel_shielded_checkpoint

ecc40ba00a426e7fc1a167e1417ec9c1f49d7c95 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rename assert_yields -> assert_checkpoints; deprecate assert_no_yields

ae7cc2d4220e97137e4ce8d714418734d33aaad7 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rename yield_briefly -> checkpoint

cb5d8ec9131bed5dda7d3465c6505ceb95e9aadb authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #309 from njsmith/deprecations-for-136

Deprecations for #136 and #284

3613ca6df7341736d04bba1f18db6c12d7fc9075 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Move Result classes into hazmat

4ff43c0df2babfc36e7e9babdf2b53c27abe12b5 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add support for module attribute deprecations

497a269716ab3232b20925dec4afc1d0d365e36d authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Restore trio.socket.SocketType with deprecation for 0.2.0

e968ee9c36f0cd0a9cebf69d5d33294889b76318 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Move UnboundedQueue into hazmat

b290a969f590676355ec2c0cd3798c5b179fb52e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Don't put _SocketType in trio.socket.__all__

Silly oversight missed in gh-253

c326e8274e42b7ded480b9546f1162fe31649b12 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Move Task and current_task to trio.hazmat

1f05b66c43f3d60317dbd8da6a2acd769569b9e5 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rewrite the intro-to-hazmat section

a07218ecaccd25e7be5f424e28e092dd2d113bbf authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Test the now-deprecated nursery.childen attribute

aa87a65cf1e0f8897f5656a64c6735b062ac676a authored over 7 years ago by Nathaniel J. Smith <[email protected]>
More documentation updates

- un-document deprecated Task members
- update custom supervisor documentation to avoid deprecat...

0a546ea7f5a6be61382af805810060426e49ce2b authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Deprecate and replace nursery.children and task.parent_task

New API:

- nursery.child_tasks
- nursery.parent_task
- task.child_nurseries
- task.parent_nurse...

a1bfd610740dabb31cb1d43920d304032f4cad28 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Undocument deprecated nursery attributes

a1572dabc7e47fdf16dd58f6798fa3934cdfa403 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add a little test to cover some deprecated wrappers

a87ea85d4c5ddaff013443617f1d8f95195df02b authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fix a naming collision that caused a test to be skipped

7b5fc244e1b18a23cca76a9bdb786d2c964996a2 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
run yapf

643fdaa2382e0376e0b7303c1f91cb6534188744 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
0 warnings!

e1f0b5a9edec53ab1da92446735b574be51c2e1f authored over 7 years ago by Nathaniel J. Smith <[email protected]>
60 warnings left

f543ffe09872d136cc556553af436870f01143a4 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
fix some docs and comments

15ed29146c181ea6ad56940cb94fe481f91e371b authored over 7 years ago by Nathaniel J. Smith <[email protected]>
133 warnings

0aa14ab73eb26456cd0bcd0ca240acc48d8278e8 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
run yapf

22541afdf6556b48c2d5dbca3dd8c24205435a43 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fix issue number

spawn's deprecation is really part of 284, not 136, though I'm
handling them both together becau...

f62c687139a089cc5608efbcc747eafeb14157b2 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
155 warnings left

7d2e2603b972dc0adeaa3ded35cd6590527b5e66 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Down to 538 warnings...

14f96d0bef15eca16c2097e191eb738b00886b49 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Deprecate most of the nursery and task APIs

For gh-136

This commit contains:

- the actual deprecations
- changes to _run.py to prevent war...

b115a8148dd7aee3bea0d8e63412c513bc59cf6e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #308 from njsmith/moar-deprecations

Deprecations for #257, plus general deprecation improvements

058c985fb0b68a26f1280910cb89f0f101257922 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add {add,remove}_instrument, deprecate current_instruments

For gh-257

6ea17a5e0518063029b77e00977215657294137c authored over 7 years ago by Nathaniel J. Smith <[email protected]>
@deprecated now adds deprecation warnings to docstrings

afa986857380b52b42414595872effe9b3258db8 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add issue metadata to deprecations, and reduce verbosity

9fbadf761dd2bcc8bb77736d21a1941743c6c4d3 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #307 from njsmith/serve

Add high-level server helpers

dce4f654752743a19b02bd8aef58ab33bc3e7eec authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add documentation for trio.serve_*

ed0996730f71cfa280c3e8491633c7170e2490b7 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add trio.serve_ssl_over_tcp

5782f8f2aaed457cc95dcfdd683f33b1dccbc105 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add trio.serve_tcp

2bdaac285a539a3227df98ae87e4071a23eb99ad authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fix filename

73f07870968707881861f127b636f31952f75584 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rename connection_nursery to handler_nursery

For brevity and consistency

090a1d670fcbad82ff5a722b2a3a1df148926cea authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Update README

6cdde5c2963c78ed4a62c3d50ac0e3620824d97c authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Remove MultiError handling from serve_listeners

I guess we can add it back if anyone ever notices and complains, it's
almost certainly never goi...

cdabe4c6c8f9bb1cefd2fab79e09b27eff734e31 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add serve_listeners

3e4ccf060121fed898d7b041c220784028e27404 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #302 from njsmith/typo

[docs] Fix typo

52c2349bb8bda615407cbcdd3a2ed0aee44186f0 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[docs] Fix typo

Thanks to @matham for catching it:
https://github.com/python-trio/trio/pull/298#issuecomment-3...

907964da3901a8ee3ebf61ff2222194c1d8a445f authored over 7 years ago by Nathaniel J. Smith <[email protected]>