Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tech debt: Note about asyncio.get_event_loop() failling in Python 3.12+ #7397

Copy link
Copy link
@ryancausey

Description

@ryancausey
Issue body actions

Why is this needed?

While perusing the code to understand how AsyncBatchProcessor starts the event loop, I found the following note in the code for BasePartialProcessor:

loop = asyncio.get_event_loop() # NOTE: this might return an error starting in Python 3.12 in a few years

Now that Lambda has the Python 3.13 runtime, this should probably re-evaluated to determine if any work is needed here to solve the concern or if the note can be removed.

Which area does this relate to?

Batch processing

Suggestion

Write a test to confirm whatever concern that prompted the note is or is not happening. If it happens, resolve the bug. If it doesn't happen, remove the note.

Acknowledgment

Metadata

Metadata

Labels

internalMaintenance changesMaintenance changes

Projects

Status

Coming soon
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.