René's URL Explorer Experiment


Title: Support Bun · Issue #305 · extrabacon/python-shell · GitHub

Open Graph Title: Support Bun · Issue #305 · extrabacon/python-shell

X Title: Support Bun · Issue #305 · extrabacon/python-shell

Description: Describe the bug python-shell doesn't work on Bun. Python code See the below. Javascript code https://github.com/extrabacon/python-shell#running-python-code import { PythonShell } from 'python-shell'; PythonShell.runString('x=1+1;print(x...

Open Graph Description: Describe the bug python-shell doesn't work on Bun. Python code See the below. Javascript code https://github.com/extrabacon/python-shell#running-python-code import { PythonShell } from 'python-shel...

X Description: Describe the bug python-shell doesn't work on Bun. Python code See the below. Javascript code https://github.com/extrabacon/python-shell#running-python-code import { PythonShell } from 'pyt...

Opengraph URL: https://github.com/extrabacon/python-shell/issues/305

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support Bun","articleBody":"**Describe the bug**\r\n`python-shell` doesn't work on [Bun](https://github.com/oven-sh/bun).\r\n\r\n**Python code**\r\nSee the below.\r\n\r\n**Javascript code**\r\nhttps://github.com/extrabacon/python-shell#running-python-code\r\n\r\n```js\r\nimport { PythonShell } from 'python-shell';\r\n\r\nPythonShell.runString('x=1+1;print(x)', null).then((messages) =\u003e {\r\n  console.log('finished');\r\n});\r\n```\r\n\r\n**Expected behavior**\r\n`2` is shown.\r\n\r\n**Actual behavior**\r\n```\r\n$ bun example.js\r\n128 |         this.stderrParser = resolve('parse', options.stderrParser || 'text');\r\n129 |         this.terminated = false;\r\n130 |         this.childProcess = (0, child_process_1.spawn)(pythonPath, this.command, options);\r\n131 |         ['stdout', 'stdin', 'stderr'].forEach(function (name) {\r\n132 |             self[name] = self.childProcess[name];\r\n133 |             self.parser \u0026\u0026 self[name] \u0026\u0026 self[name].setEncoding(options.encoding || 'utf8');\r\n                                               ^\r\nTypeError: self[name].setEncoding is not a function. (In 'self[name].setEncoding(options.encoding || \"utf8\")', 'self[name].setEncoding' is undefined)\r\n      at /Users/exkazuu/ghq/github.com/WillBoosterLab/repair-ai/node_modules/python-shell/index.js:133:42\r\n      at forEach (:1:21)\r\n      at new PythonShell (/Users/exkazuu/ghq/github.com/WillBoosterLab/repair-ai/node_modules/python-shell/index.js:131:9)\r\n      at /Users/exkazuu/ghq/github.com/WillBoosterLab/repair-ai/node_modules/python-shell/index.js:252:27\r\n      at new Promise (:1:21)\r\n      at run (/Users/exkazuu/ghq/github.com/WillBoosterLab/repair-ai/node_modules/python-shell/index.js:251:16)\r\n      at /Users/exkazuu/ghq/github.com/WillBoosterLab/repair-ai/example.js:3:1\r\n\r\nBun v1.1.8 (macOS arm64)\r\n```\r\n\r\n**Other Information (please complete the following information):**\r\n - OS: `macOS`\r\n - Python Version `3.12.3`\r\n - Node Version `Bun v1.1.8 (macOS arm64)`\r\n\r\n**Additional context**\r\nNothing.","author":{"url":"https://github.com/exKAZUu","@type":"Person","name":"exKAZUu"},"datePublished":"2024-05-11T06:55:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/305/python-shell/issues/305"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3e52e152-6824-801c-c449-76f5f90eb5a9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBB0C:1A3A28:26D1A9E:324D32C:69747981
html-safe-nonce0c8227b0f689eac520e9e84e63a47fce6b7f781c6764fe4f740342de1d085e6c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjBDOjFBM0EyODoyNkQxQTlFOjMyNEQzMkM6Njk3NDc5ODEiLCJ2aXNpdG9yX2lkIjoiODM0Njc1NTAzNTgyMzM3MjY3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6135506c6aa8b064e7b5f7d63cf4a7f7c23ccb0434a8e9cd2552aca38dfe3ca6
hovercard-subject-tagissue:2290727097
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/extrabacon/python-shell/305/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0408ec1b75f0402246e5f4bbf81f28cba55d1d5e181bc2a265ade52c6b6479f1/extrabacon/python-shell/issues/305
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0408ec1b75f0402246e5f4bbf81f28cba55d1d5e181bc2a265ade52c6b6479f1/extrabacon/python-shell/issues/305
og:image:altDescribe the bug python-shell doesn't work on Bun. Python code See the below. Javascript code https://github.com/extrabacon/python-shell#running-python-code import { PythonShell } from 'python-shel...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameexKAZUu
hostnamegithub.com
expected-hostnamegithub.com
Nonee0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c
turbo-cache-controlno-preview
go-importgithub.com/extrabacon/python-shell git https://github.com/extrabacon/python-shell.git
octolytics-dimension-user_id1558613
octolytics-dimension-user_loginextrabacon
octolytics-dimension-repository_id17671651
octolytics-dimension-repository_nwoextrabacon/python-shell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17671651
octolytics-dimension-repository_network_root_nwoextrabacon/python-shell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fe7e2e8de6e57740bca50402351ea656f7a4bf
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/extrabacon/python-shell/issues/305#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fextrabacon%2Fpython-shell%2Fissues%2F305
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fextrabacon%2Fpython-shell%2Fissues%2F305
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=extrabacon%2Fpython-shell
Reloadhttps://patch-diff.githubusercontent.com/extrabacon/python-shell/issues/305
Reloadhttps://patch-diff.githubusercontent.com/extrabacon/python-shell/issues/305
Reloadhttps://patch-diff.githubusercontent.com/extrabacon/python-shell/issues/305
extrabacon https://patch-diff.githubusercontent.com/extrabacon
python-shellhttps://patch-diff.githubusercontent.com/extrabacon/python-shell
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fextrabacon%2Fpython-shell
Fork 221 https://patch-diff.githubusercontent.com/login?return_to=%2Fextrabacon%2Fpython-shell
Star 2.2k https://patch-diff.githubusercontent.com/login?return_to=%2Fextrabacon%2Fpython-shell
Code https://patch-diff.githubusercontent.com/extrabacon/python-shell
Issues 55 https://patch-diff.githubusercontent.com/extrabacon/python-shell/issues
Pull requests 5 https://patch-diff.githubusercontent.com/extrabacon/python-shell/pulls
Actions https://patch-diff.githubusercontent.com/extrabacon/python-shell/actions
Projects 0 https://patch-diff.githubusercontent.com/extrabacon/python-shell/projects
Wiki https://patch-diff.githubusercontent.com/extrabacon/python-shell/wiki
Security 0 https://patch-diff.githubusercontent.com/extrabacon/python-shell/security
Insights https://patch-diff.githubusercontent.com/extrabacon/python-shell/pulse
Code https://patch-diff.githubusercontent.com/extrabacon/python-shell
Issues https://patch-diff.githubusercontent.com/extrabacon/python-shell/issues
Pull requests https://patch-diff.githubusercontent.com/extrabacon/python-shell/pulls
Actions https://patch-diff.githubusercontent.com/extrabacon/python-shell/actions
Projects https://patch-diff.githubusercontent.com/extrabacon/python-shell/projects
Wiki https://patch-diff.githubusercontent.com/extrabacon/python-shell/wiki
Security https://patch-diff.githubusercontent.com/extrabacon/python-shell/security
Insights https://patch-diff.githubusercontent.com/extrabacon/python-shell/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/extrabacon/python-shell/issues/305
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/extrabacon/python-shell/issues/305
Support Bunhttps://patch-diff.githubusercontent.com/extrabacon/python-shell/issues/305#top
bughttps://github.com/extrabacon/python-shell/issues?q=state%3Aopen%20label%3A%22bug%22
help wantedhttps://github.com/extrabacon/python-shell/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/exKAZUu
https://github.com/exKAZUu
exKAZUuhttps://github.com/exKAZUu
on May 11, 2024https://github.com/extrabacon/python-shell/issues/305#issue-2290727097
Bunhttps://github.com/oven-sh/bun
https://github.com/extrabacon/python-shell#running-python-codehttps://github.com/extrabacon/python-shell#running-python-code
bughttps://github.com/extrabacon/python-shell/issues?q=state%3Aopen%20label%3A%22bug%22
help wantedhttps://github.com/extrabacon/python-shell/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.