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 #301 from njsmith/yapf-fix

Run yapf

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

Fixes a formatting problem that snuck in with gh-287, whose CI ran
before we added the formattin...

71364971b653b4f27ac04cd1f13952d1fe9aa130 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #287 from njsmith/faster-parkinglot-queue-queue

Faster ParkingLot

8adfa4d252d6cea693a3b542a847c35baa14ad82 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #298 from njsmith/start-task

Add nursery.start and nursery.start_soon

90c54e9d39b1685f951cfd39d8974a67696959fa authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Run yapf

The new 0.17 release has slightly different ideas about formatting.

7fd064b8c88e39181840165d62e1375f90a05710 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[ci] Adapt to yapf 0.17, and some misc cosmetic improvements

391d4fbe2f6a49c343176244603d25264c77c790 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[travis] Bash is confusing

6dea214f970fec7a9fbff2b4a08f78967916d956 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Skip pypy nightly test when even pip fails

Like right now, ctypes is broken, so pip just crashes:
https://travis-ci.org/python-trio/trio/...

312e3b18e34806ed82f5a62d50ab8a8540cca254 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Make it so pending tasks in nursery.start() keep the nursery open

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

34dcf767d2cc324648d02a43215b0ca375419a1e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add nursery.start and nursery.start_soon

