Title: __lazy_import__ errors in test_xpickle · Issue #144878 · python/cpython · GitHub
Open Graph Title: __lazy_import__ errors in test_xpickle · Issue #144878 · python/cpython
X Title: __lazy_import__ errors in test_xpickle · Issue #144878 · python/cpython
Description: Bug report Bug description: ERROR: test_builtin_functions (test.test_xpickle.CPicklePython314Compat.test_builtin_functions) (name='__lazy_import__', proto=1) ---------------------------------------------------------------------- Tracebac...
Open Graph Description: Bug report Bug description: ERROR: test_builtin_functions (test.test_xpickle.CPicklePython314Compat.test_builtin_functions) (name='__lazy_import__', proto=1) ---------------------------------------...
X Description: Bug report Bug description: ERROR: test_builtin_functions (test.test_xpickle.CPicklePython314Compat.test_builtin_functions) (name='__lazy_import__', proto=1) -------------------------------...
Opengraph URL: https://github.com/python/cpython/issues/144878
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"__lazy_import__ errors in test_xpickle","articleBody":"# Bug report\n\n### Bug description:\n\n```pytb\nERROR: test_builtin_functions (test.test_xpickle.CPicklePython314Compat.test_builtin_functions) (name='__lazy_import__', proto=1)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/Users/skip/src/python/cpython/Lib/test/pickletester.py\", line 3238, in test_builtin_functions\n s = self.dumps(t, proto)\n File \"/Users/skip/src/python/cpython/Lib/test/test_xpickle.py\", line 190, in dumps\n return self.send_to_worker(python, data)\n ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^\n File \"/Users/skip/src/python/cpython/Lib/test/test_xpickle.py\", line 172, in send_to_worker\n raise exception\nAttributeError: module 'builtins' has no attribute '__lazy_import__'\n```\n\n`test_xpickle` seems to be failing with the above traceback for every version it's tested with and for all protocols. I have a bunch of versions available, 2.7 and 3.7-3.14 in addition to main. The above traceback is from my Mac, but I get the same failure on my Linux laptop.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux, macOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-144889\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/smontanaro","@type":"Person","name":"smontanaro"},"datePublished":"2026-02-16T15:00:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/144878/cpython/issues/144878"}
| 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:1cef15c3-aeb8-9bdc-d59c-f8ee73ebea98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCDC:73E1D:8D8822:BED9C5:6A505733 |
| html-safe-nonce | 826f02d85b39d02beeaa0f1b445d984a13e7cb5a65fb82689a82853db87c6746 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0RDOjczRTFEOjhEODgyMjpCRUQ5QzU6NkE1MDU3MzMiLCJ2aXNpdG9yX2lkIjoiODE3MzIxOTYyNjcyNzAwMzk1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 13fc946dd5c24e273de5f2fd4b2e3802a71881979f3525f5d11ca1ed781f4444 |
| hovercard-subject-tag | issue:3948190723 |
| 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/python/cpython/144878/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f9c559c902139fc3592ecde50a0ab2c6e8e9a43cdcce0a29b76ca3e73323898/python/cpython/issues/144878 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f9c559c902139fc3592ecde50a0ab2c6e8e9a43cdcce0a29b76ca3e73323898/python/cpython/issues/144878 |
| og:image:alt | Bug report Bug description: ERROR: test_builtin_functions (test.test_xpickle.CPicklePython314Compat.test_builtin_functions) (name='__lazy_import__', proto=1) ---------------------------------------... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | smontanaro |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width