René's URL Explorer Experiment


Title: register default deprecation warning filter. by Carreau · Pull Request #8480 · ipython/ipython · GitHub

Open Graph Title: register default deprecation warning filter. by Carreau · Pull Request #8480 · ipython/ipython

X Title: register default deprecation warning filter. by Carreau · Pull Request #8480 · ipython/ipython

Description: Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc. - register default deprecation warning filter. by Carreau · Pull Request #8480 · ipython/ipython

Open Graph Description: warn user if (s)he use a deprecated feature interactively. Closes #8478 In [1]: %run -i foo In [2]: foo() foo.py:4: DeprecationWarning: using a non-integer number instead of an integer will res...

X Description: warn user if (s)he use a deprecated feature interactively. Closes #8478 In [1]: %run -i foo In [2]: foo() foo.py:4: DeprecationWarning: using a non-integer number instead of an integer will res...

Mail addresses
notifications@github.com

Opengraph URL: https://github.com/ipython/ipython/pull/8480

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d7439300-3dfa-d3ed-0cf1-a448574b460d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C12:33DAD9:CCBA2B:11D93CA:6A4E86A8
html-safe-nonce790a0e08b5a4900b80e08db78d58122c05d50e08e0ad5ed94c2fb8217258ecaf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzEyOjMzREFEOTpDQ0JBMkI6MTFEOTNDQTo2QTRFODZBOCIsInZpc2l0b3JfaWQiOiIzNDQyNjg5NjE2OTUxMjgxMzIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac702c66d6b8c56eeb2706b85ffdda0769b1b32d2caafde2f24253bf96e7c2dbd8
hovercard-subject-tagpull_request:36330828
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/ipython/ipython/8480/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f82d1d36254c683183f53ef99679a75313eb7d0837e96078430dc04dcd374e2b/ipython/ipython/pull/8480
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f82d1d36254c683183f53ef99679a75313eb7d0837e96078430dc04dcd374e2b/ipython/ipython/pull/8480
og:image:altwarn user if (s)he use a deprecated feature interactively. Closes #8478 In [1]: %run -i foo In [2]: foo() foo.py:4: DeprecationWarning: using a non-integer number instead of an integer will res...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCarreau
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-cache
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/pull/8480#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipython%2Fipython%2Fpull%2F8480
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%2Fpull%2F8480
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=ipython%2Fipython
Reloadhttps://github.com/ipython/ipython/pull/8480
Reloadhttps://github.com/ipython/ipython/pull/8480
Reloadhttps://github.com/ipython/ipython/pull/8480
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
ipython https://github.com/ipython
ipythonhttps://github.com/ipython/ipython
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
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
minrkhttps://github.com/minrk
ipython:masterhttps://github.com/ipython/ipython/tree/master
Carreau:interactive-deprecation-warninghttps://github.com/Carreau/ipython/tree/interactive-deprecation-warning
Conversationhttps://github.com/ipython/ipython/pull/8480
Commits6 (6)https://github.com/ipython/ipython/pull/8480/commits
Checkshttps://github.com/ipython/ipython/pull/8480/checks
Files changedhttps://github.com/ipython/ipython/pull/8480/files
register default deprecation warning filter.https://github.com/ipython/ipython/pull/8480#top
minrkhttps://github.com/minrk
ipython:masterhttps://github.com/ipython/ipython/tree/master
Carreau:interactive-deprecation-warninghttps://github.com/Carreau/ipython/tree/interactive-deprecation-warning
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 27, 2015https://github.com/ipython/ipython/pull/8480#issue-81554948
#8478https://github.com/ipython/ipython/issues/8478
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
Carreauhttps://github.com/Carreau
May 27, 2015 10:53https://github.com/ipython/ipython/pull/8480#commits-pushed-1478e0d
https://github.com/Carreau
register default deprecation warning filter.https://github.com/ipython/ipython/pull/8480/commits/1478e0d7c7152dfcbe3c1c3d9ba58255f62fa2b7
1478e0dhttps://github.com/ipython/ipython/pull/8480/commits/1478e0d7c7152dfcbe3c1c3d9ba58255f62fa2b7
ipython#8478https://github.com/ipython/ipython/issues/8478
https://github.com/Carreau
Add test that interactive warning is shown.https://github.com/ipython/ipython/pull/8480/commits/a4980283bcca551b373f936ef4fa7aed6edc1729
a498028https://github.com/ipython/ipython/pull/8480/commits/a4980283bcca551b373f936ef4fa7aed6edc1729
https://github.com/Carreau
Carreauhttps://github.com/Carreau
force-pushedhttps://github.com/ipython/ipython/compare/83b2cd82872634e1661014da5d96f54b9e500c1a..a4980283bcca551b373f936ef4fa7aed6edc1729
83b2cd8https://github.com/ipython/ipython/commit/83b2cd82872634e1661014da5d96f54b9e500c1a
a498028https://github.com/ipython/ipython/commit/a4980283bcca551b373f936ef4fa7aed6edc1729
Compare https://github.com/ipython/ipython/compare/83b2cd82872634e1661014da5d96f54b9e500c1a..a4980283bcca551b373f936ef4fa7aed6edc1729
May 27, 2015 18:09https://github.com/ipython/ipython/pull/8480#event-315207686
https://github.com/Carreau
Test imported code does not raise deprecation warning.https://github.com/ipython/ipython/pull/8480/commits/4763214a42c979b36adda901811a4b8688f180a5
4763214https://github.com/ipython/ipython/pull/8480/commits/4763214a42c979b36adda901811a4b8688f180a5
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106025539
@njsmithhttps://github.com/njsmith
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/njsmith
njsmithhttps://github.com/njsmith
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106050341
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/minrk
minrkhttps://github.com/minrk
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106059969
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106060125
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106060747
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/Carreau
add info in whats newhttps://github.com/ipython/ipython/pull/8480/commits/c69d5c43b9524f9b09e47648de630b9425f51b2e
c69d5c4https://github.com/ipython/ipython/pull/8480/commits/c69d5c43b9524f9b09e47648de630b9425f51b2e
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106066045
#6680https://github.com/ipython/ipython/pull/6680
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/njsmith
njsmithhttps://github.com/njsmith
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106066649
#6680https://github.com/ipython/ipython/pull/6680
#6680https://github.com/ipython/ipython/pull/6680
#6680https://github.com/ipython/ipython/pull/6680
#8480 (comment)https://github.com/ipython/ipython/pull/8480#issuecomment-106066045
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106069834
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/njsmith
njsmithhttps://github.com/njsmith
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106107638
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/njsmith
njsmithhttps://github.com/njsmith
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106110045
https://bugs.python.org/issue24305https://bugs.python.org/issue24305
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
njsmithhttps://github.com/njsmith
May 27, 2015 https://github.com/ipython/ipython/pull/8480#discussion-diff-31191616
View reviewed changes https://github.com/ipython/ipython/pull/8480/files/c69d5c43b9524f9b09e47648de630b9425f51b2e#diff-f0df2d6942c603793b48dc8ba2b3032e7ebedcf05a2d65883c374b5b60ef2eb0
IPython/core/interactiveshell.pyhttps://github.com/ipython/ipython/pull/8480/files#diff-f0df2d6942c603793b48dc8ba2b3032e7ebedcf05a2d65883c374b5b60ef2eb0
njsmithhttps://github.com/njsmith
May 27, 2015https://github.com/ipython/ipython/pull/8480#discussion_r31191616
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/njsmith
njsmithhttps://github.com/njsmith
May 27, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106110243
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/njsmith
njsmithhttps://github.com/njsmith
May 28, 2015 https://github.com/ipython/ipython/pull/8480#ref-issue-81339587
DeprecationWarnings should be visible by default in interactive usage #8478 https://github.com/ipython/ipython/issues/8478
https://github.com/Carreau
use user-ns __name__https://github.com/ipython/ipython/pull/8480/commits/fb7adcb90c1a63f0235d91a2f6e87b8d0f5038a5
fb7adcbhttps://github.com/ipython/ipython/pull/8480/commits/fb7adcb90c1a63f0235d91a2f6e87b8d0f5038a5
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 28, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106146931
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 28, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106197537
https://mail.python.org/pipermail/python-ideas/2015-May/033740.htmlhttps://mail.python.org/pipermail/python-ideas/2015-May/033740.html
http://bugs.python.org/issue24294http://bugs.python.org/issue24294
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/minrk
minrkhttps://github.com/minrk
May 28, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106556067
Nick's commenthttps://mail.python.org/pipermail/python-ideas/2015-May/033743.html
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/Carreau
do not show pending deprecation warnignhttps://github.com/ipython/ipython/pull/8480/commits/e1b98ee4a9f1fbc48c6f711a56cda7e126cba92e
e1b98eehttps://github.com/ipython/ipython/pull/8480/commits/e1b98ee4a9f1fbc48c6f711a56cda7e126cba92e
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 28, 2015https://github.com/ipython/ipython/pull/8480#issuecomment-106569059
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
minrkhttps://github.com/minrk
Jun 1, 2015 https://github.com/ipython/ipython/pull/8480#ref-commit-3a35a5e
https://github.com/minrk
Merge pull requesthttps://github.com/ipython/ipython/commit/3a35a5e66957bfbfbbb09650f11bb17cbac200a6
#8480https://github.com/ipython/ipython/pull/8480
from Carreau/interactive-deprecation-warninghttps://github.com/ipython/ipython/commit/3a35a5e66957bfbfbbb09650f11bb17cbac200a6
3a35a5ehttps://github.com/ipython/ipython/commit/3a35a5e66957bfbfbbb09650f11bb17cbac200a6
https://github.com/minrk
minrkhttps://github.com/minrk
3a35a5ehttps://github.com/ipython/ipython/commit/3a35a5e66957bfbfbbb09650f11bb17cbac200a6
Jun 1, 2015https://github.com/ipython/ipython/pull/8480#event-319422235
https://github.com/minrk
minrkhttps://github.com/minrk
4.0https://github.com/ipython/ipython/milestone/21
Aug 11, 2015https://github.com/ipython/ipython/pull/8480#event-379736582
https://github.com/Carreau
Carreauhttps://github.com/Carreau
May 23, 2016 17:47https://github.com/ipython/ipython/pull/8480#event-669224331
https://github.com/Carreau
Carreauhttps://github.com/Carreau
Sep 27, 2018 https://github.com/ipython/ipython/pull/8480#ref-issue-364284961
Remove custom rule for deprecation warnigns in __main__ #11333 https://github.com/ipython/ipython/issues/11333
jasongrouthttps://github.com/jasongrout
Aug 26, 2022 https://github.com/ipython/ipython/pull/8480#ref-commit-707f06f
https://github.com/jasongrout
Calculate correct stack level for deprecation warnings to show them t…https://github.com/jasongrout/ipywidgets/commit/707f06f08b67fd15dea02938b7ccf2fca4fd2d75
707f06fhttps://github.com/jasongrout/ipywidgets/commit/707f06f08b67fd15dea02938b7ccf2fca4fd2d75
python/cpython#68493https://github.com/python/cpython/issues/68493
python/cpython#67998https://github.com/python/cpython/issues/67998
ipython/ipython#8478 (comment)https://github.com/ipython/ipython/issues/8478#issuecomment-106119371
ipython/ipython#8480 (comment)https://github.com/ipython/ipython/pull/8480#issuecomment-106107638
jasongrouthttps://github.com/jasongrout
Aug 26, 2022 https://github.com/ipython/ipython/pull/8480#ref-commit-9e1b382
https://github.com/jasongrout
Calculate correct stack level for deprecation warnings to show them t…https://github.com/jasongrout/ipywidgets/commit/9e1b38245dce881c7efe7c19d8e4c064a1198add
9e1b382https://github.com/jasongrout/ipywidgets/commit/9e1b38245dce881c7efe7c19d8e4c064a1198add
python/cpython#68493https://github.com/python/cpython/issues/68493
python/cpython#67998https://github.com/python/cpython/issues/67998
ipython/ipython#8478 (comment)https://github.com/ipython/ipython/issues/8478#issuecomment-106119371
ipython/ipython#8480 (comment)https://github.com/ipython/ipython/pull/8480#issuecomment-106107638
https://github.com/jasongrout
jasongrouthttps://github.com/jasongrout
Aug 26, 2022 https://github.com/ipython/ipython/pull/8480#ref-pullrequest-1352081196
Calculate correct stack level for deprecation warnings to show them to the user jupyter-widgets/ipywidgets#3569 https://github.com/jupyter-widgets/ipywidgets/pull/3569
https://github.co/hiddenchars
https://github.com/ipython/ipython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipython%2Fipython%2Fpull%2F8480
4.0 https://github.com/ipython/ipython/milestone/21
DeprecationWarnings should be visible by default in interactive usage https://github.com/ipython/ipython/issues/8478
Please reload this pagehttps://github.com/ipython/ipython/pull/8480
https://github.com/Carreau
https://github.com/njsmith
https://github.com/minrk
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.