Highlights
- Pro
Block or Report
Block or report graingert
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePopular repositories
-
-
python-clamd Public
Clamd is a python interface to Clamd (Clamav daemon). By using Clamd, you can add virus detection capabilities to your python software in an efficient and easy way.
-
-
-
django-static-libs Public
A set of static libraries packaged in handy django apps to speed up new applications and reduce duplicaiton.
-
sslstrip Public
Forked from moxie0/sslstrip
A tool for exploiting Moxie Marlinspike's SSL "stripping" attack.
1,408 contributions in the last year
Activity overview
Contribution activity
August 2022
Created 12 commits in 4 repositories
Created 1 repository
- graingert/faster_cpython Python
Created a pull request in aio-libs/aiohttp that received 24 comments
work around the changes in 3.11, eg asyncio.TimeoutError is an OSError, and IsolatedAsyncioTestCase calls set_event_loop differently
What do these changes do? Fixes #6757 Are there changes in behavior for the user? yeah, if someone overrides asyncSetUp/asyncTearDown in their tes…
Opened 17 other pull requests in 7 repositories
dask/distributed
3
merged
3
open
- replace port = random.randint( with port = d.utils.open_port
-
Remove redundant use of
with clean():
- issue a ResourceWarning for unclosed RPC objects
- skip getaddrinfo thread if host is already resolved, using socket.AI_NUMERIC*
- DRAFT: deprecate awaiting objects that need an async context manager
- warn about the profiler when used in tests
python/cpython
5
open
1
closed
- remove asyncio from contextlib async tests
- gh-95882: fix traceback of exceptions propagated from inside a context…
- raise the asyncio.Timeout TimeoutError from the CancelledError
- gh-95724: change the taskgroup permission notice to reflect who the permission was given to
-
gh-95601: restore support for awaitable objects that are not futures in
asyncio.wait
and deprecate that support - gh-95569: make asyncio.Timeout and asyncio.TaskGroup loop-bound
vstinner/faster_cpython
1
open
pytest-dev/pytest
1
open
aio-libs/aiohttp
1
merged
python-trio/sniffio
1
open
MagicStack/uvloop
1
open
Reviewed 35 pull requests in 9 repositories
python/cpython
13 pull requests
- GH-95736: fix IsolatedAsyncioTestCase to set event loop before calling setup functions
-
gh-95601: restore support for awaitable objects that are not futures in
asyncio.wait
and deprecate that support -
Add
asyncio.Runner
docs aboutloop_factory
- GH-95899: fix asyncio.Runner to call set_event_loop once
- gh-95474: avoid the _global_lock in asyncio.mixins
- gh-95882: fix traceback of exceptions propagated from inside a context…
- gh-95724: Clarify taskgroups.py license.
- gh-86128: Add warning to ThreadPoolExecutor docs
- gh-95724: change the taskgroup permission notice to reflect who the permission was given to
- GH-95704: Don't suppress errors from tasks when TG is cancelled
- gh-90908: Document asyncio.Task.cancelling() and asyncio.Task.uncancel()
- GH-95289: Always call uncancel() when parent cancellation is requested
- gh-95569: make asyncio.Timeout and asyncio.TaskGroup loop-bound
dask/distributed
11 pull requests
- Add scheduler-sni option for dask workers
- Always close BatchedSend write coroutines
-
Ignore
coroutine *.write was never awaited
-
Deprecate
cleanup
fixture; replace withgonna_run_dask
fixture - issue a ResourceWarning for unclosed RPC objects
-
Only set 5s connect timeout in
gen_cluster
tests - skip getaddrinfo thread if host is already resolved, using socket.AI_NUMERIC*
- Ignore warning for unclose SSHCluster in tests
- Don't connect to cluster subprocesses at shutdown
- warn about the profiler when used in tests
-
Fix leak in
test_localcluster_get_client
aio-libs/aiohttp
3 pull requests
dask/dask-jobqueue
2 pull requests
python-trio/sniffio
2 pull requests
pytest-dev/pytest
1 pull request
psf/black
1 pull request
urllib3/urllib3
1 pull request
MagicStack/uvloop
1 pull request
Created an issue in python/cpython that received 12 comments
IsolatedAsyncioTestCase
does not call asyncio.set_event_loop
before setUp
anymore, asyncio.Runner
+PidFdChildWatcher
leaves zombie processes
demo reproducer: import unittest import asyncio class DemoTestCase1(unittest.IsolatedAsyncioTestCase): def setUp(self): self.loop = asyncio.get_eve…
Opened 22 other issues in 6 repositories
python/cpython
13
open
1
closed
-
IsolatedAsyncioTestCase
__del__
could be dangerous -
asyncio.wait
acceptsconcurrent.futures.Future
objects and other more exotic objects like distributed.Future - prevent asynccontextmanager and sync contextmanager drifting
- Trackstack includes __aexit__ in contextlib which is not in previous versions
- rename asyncio tests so they have readable names by adding a suffix to them
- The "with permission from edgedb" header is confusing for people trying to reuse the code
- TaskGroup suppresses grouped exceptions due to parent task cancellation
-
support for Awaitable objects in
asyncio.wait
removed in 3.11 - re-entrant call in asyncio.Runner
- Investigate tests that are not run but should
- asyncio.Runner allows async generators to skip gracefull finalization
- The default unraisablehook implementation does not print chained exceptions or recurse into exception groups
- unusual behaviour in asyncio.TaskGroup in the presence of GeneratorExit, StopIteration, KeyboardInterrupt and SystemExit
- make asyncio.Timeout and asyncio.TaskGroup fail early when used incorrectly