Title: uninstrumented functions may be called · Issue #365 · getappmap/appmap-python · GitHub
Open Graph Title: uninstrumented functions may be called · Issue #365 · getappmap/appmap-python
X Title: uninstrumented functions may be called · Issue #365 · getappmap/appmap-python
Description: If application code saves a reference to function when the code is imported, a call to that function won't generate any events in the recording. For example, with this definition def free_method(): return "free method" def Example: stati...
Open Graph Description: If application code saves a reference to function when the code is imported, a call to that function won't generate any events in the recording. For example, with this definition def free_method():...
X Description: If application code saves a reference to function when the code is imported, a call to that function won't generate any events in the recording. For example, with this definition def free_metho...
Opengraph URL: https://github.com/getappmap/appmap-python/issues/365
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"uninstrumented functions may be called","articleBody":"If application code saves a reference to function when the code is imported, a call to that function won't generate any events in the recording.\r\n\r\nFor example, with this definition\r\n\r\n```python\r\ndef free_method():\r\n return \"free method\"\r\n\r\ndef Example:\r\n static_method = staticmethod(partial(free_method))\r\n\r\nExample.static_method()\r\n```\r\nno events for the call to `free_method` will be recorded. This is because instrumentation of `free_method` happens after the module is loaded, and so after the call to `partial(free_method))` has saved the reference to `free_method`.\r\n","author":{"url":"https://github.com/apotterri","@type":"Person","name":"apotterri"},"datePublished":"2024-07-31T09:26:00Z","url":"https://github.com/getappmap/appmap-python/issues/365"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:06d6d804-cb58-e76e-96f5-60cc670f69bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C69E:2C4C9:17DF9F0:1F7E930:6B032067 |
| html-safe-nonce | 428cd75f44edfa5781f2b78830e84dae158a470adaa4e3eb27b3a6552122c44b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjlFOjJDNEM5OjE3REY5RjA6MUY3RTkzMDo2QjAzMjA2NyIsInZpc2l0b3JfaWQiOiI2MTIwMTU0ODk4MDc0OTExNzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 410b1a7a85b7fe2ca1a38fe0af5f4b0b0060310d5baa9a3c24ad6d1fba28f7a5 |
| hovercard-subject-tag | issue:2439572087 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getappmap/appmap-python/365/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da7007e5d8d21560b4a819ab66d52343f373e9011eb3205d7fdeb70bb7fa1fba/getappmap/appmap-python/issues/365 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da7007e5d8d21560b4a819ab66d52343f373e9011eb3205d7fdeb70bb7fa1fba/getappmap/appmap-python/issues/365 |
| og:image:alt | If application code saves a reference to function when the code is imported, a call to that function won't generate any events in the recording. For example, with this definition def free_method():... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | apotterri |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getappmap/appmap-python git https://github.com/getappmap/appmap-python.git |
| octolytics-dimension-user_id | 46610017 |
| octolytics-dimension-user_login | getappmap |
| octolytics-dimension-repository_id | 314785884 |
| octolytics-dimension-repository_nwo | getappmap/appmap-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 314785884 |
| octolytics-dimension-repository_network_root_nwo | getappmap/appmap-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width