start_soon is just a new name for spawn, except it doesn't return the
new task (in preparation f...

28f0d6d87b4e4f523aa28e44b4f585f90a4cd1e6 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Document nursery.start and nursery.start_soon

7231f9ab9a6cadf910b74f5e706a16a553b2b552 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #297 from njsmith/wtf-codecov

[ci] Print more info to hopefully get some clue what codecov is doing

8aaa0024818e11ced266f7c41737a1fabb41cbc1 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[ci] Print more info to hopefully get some clue what codecov is doing

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

Add deprecation framework, and do some deprecations

1cdb8ea94ce8bd15361a3c54329425d74170ad7a authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #295 from njsmith/refactor-unlock

Refactor UnLock -> ConflictDetector

19cd626c3596d501002970e6fb379a164e845d9d authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rename run_in_worker_thread -> run_sync_in_worker_thread

Part of the changes for gh-68

Also keeps run_in_worker_thread around as a deprecated alias.

f71aba7e2173d2a7b90f5911900f3c664e0e1d0b authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[docs] Give .. deprecated:: blocks a bright yellow background

By default they're unstyled and don't jump out at all.

ebb7665eac3c77920a97748dfef483d4589829d4 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Deprecate socket sendall method

Fixes gh-291.

39a9b1ca6263afa686d5c4e893170a082187c0e9 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add a deprecation framework

e88a49b6ffd60bb7565dd68b324732c9989652f4 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Refactor UnLock -> ConflictDetector

Just rename it and make it always do ResourceBusyError, since that's
how it's always used.

Fixe...

675555d727f47b504eb3b10b22cb0cc828b61b7e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #294 from njsmith/yapf-on-travis

[travis] Check for code formatting problems

38b49fa4663ff3aa8d3de24e2828b58c633f58a7 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #293 from njsmith/issue-140-again

Add another test that should fix gh-140

2c3e922a6b49e4b3339e640e24f461d118b8058d authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[travis] Check for code formatting problems

10403efaa05fa0cefd110d5caab8fc0d513eb1af authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add another test that should fix gh-140

This is already fixed and shouldn't make a difference, but somehow
codecov is claiming that the ...

ebd71194f49aadbcd4369f822c1024f8b9b304a2 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #292 from njsmith/sendall-not-task-safe

Document that the socket sendall method is not task-safe

194bc2dbb2fc46fff664978bb87d8445ac286d8c authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Document that the socket sendall method is not task-safe

See gh-291

de70c4387ff3234809e580af4ace5550cde0d424 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #282 from njsmith/listener-abc

Add high-level Listener interface

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

aa9428d5d0d9de7561706ddd8dbbe981b14ad60c authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[doc] Allow "bytes-like" as a type

277f6a91ba1c5897034afd1b02bdca71762fad1b authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #290 from njsmith/document-aclose_forcefully

Include aclose_forcefully docs in the manual

ec2b5a83ab21c8a532ae9761359f42f78c1ccda8 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Include aclose_forcefully docs in the manual

509cfa22247210b37bdb0d85ef972f77fdd04663 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #288 from njsmith/oops

Remove a stray print()

df2498b6bfa632331f3614b331c6115f6044af20 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Remove a stray print()

f59ad2edf2ccfaa9e305f994ee15cc70e26ca3cf authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Simplify and speed up ParkingLot

Use OrderedDict instead of SortedDict, and don't make park() pay for
repark().

See gh-272 for c...

9cc347779ff520299f9b6639bc75e5cae2d898f7 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Trim down getaddrinfo edge cases in the highlevel interface

No more port=None or port="" or port=bytestring -- they're not useful
and they can have weird/no...

80905c85deea891667153ae2cae1eff74b37fd57 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Get rid of some single-character variable names

59365a2a3b278307593ea123b3358ff1e30cb181 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add open_ssl_over_tcp_listeners

ba1b940abcdb025fa22a86c218e2bfb38125e836 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
SO_ACCEPTCONN is broken on MacOS

3300d6d353b98735174ace728a19b61b3f315918 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Use a shorter temporary directory name for AF_UNIX sockets

2c62a566c5dbb83b09b44ab716ae7300bc5be705 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
'raise' and 'pass' are different

8a69a0a52b19e93cc7e9a4866809934a6c09662a authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #278 from njsmith/nodelay-on-self-socket

Set TCP_NODELAY on the wakeup socket

82ca55c71affdd0a632c3727fb4b97fc4acab23c authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add open_tcp_listeners

5626af0c5f15b6387d9ae8d1e2aeec353556f7ac authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Set TCP_NODELAY on the wakeup socket

This might make a difference on Windows, and definitely doesn't hurt.

8d2b036dfe4bbb33a0f0700271ad667e98ad6501 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add trio.testing.open_stream_to_socket_listener

b8e15d84a12d32d15a003477958e3f7f2db197a4 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
SocketListener docs

d3b3e06814310874fdfb523f86d7b6a8b005aeaa authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #276 from njsmith/notes-to-self-file-read-latency

[notes-to-self] Add the benchmark I used for the async file I/O docs

69e80f2e9c0521afc3ef758ee6c41956f381e586 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[notes-to-self] Add the benchmark I used for the async file I/O docs

278540b84854ad3ee5ce2c34b79284a6dce2d040 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add some notes-to-self about TIME_WAIT handling

8b8e7b0c863865bc0a265cc6d4644a167a5dc290 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Stop fiddling with socket options in trio.socket

Now that we have a clear delineation between the high-level and
low-level interfaces, this shoul...

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

67c0afdfac55a9fa6a56f77ed98deedc6275e5f2 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fix some formatting

e99a8e591e731976f5989cd11e58f4baef9117d2 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rename the tests too

9b9f30df36962fc48eb13de5ebe1707e8b6a4465 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fixup imports after file renames

2cf7c704508deaf9a70e2ce724920776f89d63b0 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
File-rename-only commit

94352dc8af6cd93c9945bfa2453fe549a369b424 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add Listener and SocketListener

aff18540f0da6ba317a466580bfa9bfb2cbbf213 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Drop socket_stream_pair

{memory,lockstep}_stream_pair are more useful

f202f26697b3354816932826079ef53c2fe3c5eb authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Small cleanups to trio.abc

No semantic changes

c33d5c463f1465637079a96ecf9da03112d2defd authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #273 from njsmith/separation-of-public-and-private

Make a strict separation between namespace files and implementation files

e698522ca6e3e68bf4a0257fd1a497ac59e84ea5 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Don't try to fix up names of stuff we're re-exporting from the stdlib

Fortunately this broke on 3.6, where trio.ssl.Session = ssl.Session is
a built-in type that does...

de3ff2eaed6088c9b1b32f5462f04d0718586cf9 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fix up some trio.socket.__all__ entries

These were broken before, but the socket -> _socket transition
revealed them.

0af36c840d65b1609ee60aec4d3b1c26d2c92a21 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Systematically use public names in __module__ attributes

This removes some kluges from trio._core._exceptions, and also fixes
the doc build that I broke ...

1cf18c395bdb850bbcd9789267dc4caee3216ab8 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Split trio.testing into submodules

Should rearrange the tests a bit too, but this gets rid of the
horrible 1438 line file.

Also: r...

991f91db6e717a3b5290ea1ba13cb4f6afefbe2e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Finish moving implementation code out of public namespaces

This makes things work again after the previous commit that renamed
abc.py -> _abc.py, socket.py...

e16b329ade7126ef68a5f3b7f518b566f5f3b302 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rename public modules to new hidden implementation names

Done as a separate commit to make it easy for git to track the rename.

a205904c70c10c2dbf3f7c0f7c782a5bf98e6ca1 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #271 from njsmith/async-file-io-docs-and-async-resource

Misc

d09a2c32ab5b6046112d0da184e973ba3f27faff authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Various doc edits, especially expanding async file I/O docs

7375ceed8364714bdedffedf446e67c5864301d9 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #270 from njsmith/stop-acontextmanager-coverage-flapping

Stop acontextmanager coverage from flapping all the time

cd24dfdceb87db6ebdf183247dd96d0487783a5e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[docs] Help autodoc find trio more reliably

7306f1eb30f7d18cd600b06b3990f9c02b05ad12 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Make async file objects implement AsyncResource

660492f119a3079c3d6a50689b3b5e7cb1990b1f authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #269 from njsmith/graceful_close-to-aclose

We have too many ways to close things; remove the redundancy

857a30bf9c651ad6c7a769392aef8a618e925277 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Stop acontextmanager coverage from flapping all the time

Fixes gh-140

222268df4a2b927c4f67ee1f9c9010528546aacc authored over 7 years ago by Nathaniel J. Smith <[email protected]>
In SSLStream.aclose, only call transport_stream.aclose once

Even if it fails, the contract is that it's done its best and there's
no point in trying again.

1ccc564cf2131e55dd40ea07b93cd3b7ac25f099 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[ssl] test handshake failure during close

This also fixes some coverage that got dropped by the removal of
forceful_close.

e7073068a93987ae85691f66d0a9baf8fa62f07a authored over 7 years ago by Nathaniel J. Smith <[email protected]>
We have too many ways to close things; remove the redundancy

There was a weird redundancy where there were 3 ways to close things:

- forceful_close: ungrace...

09ebe37f94d1875eb6fd721b7364831cd6fe0ab6 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #268 from njsmith/doh

Remove stray print() call

8229f06728831bb682b9df8c3f6fa6a71cd2e955 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Remove stray print() call

Doh.

763992ca3e709402d81da168bf4be41e49d280d3 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #263 from njsmith/ki_wakes_us_up_my_old_nemesis

Add a checkpoint to fix #119

50edf8af506c645b3c959f985cf14e24087f01bf authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rephrase condition to make coverage happier

e6e8ed651fc22aeb42692f33b10d7ec40aeba75e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Upstream has made decisions about the wakeup fd bug

Update our comment and and simplify the version check based on the new
status.

5c9b8fe44b5a13bb9874eccb89b229fd3c3b4478 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
What if we add a checkpoint?

This commit passed 4x1000 runs on appveyor:
https://github.com/python-trio/trio/issues/119#iss...

ae87d969e16d686cbbb8edfa8ab42b69b95310ea authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #261 from njsmith/add-chat-link-to-manual

Add chat link to manual

098d0cd7d4196fc4e6d9586c0876b29816fa727d authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #262 from njsmith/towncrier

Set up towncrier for release note management

4fdae889511c1067381624e26343daeb73b9a190 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Set up towncrier for release note management

e52e4b17b18eafbc90a6369c16e298ac52455550 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add chat link to manual

532f03cca9ac72ee6ebfa2174a13ec8f330936e8 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #221 from njsmith/yapf

[wip] Set up yapf to do auto-formatting

027d374426fef9d4900519471b769d957424ceb9 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Reformat everything

This is a whitespace-only commit. I ran 'yapf -rip setup.py trio'.

adf6632a32fb2f8ec6eebe79e2be5427c53aceee authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Preparatory work

Small tweaks to make yapf work better. No semantic changes.

f01f33e35641cf6a31d8c5c0b257d999a94b030d authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add yapf config file

74943535c852ed8b7cfb281bf325780dcccd91cf authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #145 from njsmith/happy-eyeballs

Implement happy eyeballs

fef22159895532b06086f0bf9504f6ebdee79e18 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #244 from njsmith/use-trustme

Switch to using trustme for testing TLS certs

1f52e76fd2f3bfb50854ee1577254a76acf90d20 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Rename open_ssl_tcp_stream -> open_ssl_over_tcp_stream

8083a79fb02acf510b2a9d4c46c80c8463e67b92 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #258 from njsmith/note-to-self-measure-listen-backlog

[Note to self] script to measure listen backlogs

ac6e68a06b0c5c9bb9bf15dc5812b29da6fbaf32 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
[Note to self] script to measure listen backlogs

bf888cc9639735d4884ee8285ef9c985a6728905 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fix spelling of "pragma: no cover"

2655b1ca003cc5168b317875582251aea15399a7 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Fix typo in SSLStream docstring

9b2089ba2cace03f100041ae944c1523187e119f authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add open_ssl_tcp_stream

11e7e8bfa5c99a109462646b7d8eef9720ba842a authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Implement happy eyeballs

0000e5c8c869daf7d6783a6c7dcd5bcdca116d6e authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #256 from njsmith/everyone-needs-help-sometimes

Add help links to the docs

e237b6e4c74d2f7911ba213394169f458f7bed28 authored over 7 years ago by Nathaniel J. Smith <[email protected]>
Add help links to the tutorial

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