René's URL Explorer Experiment


Title: redefining stdout in imported module breaks cmdprompt on windows · Issue #17 · ipython/ipython · GitHub

Open Graph Title: redefining stdout in imported module breaks cmdprompt on windows · Issue #17 · ipython/ipython

X Title: redefining stdout in imported module breaks cmdprompt on windows · Issue #17 · ipython/ipython

Description: Original Launchpad bug 383554: https://bugs.launchpad.net/ipython/+bug/383554 Reported by: techtonik (anatoly techtonik). When import the module that redefines stdout, the colorful IPython prompt breaks (pyreadline is at 1.5), although o...

Open Graph Description: Original Launchpad bug 383554: https://bugs.launchpad.net/ipython/+bug/383554 Reported by: techtonik (anatoly techtonik). When import the module that redefines stdout, the colorful IPython prompt b...

X Description: Original Launchpad bug 383554: https://bugs.launchpad.net/ipython/+bug/383554 Reported by: techtonik (anatoly techtonik). When import the module that redefines stdout, the colorful IPython prompt b...

Opengraph URL: https://github.com/ipython/ipython/issues/17

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"redefining stdout in imported module breaks cmdprompt on windows","articleBody":"Original Launchpad bug 383554: https://bugs.launchpad.net/ipython/+bug/383554\nReported by: techtonik (anatoly techtonik).\n\nWhen import the module that redefines stdout, the colorful IPython prompt breaks (pyreadline is at 1.5), although other colors work in error messages.\n\n```\nPython 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]\nType \"copyright\", \"credits\" or \"license\" for more information.\n\nIPython 0.9.1 -- An enhanced Interactive Python.\n?         -\u003e Introduction and overview of IPython's features.\n%quickref -\u003e Quick reference.\nhelp      -\u003e Python's own help system.\nobject?   -\u003e Details about 'object'. ?object also works, ?? prints more.\n\nIn [1]: from yyy import xxx\n\n☺←[0;32m☻In [☺←[1;32m☻2☺←[0;32m☻]: ☺←[0m☻\n\n☺←[0;32m☻In [☺←[1;32m☻3☺←[0;32m☻]: ☺←[0m☻some strange command\n------------------------------------------------------------\n   File \"\u003cipython console\u003e\", line 1\n     some strange command\n                ^\nSyntaxError: invalid syntax\n\n\n☺←[0;32m☻In [☺←[1;32m☻4☺←[0;32m☻]: ☺←[0m☻\n```\n\n-- cut xxx.py ---\n\n``` python\nimport sys\n\nclass restdout:\n    def __init__(self, fp):\n        self.fp = fp\n\n    def write(self, s):\n        self.fp.write(s)\n\nsys.stdout = restdout(sys.stdout)\n```\n","author":{"url":"https://github.com/ipython","@type":"Person","name":"ipython"},"datePublished":"2010-05-10T09:27:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/17/ipython/issues/17"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:95591a04-76be-f0eb-1845-17a4b7b5b050
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBECE:3007FC:F86042:15A02E7:6A4E8F5C
html-safe-nonce3989b27b711158d947cd154dbc887caf0e3c0620a61a6d356c6a6825f8eec782
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUNFOjMwMDdGQzpGODYwNDI6MTVBMDJFNzo2QTRFOEY1QyIsInZpc2l0b3JfaWQiOiI1MjQyOTIxODI2MTc1MDYxODUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac043bc5aac522383c63d70f4d58490520394b4bcefd72ddaaabbbc0a0795e510f
hovercard-subject-tagissue:191426
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/ipython/ipython/17/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2c04d81a141d7940d35addf2ca09755ef1915d6649ef2f7329654d71111e35bd/ipython/ipython/issues/17
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2c04d81a141d7940d35addf2ca09755ef1915d6649ef2f7329654d71111e35bd/ipython/ipython/issues/17
og:image:altOriginal Launchpad bug 383554: https://bugs.launchpad.net/ipython/+bug/383554 Reported by: techtonik (anatoly techtonik). When import the module that redefines stdout, the colorful IPython prompt b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameipython
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
go-importgithub.com/ipython/ipython git https://github.com/ipython/ipython.git
octolytics-dimension-user_id230453
octolytics-dimension-user_loginipython
octolytics-dimension-repository_id658518
octolytics-dimension-repository_nwoipython/ipython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id658518
octolytics-dimension-repository_network_root_nwoipython/ipython
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ipython/ipython/issues/17#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipython%2Fipython%2Fissues%2F17
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipython%2Fipython%2Fissues%2F17
Sign up https://github.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=ipython%2Fipython
Reloadhttps://github.com/ipython/ipython/issues/17
Reloadhttps://github.com/ipython/ipython/issues/17
Reloadhttps://github.com/ipython/ipython/issues/17
Please reload this pagehttps://github.com/ipython/ipython/issues/17
ipython https://github.com/ipython
ipythonhttps://github.com/ipython/ipython
Please reload this pagehttps://github.com/ipython/ipython/issues/17
Notifications https://github.com/login?return_to=%2Fipython%2Fipython
Fork 4.5k https://github.com/login?return_to=%2Fipython%2Fipython
Star 16.7k https://github.com/login?return_to=%2Fipython%2Fipython
Code https://github.com/ipython/ipython
Issues 1.3k https://github.com/ipython/ipython/issues
Pull requests 29 https://github.com/ipython/ipython/pulls
Actions https://github.com/ipython/ipython/actions
Projects https://github.com/ipython/ipython/projects
Wiki https://github.com/ipython/ipython/wiki
Security and quality 2 https://github.com/ipython/ipython/security
Insights https://github.com/ipython/ipython/pulse
Code https://github.com/ipython/ipython
Issues https://github.com/ipython/ipython/issues
Pull requests https://github.com/ipython/ipython/pulls
Actions https://github.com/ipython/ipython/actions
Projects https://github.com/ipython/ipython/projects
Wiki https://github.com/ipython/ipython/wiki
Security and quality https://github.com/ipython/ipython/security
Insights https://github.com/ipython/ipython/pulse
redefining stdout in imported module breaks cmdprompt on windowshttps://github.com/ipython/ipython/issues/17#top
bughttps://github.com/ipython/ipython/issues?q=state%3Aopen%20label%3A%22bug%22
windowshttps://github.com/ipython/ipython/issues?q=state%3Aopen%20label%3A%22windows%22
no actionhttps://github.com/ipython/ipython/milestone/11
https://github.com/ghost
ghosthttps://github.com/ghost
on May 10, 2010https://github.com/ipython/ipython/issues/17#issue-191426
https://bugs.launchpad.net/ipython/+bug/383554https://bugs.launchpad.net/ipython/+bug/383554
bughttps://github.com/ipython/ipython/issues?q=state%3Aopen%20label%3A%22bug%22
windowshttps://github.com/ipython/ipython/issues?q=state%3Aopen%20label%3A%22windows%22
no actionNo due datehttps://github.com/ipython/ipython/milestone/11
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.