Compare commits
base: goodboy:52db018a9456d347a071fbd97ad0afed4f235fd3
goodboy:ng_tpts_planning
goodboy:wkt/tipc_backend_378
goodboy:wkt/wg_pyroute2_read
goodboy:wkt/addr_unpacking
goodboy:wkt/big_boi_docs_472_follow_ups
goodboy:wkt/fix_broadcast_lag_count
goodboy:wkt/pr510_review
goodboy:wkt/ai_skillz_run_tests_landing
goodboy:wkt/py_codestyle_linting
goodboy:wkt/macos_ci_reruns
goodboy:drop_ria_nursery
goodboy:wkt/to_actor_subpkg
goodboy:pformat_caller_frame_render_guard
goodboy:wkt/pr484_rebase_v2
goodboy:wkt/pr493_review
goodboy:wkt/uds_macos_473
goodboy:wkt/boot_latency_470
goodboy:wkt/pr478_review
goodboy:mtf_backend
goodboy:windows_support_round2
goodboy:to_actor.open_taskman
goodboy:aiskillz_updates
goodboy:wkt/start_or_cancel_tests_474
goodboy:wkt/moc_teardown_completion
goodboy:boot_latency_470
goodboy:test_cpu_throttling
goodboy:docs_vibed_for_serious
goodboy:wkt/rm_test_warnings
goodboy:custom_log_levels_api
goodboy:trionics_start_or_cancel
goodboy:trio_033_upgrade
goodboy:tooling_skills_n_config_from_mtf_dev
goodboy:diag_xontrib_aclis
goodboy:test_suite_hardening
goodboy:testing_harness_infra
goodboy:devx_observability
goodboy:runtime_core_fixes
goodboy:packaging_py314_prep
goodboy:wkt/tooling_enhancements_from_mtf_spawner
goodboy:custom_log_levels
goodboy:trio_0.33.0_support
goodboy:trionics.start_or_cancel
goodboy:subint_forkserver_backend
goodboy:subint_fork_backend
goodboy:subint_spawner_backend
goodboy:big_boi_docs
goodboy:subint_forkserver
goodboy:subint_fork_proto
goodboy:maybe_open_ctx_locking
goodboy:oco_supervisor_prototype
goodboy:free_threading_prep
goodboy:pld_dec_refinements
goodboy:auto_codecs
goodboy:ns_aware
goodboy:multicast_revertable_streams
goodboy:try_to_repl_clobber_aio_task
goodboy:to_asyncio_crash_handler
goodboy:piker_pin_macmini
goodboy:struct_field_filtering
goodboy:macos_dnks_fixes
goodboy:actor_cancelled_exc_type
goodboy:factor_into_hotbaud
goodboy:dereg_on_oserror
goodboy:hilevel_serman
goodboy:piker_pin
goodboy:py_tooling_updates
goodboy:to_asyncio_channel_iface
goodboy:tpt_tolerance
goodboy:copilot_typing_suggestions
goodboy:root_actor_raddrs_fix
goodboy:log_sys_testing
goodboy:nixos_flake
goodboy:clustering_to_experimental
goodboy:treat_CREs_as_tptclosed
goodboy:CONT_log_sys_testing
goodboy:macos_fixed_2025
goodboy:macos_support
goodboy:final_eg_refinements
goodboy:main
goodboy:cancelled_masking_guards
goodboy:strict_egs_everywhere
goodboy:POST_final_eg_refinements_failafter_investigation
goodboy:to_asyncio_eoc_signal
goodboy:enable_tpts
goodboy:repl_fixture
goodboy:SDOF_pre_sin_testing_XPSBACKUP
goodboy:cluster_api_egs_conflict
goodboy:moar_eg_smoothing
goodboy:pytest_pluginize
goodboy:structural_dynamics_of_flow
goodboy:one_ring_to_rule_them_all
goodboy:one_ring_to_rule_them_all_FROZEN_20250619
goodboy:leslies_extra_appendix
goodboy:shm_apis
goodboy:ext_type_plds
goodboy:py313_support
goodboy:aio_abandons
goodboy:sc_super_proto_dgrams
goodboy:runtime_to_msgspec
goodboy:pkg_tidying
goodboy:multihost_exs
goodboy:uv_migration_pre_msgspec_in_runtime
goodboy:remote_inceptions
goodboy:ext_type_plds_XPS_BACKUP
goodboy:modden_spawn_from_client_req
goodboy:multihomed
goodboy:devx_subpkg
goodboy:asyncio_debugger_support
goodboy:ctx_cancel_semantics_and_overruns
goodboy:pre_pretty_struct_dep_commit_b54cb66
goodboy:ctx_cancel_semantics_and_overruns_REVERSED_FACEPALM
goodboy:uv_migration
goodboy:to_asyncio_refinery
goodboy:runtime_to_msgspec_XPS_BACKUP
goodboy:rae_message_packing
goodboy:msg_codecs
goodboy:old_msg_types
goodboy:asyncio_debug_mode
goodboy:pause_from_sync_w_greenback
goodboy:mv_to_new_trio_py3.11
goodboy:modden_spawn_from_client_req_XPS_BACKUP
goodboy:shielded_ctx_cancel
goodboy:ctx_cancel_semantics_and_overruns_XPS_GH_BACKUP
goodboy:msgtypes
goodboy:master
goodboy:switch_to_pdbp
goodboy:proper_breakpoint_hooking
goodboy:drop_proc_actxmngr
goodboy:ctx_result_consumption
goodboy:readme_touchups
goodboy:ipython_integration
goodboy:breceiver_internals
goodboy:ipc_failure_while_streaming
goodboy:deprecate_arbiter_addr
goodboy:prompt_on_ctrlc
goodboy:dun_unset_current_actor
goodboy:ipc_failwhilestream_backup
goodboy:macos_in_ci
goodboy:harden_cluster_tests
goodboy:eg_backup
goodboy:exceptiongroups
goodboy:egs_with_ctx_res_consumption
goodboy:debug_lock_blocking
goodboy:callable_key_maybe_open_context
goodboy:spawn_backend_table
goodboy:pin_pre_trio_0.22
goodboy:pytest_report_workaround
goodboy:lifetime_stack_tests
goodboy:we_bein_all_matchy
goodboy:debug_event_guard
goodboy:disable_win_ci
goodboy:alpha5
goodboy:signint_saviour
goodboy:sigintsaviour_citesthackin
goodboy:sigintsaviour_ci_worked
goodboy:aio_error_propagation
goodboy:drop_msgpack
goodboy:310_windows
goodboy:ci_sdist_install
goodboy:include_readme
goodboy:310_plus
goodboy:name_query
goodboy:sort_subs_results_infected_aio
goodboy:aio_explicit_task_cancels
goodboy:fence_mp
goodboy:sigint_ignore_in_pdb_repl
goodboy:sigint2
goodboy:msgpack_lists_by_default
goodboy:nspaths
goodboy:experimental_subpkg
goodboy:maybe_cancel_the_cancel_
goodboy:moar_timeoutz
goodboy:drop_old_nooz_files
goodboy:raise_runinactor_error
goodboy:win_ci_timeout
goodboy:alpha4
goodboy:infect_asyncio
goodboy:expected_ctx_cancelled
goodboy:new_mypy
goodboy:context_caching
goodboy:end_of_channel_fixes
goodboy:agpl_commit_msg_fix
goodboy:agpl
goodboy:stricter_context_starting
goodboy:acked_backup
goodboy:faster_daemon_cancels
goodboy:early_deth_fixes
goodboy:clusters_and_hot_tips
goodboy:alpha3
goodboy:pubsub_startup_response_msg
goodboy:iaio_backup
goodboy:trionics
goodboy:graceful_gather
goodboy:246_facepalm_backup
goodboy:patch-async-enter-all
goodboy:immediate_remote_cancels
goodboy:less_logging
goodboy:zombie_lord_infinite
goodboy:optional_msgspec_support
goodboy:fix_kbi_in_ctx_block
goodboy:logo_tweaks
goodboy:use_trio_on_win
goodboy:alpha2
goodboy:msgspec_infect_asyncio
goodboy:live_on_air_from_tokio
goodboy:tokio_backup
goodboy:debugger_test_tweaks
goodboy:fix_news_links
goodboy:wats_da_nooz
goodboy:ctx_debugger
goodboy:bi_streaming_no_debugger_stuff
goodboy:round_2_ci_windows
goodboy:CI_increment_for_windows_bidirstreaming
goodboy:ctx_debugger_from_hardening
goodboy:infect_asyncio_backup
goodboy:debugger_hardening
goodboy:bi_streaming
goodboy:transport_cleaning
goodboy:context_finesse
goodboy:cf_backup
goodboy:db_backup
goodboy:pre_bad_close
goodboy:stdstream_clobber_fix
goodboy:bistream_backup
goodboy:transport_hardening
goodboy:msgspec_not_fucked
goodboy:try_msgspec
goodboy:prehardkill
goodboy:windows_bi_streaming
goodboy:docs_revamp
goodboy:new_docs_polish
goodboy:wip_fix_asyncio_gen_streaming
goodboy:drop_run
goodboy:mp_teardown_hardening
goodboy:stream_contexts
goodboy:drop_sync_funcs
goodboy:pub_connect_msg
goodboy:sync_cancel
goodboy:stream_clones
goodboy:first_pypi_release
goodboy:single_func_example
goodboy:readme_pump
goodboy:kinda_drop_run
goodboy:mp_hang_search
goodboy:eg_worker_poolz
goodboy:sync_breakpoint
goodboy:actor_state_via_messages
goodboy:we_aint_got_zombie_shields
goodboy:deprecate_rpcmodpaths
goodboy:implicit_runtime
goodboy:drop_tractor_run
goodboy:py3.9
goodboy:denoise_logging
goodboy:func_refs_always
goodboy:fix_debug_tests_in_ci_again
goodboy:stream_channel_shield
goodboy:pdb_madness
goodboy:advanced_debugger_testing
goodboy:clean_log_header
goodboy:debug_refine
goodboy:debug_refinements
goodboy:drop_warn
goodboy:multiproc_debug
goodboy:debugger_on_windows
goodboy:bug_in_debug
goodboy:debug_tests
goodboy:native_debugging
goodboy:matrix
goodboy:dereg_on_channel_aclose
goodboy:ensure_deregister
goodboy:start_up_sequence_trickery
goodboy:fix_win_ci_again
goodboy:stin_char_relay
goodboy:flaky_tests
goodboy:drop_cloudpickle
goodboy:reorg_entry_points
goodboy:drop-trip-update-trio
goodboy:init_sphinx_docs
goodboy:example_tests
goodboy:implicit_rpc
goodboy:fix_examples_in_docs
goodboy:try_trip
goodboy:log_task_context
goodboy:drop_event_clear
goodboy:more_thorough_super_tests
goodboy:pip_ci_fix
goodboy:windows_support
goodboy:rename_forkserver_mod
goodboy:user_update
goodboy:win_ci
goodboy:stream_functions
goodboy:propagate_loglevel
goodboy:ipc_iternals_renaming
goodboy:close_mem_chans
goodboy:docs_example_fixes
goodboy:spawn_method_support
goodboy:trio_memchans
goodboy:contexts
goodboy:remote_module_errors
goodboy:remote_task_cancelling
goodboy:fix_46
goodboy:loglevel_to_tractor_tests
goodboy:expose_tractor_test
goodboy:improved_errors
goodboy:self_register
goodboy:multi_program_tests
goodboy:tests_reorg
goodboy:type_annotations
goodboy:py3.7_tweaks
goodboy:reliable_cancel_tests
goodboy:attrs_it_up
goodboy:wait_for_actor
goodboy:draft_readme
goodboy:init_docs
goodboy:reg_with_uid
goodboy:forkserver_singleton
goodboy:drop_main_kwarg
goodboy:asyncgen_closing_fix
goodboy:ring-latest
goodboy:0.1.0a5
goodboy:0.1.0a4
goodboy:0.1.0a3
goodboy:0.1.0a2
goodboy:0.1.0a1
goodboy:0.1.0a0
compare: goodboy:62b729a1062a301a3ae5cee5919c846ab725c0a7
goodboy:ng_tpts_planning
goodboy:wkt/tipc_backend_378
goodboy:wkt/wg_pyroute2_read
goodboy:wkt/addr_unpacking
goodboy:wkt/big_boi_docs_472_follow_ups
goodboy:wkt/fix_broadcast_lag_count
goodboy:wkt/pr510_review
goodboy:wkt/ai_skillz_run_tests_landing
goodboy:wkt/py_codestyle_linting
goodboy:wkt/macos_ci_reruns
goodboy:drop_ria_nursery
goodboy:wkt/to_actor_subpkg
goodboy:pformat_caller_frame_render_guard
goodboy:wkt/pr484_rebase_v2
goodboy:wkt/pr493_review
goodboy:wkt/uds_macos_473
goodboy:wkt/boot_latency_470
goodboy:wkt/pr478_review
goodboy:mtf_backend
goodboy:windows_support_round2
goodboy:to_actor.open_taskman
goodboy:aiskillz_updates
goodboy:wkt/start_or_cancel_tests_474
goodboy:wkt/moc_teardown_completion
goodboy:boot_latency_470
goodboy:test_cpu_throttling
goodboy:docs_vibed_for_serious
goodboy:wkt/rm_test_warnings
goodboy:custom_log_levels_api
goodboy:trionics_start_or_cancel
goodboy:trio_033_upgrade
goodboy:tooling_skills_n_config_from_mtf_dev
goodboy:diag_xontrib_aclis
goodboy:test_suite_hardening
goodboy:testing_harness_infra
goodboy:devx_observability
goodboy:runtime_core_fixes
goodboy:packaging_py314_prep
goodboy:wkt/tooling_enhancements_from_mtf_spawner
goodboy:custom_log_levels
goodboy:trio_0.33.0_support
goodboy:trionics.start_or_cancel
goodboy:subint_forkserver_backend
goodboy:subint_fork_backend
goodboy:subint_spawner_backend
goodboy:big_boi_docs
goodboy:subint_forkserver
goodboy:subint_fork_proto
goodboy:maybe_open_ctx_locking
goodboy:oco_supervisor_prototype
goodboy:free_threading_prep
goodboy:pld_dec_refinements
goodboy:auto_codecs
goodboy:ns_aware
goodboy:multicast_revertable_streams
goodboy:try_to_repl_clobber_aio_task
goodboy:to_asyncio_crash_handler
goodboy:piker_pin_macmini
goodboy:struct_field_filtering
goodboy:macos_dnks_fixes
goodboy:actor_cancelled_exc_type
goodboy:factor_into_hotbaud
goodboy:dereg_on_oserror
goodboy:hilevel_serman
goodboy:piker_pin
goodboy:py_tooling_updates
goodboy:to_asyncio_channel_iface
goodboy:tpt_tolerance
goodboy:copilot_typing_suggestions
goodboy:root_actor_raddrs_fix
goodboy:log_sys_testing
goodboy:nixos_flake
goodboy:clustering_to_experimental
goodboy:treat_CREs_as_tptclosed
goodboy:CONT_log_sys_testing
goodboy:macos_fixed_2025
goodboy:macos_support
goodboy:final_eg_refinements
goodboy:main
goodboy:cancelled_masking_guards
goodboy:strict_egs_everywhere
goodboy:POST_final_eg_refinements_failafter_investigation
goodboy:to_asyncio_eoc_signal
goodboy:enable_tpts
goodboy:repl_fixture
goodboy:SDOF_pre_sin_testing_XPSBACKUP
goodboy:cluster_api_egs_conflict
goodboy:moar_eg_smoothing
goodboy:pytest_pluginize
goodboy:structural_dynamics_of_flow
goodboy:one_ring_to_rule_them_all
goodboy:one_ring_to_rule_them_all_FROZEN_20250619
goodboy:leslies_extra_appendix
goodboy:shm_apis
goodboy:ext_type_plds
goodboy:py313_support
goodboy:aio_abandons
goodboy:sc_super_proto_dgrams
goodboy:runtime_to_msgspec
goodboy:pkg_tidying
goodboy:multihost_exs
goodboy:uv_migration_pre_msgspec_in_runtime
goodboy:remote_inceptions
goodboy:ext_type_plds_XPS_BACKUP
goodboy:modden_spawn_from_client_req
goodboy:multihomed
goodboy:devx_subpkg
goodboy:asyncio_debugger_support
goodboy:ctx_cancel_semantics_and_overruns
goodboy:pre_pretty_struct_dep_commit_b54cb66
goodboy:ctx_cancel_semantics_and_overruns_REVERSED_FACEPALM
goodboy:uv_migration
goodboy:to_asyncio_refinery
goodboy:runtime_to_msgspec_XPS_BACKUP
goodboy:rae_message_packing
goodboy:msg_codecs
goodboy:old_msg_types
goodboy:asyncio_debug_mode
goodboy:pause_from_sync_w_greenback
goodboy:mv_to_new_trio_py3.11
goodboy:modden_spawn_from_client_req_XPS_BACKUP
goodboy:shielded_ctx_cancel
goodboy:ctx_cancel_semantics_and_overruns_XPS_GH_BACKUP
goodboy:msgtypes
goodboy:master
goodboy:switch_to_pdbp
goodboy:proper_breakpoint_hooking
goodboy:drop_proc_actxmngr
goodboy:ctx_result_consumption
goodboy:readme_touchups
goodboy:ipython_integration
goodboy:breceiver_internals
goodboy:ipc_failure_while_streaming
goodboy:deprecate_arbiter_addr
goodboy:prompt_on_ctrlc
goodboy:dun_unset_current_actor
goodboy:ipc_failwhilestream_backup
goodboy:macos_in_ci
goodboy:harden_cluster_tests
goodboy:eg_backup
goodboy:exceptiongroups
goodboy:egs_with_ctx_res_consumption
goodboy:debug_lock_blocking
goodboy:callable_key_maybe_open_context
goodboy:spawn_backend_table
goodboy:pin_pre_trio_0.22
goodboy:pytest_report_workaround
goodboy:lifetime_stack_tests
goodboy:we_bein_all_matchy
goodboy:debug_event_guard
goodboy:disable_win_ci
goodboy:alpha5
goodboy:signint_saviour
goodboy:sigintsaviour_citesthackin
goodboy:sigintsaviour_ci_worked
goodboy:aio_error_propagation
goodboy:drop_msgpack
goodboy:310_windows
goodboy:ci_sdist_install
goodboy:include_readme
goodboy:310_plus
goodboy:name_query
goodboy:sort_subs_results_infected_aio
goodboy:aio_explicit_task_cancels
goodboy:fence_mp
goodboy:sigint_ignore_in_pdb_repl
goodboy:sigint2
goodboy:msgpack_lists_by_default
goodboy:nspaths
goodboy:experimental_subpkg
goodboy:maybe_cancel_the_cancel_
goodboy:moar_timeoutz
goodboy:drop_old_nooz_files
goodboy:raise_runinactor_error
goodboy:win_ci_timeout
goodboy:alpha4
goodboy:infect_asyncio
goodboy:expected_ctx_cancelled
goodboy:new_mypy
goodboy:context_caching
goodboy:end_of_channel_fixes
goodboy:agpl_commit_msg_fix
goodboy:agpl
goodboy:stricter_context_starting
goodboy:acked_backup
goodboy:faster_daemon_cancels
goodboy:early_deth_fixes
goodboy:clusters_and_hot_tips
goodboy:alpha3
goodboy:pubsub_startup_response_msg
goodboy:iaio_backup
goodboy:trionics
goodboy:graceful_gather
goodboy:246_facepalm_backup
goodboy:patch-async-enter-all
goodboy:immediate_remote_cancels
goodboy:less_logging
goodboy:zombie_lord_infinite
goodboy:optional_msgspec_support
goodboy:fix_kbi_in_ctx_block
goodboy:logo_tweaks
goodboy:use_trio_on_win
goodboy:alpha2
goodboy:msgspec_infect_asyncio
goodboy:live_on_air_from_tokio
goodboy:tokio_backup
goodboy:debugger_test_tweaks
goodboy:fix_news_links
goodboy:wats_da_nooz
goodboy:ctx_debugger
goodboy:bi_streaming_no_debugger_stuff
goodboy:round_2_ci_windows
goodboy:CI_increment_for_windows_bidirstreaming
goodboy:ctx_debugger_from_hardening
goodboy:infect_asyncio_backup
goodboy:debugger_hardening
goodboy:bi_streaming
goodboy:transport_cleaning
goodboy:context_finesse
goodboy:cf_backup
goodboy:db_backup
goodboy:pre_bad_close
goodboy:stdstream_clobber_fix
goodboy:bistream_backup
goodboy:transport_hardening
goodboy:msgspec_not_fucked
goodboy:try_msgspec
goodboy:prehardkill
goodboy:windows_bi_streaming
goodboy:docs_revamp
goodboy:new_docs_polish
goodboy:wip_fix_asyncio_gen_streaming
goodboy:drop_run
goodboy:mp_teardown_hardening
goodboy:stream_contexts
goodboy:drop_sync_funcs
goodboy:pub_connect_msg
goodboy:sync_cancel
goodboy:stream_clones
goodboy:first_pypi_release
goodboy:single_func_example
goodboy:readme_pump
goodboy:kinda_drop_run
goodboy:mp_hang_search
goodboy:eg_worker_poolz
goodboy:sync_breakpoint
goodboy:actor_state_via_messages
goodboy:we_aint_got_zombie_shields
goodboy:deprecate_rpcmodpaths
goodboy:implicit_runtime
goodboy:drop_tractor_run
goodboy:py3.9
goodboy:denoise_logging
goodboy:func_refs_always
goodboy:fix_debug_tests_in_ci_again
goodboy:stream_channel_shield
goodboy:pdb_madness
goodboy:advanced_debugger_testing
goodboy:clean_log_header
goodboy:debug_refine
goodboy:debug_refinements
goodboy:drop_warn
goodboy:multiproc_debug
goodboy:debugger_on_windows
goodboy:bug_in_debug
goodboy:debug_tests
goodboy:native_debugging
goodboy:matrix
goodboy:dereg_on_channel_aclose
goodboy:ensure_deregister
goodboy:start_up_sequence_trickery
goodboy:fix_win_ci_again
goodboy:stin_char_relay
goodboy:flaky_tests
goodboy:drop_cloudpickle
goodboy:reorg_entry_points
goodboy:drop-trip-update-trio
goodboy:init_sphinx_docs
goodboy:example_tests
goodboy:implicit_rpc
goodboy:fix_examples_in_docs
goodboy:try_trip
goodboy:log_task_context
goodboy:drop_event_clear
goodboy:more_thorough_super_tests
goodboy:pip_ci_fix
goodboy:windows_support
goodboy:rename_forkserver_mod
goodboy:user_update
goodboy:win_ci
goodboy:stream_functions
goodboy:propagate_loglevel
goodboy:ipc_iternals_renaming
goodboy:close_mem_chans
goodboy:docs_example_fixes
goodboy:spawn_method_support
goodboy:trio_memchans
goodboy:contexts
goodboy:remote_module_errors
goodboy:remote_task_cancelling
goodboy:fix_46
goodboy:loglevel_to_tractor_tests
goodboy:expose_tractor_test
goodboy:improved_errors
goodboy:self_register
goodboy:multi_program_tests
goodboy:tests_reorg
goodboy:type_annotations
goodboy:py3.7_tweaks
goodboy:reliable_cancel_tests
goodboy:attrs_it_up
goodboy:wait_for_actor
goodboy:draft_readme
goodboy:init_docs
goodboy:reg_with_uid
goodboy:forkserver_singleton
goodboy:drop_main_kwarg
goodboy:asyncgen_closing_fix
goodboy:ring-latest
goodboy:0.1.0a5
goodboy:0.1.0a4
goodboy:0.1.0a3
goodboy:0.1.0a2
goodboy:0.1.0a1
goodboy:0.1.0a0
6 Commits
52db018a94
...
62b729a106
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
62b729a106 |
Add prompt-io entries for gh #470 latency work
Log the AI-assisted session per the NLNet generative-AI policy: prompt, profiling findings, per-file diff pointers, measured results and the unimplemented `pdbp`/`platformdirs` deferral follow-ups. (this patch was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-code |
|
|
|
213a298aad |
Defer `asyncio` import via PEP-562 `.to_asyncio`
`asyncio` (~5ms) only matters for infected-aio actors yet gets imported by every cold `import tractor` via module-lvl `.to_asyncio` imports in the debug-REPL + spawn-entry mods. Deats, - `devx.debug._trace`/`._tty_lock`: mv `import asyncio` under `TYPE_CHECKING` + fn-local it at the two `asyncio.current_task()` call-sites; fn-local the `run_trio_task_in_future` imports in the infected-aio-only branches. - `spawn._entry`: fn-local `run_as_asyncio_guest` inside the `infect_asyncio=True` branches of `_mp_main()`/ `_trio_main()`. - `tractor/__init__.py`: add a PEP-562 module `__getattr__` lazy-loading `.to_asyncio` on first attr-access so the public `tractor.to_asyncio.<attr>` API (e.g. `LinkedTaskChannel` annots in `test_child_manages_service_nursery.py` + downstream users) keeps working unchanged. Prompt-IO: ai/prompt-io/claude/20260702T155626Z_65bf9df5_prompt_io.md (this patch was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-code |
|
|
|
d1d3fc58bb |
Lazy-import optional 3rd-party deps (gh #470)
Move every import-time-only-by-accident dep off the eager `import tractor` path so cold child-actor boots only pay for what they actually use: - `bidict` -> `TYPE_CHECKING` in `discovery._addr` (annotation-only; `_address_types` is a plain `dict` literal). - `multiaddr` -> `TYPE_CHECKING` + fn-local imports in `discovery._multiaddr.mk_maddr()`/`parse_maddr()`; also `TYPE_CHECKING` the `Multiaddr` annots in `ipc._tcp`/`._uds` (adds future-annots to `._multiaddr`). - `colorlog` -> fn-local in `log.get_console_log()`. - `pdbp` + `wrapt` -> fn-local in `devx._frame_stack.hide_runtime_frames()`/`api_frame()`. - `platformdirs` -> fn-local in `runtime._state.get_rt_dir()`. Still eager (documented follow-ups), - `pdbp` via `devx.debug._repl` class-bases (`PdbREPL(pdbp.Pdb)`) + the module-lvl `@pdbp.hideframe` in `._tty_lock`; needs a `._repl` restructure. - `platformdirs` via the `UDSAddress.def_bindspace: ClassVar` class-body eval of `get_rt_dir()`; needs an `Address`-proto rework. - `stackscope` is already fn-local; `setproctitle` is not imported anywhere. Prompt-IO: ai/prompt-io/claude/20260702T155626Z_65bf9df5_prompt_io.md (this patch was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-code |
|
|
|
a2c8af558e |
Use `sys._getframe()` in `get_logger()` mod lookup
`get_caller_mod()` (nested in `get_logger()`) walks the WHOLE call-stack via `inspect.stack()`, which also resolves src-file info for every frame and scans all of `sys.modules` per frame via `inspect.getmodule()`. During nested imports (deep importlib stacks) each module-level `get_logger()` call costs ~5-10ms, making the ~39 such calls dominate `import tractor` wall-time: ~244ms of the ~420ms total (see gh #470). Deats, - resolve the caller frame with `sys._getframe(frames_up)` and map its `f_globals['__name__']` through `sys.modules`: O(1) vs. O(stack x sys.modules). - guard `ValueError` (stack too shallow) -> `None`, matching the existing null-caller handling at all use-sites. - drop the now-unused `inspect` imports; pull `FrameType` from `types` instead. Results: `import tractor` drops 0.42s -> ~0.155s; sequential `.start_actor()` spawn latency ~0.42 -> ~0.18s/actor. Prompt-IO: ai/prompt-io/claude/20260702T155626Z_65bf9df5_prompt_io.md (this patch was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-code |
|
|
|
3ad7e7e5dc
|
Merge pull request #459 from goodboy/dependabot/uv/idna-3.15
Bump idna from 3.10 to 3.18 |
|
|
|
4b4cc76263 |
Bump idna from 3.10 to 3.18
Bumps [idna](https://github.com/kjd/idna) from 3.10 to 3.18. - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md) - [Commits](https://github.com/kjd/idna/compare/v3.10...v3.18) --- updated-dependencies: - dependency-name: idna dependency-version: '3.18' dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
1 changed files with 3 additions and 3 deletions
6
uv.lock
6
uv.lock
|
|
@ -308,11 +308,11 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "idna"
|
||||
version = "3.10"
|
||||
version = "3.18"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490, upload-time = "2024-09-15T18:07:39.745Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/cd/63/9496c57188a2ee585e0f1db071d75089a11e98aa86eb99d9d7618fc1edce/idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848", size = 196711, upload-time = "2026-06-02T14:34:07.794Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442, upload-time = "2024-09-15T18:07:37.964Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/1e/5e/d4e9f1a599fb8e573b7b87160658329fbf28d19eac2718f51fc3def3aa5a/idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2", size = 65455, upload-time = "2026-06-02T14:34:06.319Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
|||
Write
Preview
Loading…
Reference in New Issue