Title: test_pyrepl and test_shelve fail on FreeBSD16 · Issue #144423 · python/cpython · GitHub
Open Graph Title: test_pyrepl and test_shelve fail on FreeBSD16 · Issue #144423 · python/cpython
X Title: test_pyrepl and test_shelve fail on FreeBSD16 · Issue #144423 · python/cpython
Description: FreeeBSD16 buildbot: https://buildbot.python.org/#/builders/1857/builds/23 test_shelve failure: ERROR: test_custom_serializer_and_deserializer (test.test_shelve.TestCase.test_custom_serializer_and_deserializer) (proto=5) ----------------...
Open Graph Description: FreeeBSD16 buildbot: https://buildbot.python.org/#/builders/1857/builds/23 test_shelve failure: ERROR: test_custom_serializer_and_deserializer (test.test_shelve.TestCase.test_custom_serializer_and_...
X Description: FreeeBSD16 buildbot: https://buildbot.python.org/#/builders/1857/builds/23 test_shelve failure: ERROR: test_custom_serializer_and_deserializer (test.test_shelve.TestCase.test_custom_serializer_and_...
Opengraph URL: https://github.com/python/cpython/issues/144423
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_pyrepl and test_shelve fail on FreeBSD16","articleBody":"FreeeBSD16 buildbot: https://buildbot.python.org/#/builders/1857/builds/23\n\ntest_shelve failure:\n\n```\nERROR: test_custom_serializer_and_deserializer (test.test_shelve.TestCase.test_custom_serializer_and_deserializer) (proto=5)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/var/db/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/test_shelve.py\", line 205, in test_custom_serializer_and_deserializer\n s[\"bytearray_data\"] = bytearray_data\n ~^^^^^^^^^^^^^^^^^^\n File \"/var/db/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/shelve.py\", line 137, in __setitem__\n self.dict[key.encode(self.keyencoding)] = serialized_value\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: dbm mappings have bytes or string elements only\n```\n\ntest_pyrepl failure:\n\n```\nFAIL: test_no_newline (test.test_pyrepl.test_pyrepl.TestMain.test_no_newline)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/var/db/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/support/__init__.py\", line 3048, in wrapper\n return func(*args, **kwargs)\n File \"/var/db/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/test_pyrepl/test_pyrepl.py\", line 1952, in test_no_newline\n self.assertIn(expected_output_sequence, basic_output)\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: 'Something pretty long\u003e\u003e\u003e exit()' not found in 'print(\\'Something pretty long\\', end=\\'\\')\\r\\nexit()\\r\\nPython 3.15.0a5+ (heads/main:bb917d83b16, Feb 3 2026, 13:51:15) [Clang 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd7080 on freebsd\\r\\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\\r\\n\u003e\u003e\u003e Something pretty long\u003e\u003e\u003e '\n```","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2026-02-03T13:43:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/144423/cpython/issues/144423"}
| 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:714d3297-bce1-c494-5029-5d22efa00477 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA22:3463DE:B442BD:F3D83F:6A4ED40B |
| html-safe-nonce | 8a8226ab75997b3b2eed70593aa53b227b376737d89b4111bd558e0fea3049f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTIyOjM0NjNERTpCNDQyQkQ6RjNEODNGOjZBNEVENDBCIiwidmlzaXRvcl9pZCI6IjM1MDYyOTkxNjkyMzE3ODcwMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b147649e358446f7dd60274a6602d7242185571e3ac044b3adba5fa7a601b8b4 |
| hovercard-subject-tag | issue:3891353100 |
| 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/144423/issue_layout |
| twitter:image | https://opengraph.githubassets.com/77ca1c537d5f6a149b722d34a327d391646aa5ec50100ae57b2f526f7748a64c/python/cpython/issues/144423 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/77ca1c537d5f6a149b722d34a327d391646aa5ec50100ae57b2f526f7748a64c/python/cpython/issues/144423 |
| og:image:alt | FreeeBSD16 buildbot: https://buildbot.python.org/#/builders/1857/builds/23 test_shelve failure: ERROR: test_custom_serializer_and_deserializer (test.test_shelve.TestCase.test_custom_serializer_and_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width