René's URL Explorer Experiment


Title: Convert six.moves.xrange() to range() for Python 3 by cclauss · Pull Request #10525 · matplotlib/matplotlib · GitHub

Open Graph Title: Convert six.moves.xrange() to range() for Python 3 by cclauss · Pull Request #10525 · matplotlib/matplotlib

X Title: Convert six.moves.xrange() to range() for Python 3 by cclauss · Pull Request #10525 · matplotlib/matplotlib

Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.

Open Graph Description: PR Summary As part of dropping support for Python 2, we can simplify the code by: removing all instances from six.moves import xrange and converting all calls to xrange() into calls to range().

X Description: PR Summary As part of dropping support for Python 2, we can simplify the code by: removing all instances from six.moves import xrange and converting all calls to xrange() into calls to range().

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/10525

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:7260e288-4c3d-b6b4-1137-aeb36290ec7c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id92C4:142C5A:22F31:2E11D:6A5320E4
html-safe-nonce539abc3a41b684197709eed0de98d68aa0e4a8dc791aea73d6c2152f492e0d37
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkM0OjE0MkM1QToyMkYzMToyRTExRDo2QTUzMjBFNCIsInZpc2l0b3JfaWQiOiI2NTIxMDE4MTk3Mjg4NjM0NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6d2caf9d45940cd535d05e5752be327c3a8c99e1cb384fc3dd253397c1787b35
hovercard-subject-tagpull_request:169852336
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///pull_requests/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/10525
twitter:imagehttps://opengraph.githubassets.com/c934376e88cfaa42d714bf76e4d79bd1ad7f519832aa136269664f46d7d23d38/matplotlib/matplotlib/pull/10525
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c934376e88cfaa42d714bf76e4d79bd1ad7f519832aa136269664f46d7d23d38/matplotlib/matplotlib/pull/10525
og:image:altPR Summary As part of dropping support for Python 2, we can simplify the code by: removing all instances from six.moves import xrange and converting all calls to xrange() into calls to range().
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecclauss
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/10525#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F10525
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%2Fmatplotlib%2Fmatplotlib%2Fpull%2F10525
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%2Fpull_requests%2Fshow&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/10525
Reloadhttps://github.com/matplotlib/matplotlib/pull/10525
Reloadhttps://github.com/matplotlib/matplotlib/pull/10525
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 408 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
dstansbyhttps://github.com/dstansby
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
cclauss:goodbye-xrangehttps://github.com/cclauss/matplotlib/tree/goodbye-xrange
Conversationhttps://github.com/matplotlib/matplotlib/pull/10525
Commits1 (1)https://github.com/matplotlib/matplotlib/pull/10525/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/10525/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/10525/files
Convert six.moves.xrange() to range() for Python 3https://github.com/matplotlib/matplotlib/pull/10525#top
dstansbyhttps://github.com/dstansby
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
cclauss:goodbye-xrangehttps://github.com/cclauss/matplotlib/tree/goodbye-xrange
https://github.com/cclauss
cclausshttps://github.com/cclauss
Feb 18, 2018https://github.com/matplotlib/matplotlib/pull/10525#issue-298122289
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/cclauss
cclausshttps://github.com/cclauss
force-pushedhttps://github.com/matplotlib/matplotlib/compare/8b9f2e749f233568e33c70a0f9e19dfbe387d20a..f73b62c6a16ff852fdbb91db61cccb1e4eb9b8f1
8b9f2e7https://github.com/matplotlib/matplotlib/commit/8b9f2e749f233568e33c70a0f9e19dfbe387d20a
f73b62chttps://github.com/matplotlib/matplotlib/commit/f73b62c6a16ff852fdbb91db61cccb1e4eb9b8f1
Compare https://github.com/matplotlib/matplotlib/compare/8b9f2e749f233568e33c70a0f9e19dfbe387d20a..f73b62c6a16ff852fdbb91db61cccb1e4eb9b8f1
February 18, 2018 22:26https://github.com/matplotlib/matplotlib/pull/10525#event-1479683346
https://github.com/dstansby
dstansbyhttps://github.com/dstansby
Py3k https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3APy3k
Feb 18, 2018https://github.com/matplotlib/matplotlib/pull/10525#event-1479706102
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Feb 19, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97422521
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files
jklymakhttps://github.com/jklymak
https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97422521
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/efiring
efiringhttps://github.com/efiring
Feb 19, 2018https://github.com/matplotlib/matplotlib/pull/10525#issuecomment-366563100
#10526https://github.com/matplotlib/matplotlib/issues/10526
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Feb 19, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97434039
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files
lib/matplotlib/cbook/__init__.pyhttps://github.com/matplotlib/matplotlib/pull/10525/files#diff-22d7b6f88a379f8ed094611e4034b673df1af718cd74a4b2981a192ff08e446f
anntzerhttps://github.com/anntzer
Feb 19, 2018https://github.com/matplotlib/matplotlib/pull/10525#discussion_r168982039
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Feb 19, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97434044
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files
lib/matplotlib/cbook/__init__.pyhttps://github.com/matplotlib/matplotlib/pull/10525/files#diff-22d7b6f88a379f8ed094611e4034b673df1af718cd74a4b2981a192ff08e446f
anntzerhttps://github.com/anntzer
Feb 19, 2018https://github.com/matplotlib/matplotlib/pull/10525#discussion_r168982046
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Feb 19, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97434200
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files
lib/matplotlib/colorbar.pyhttps://github.com/matplotlib/matplotlib/pull/10525/files#diff-250555d303944dc7fd3b69fe9a14f292f9b715d738a6a0649d7d62a7c8315b05
anntzerhttps://github.com/anntzer
Feb 19, 2018https://github.com/matplotlib/matplotlib/pull/10525#discussion_r168982179
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Feb 19, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97434261
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files
lib/matplotlib/mathtext.pyhttps://github.com/matplotlib/matplotlib/pull/10525/files#diff-1576a5f502008fa76ebeab602a6814b8d8e79f5fbc374f9134157daa66dd5a87
anntzerhttps://github.com/anntzer
Feb 19, 2018https://github.com/matplotlib/matplotlib/pull/10525#discussion_r168982236
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Feb 19, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97434326
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files
lib/matplotlib/sphinxext/plot_directive.pyhttps://github.com/matplotlib/matplotlib/pull/10525/files#diff-1565d78306cf72de5a28f4e2b196ee2cb09026d1f8aa2dc26178c3a47f3347b8
anntzerhttps://github.com/anntzer
Feb 19, 2018https://github.com/matplotlib/matplotlib/pull/10525#discussion_r168982284
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Feb 19, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97434392
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files
lib/mpl_toolkits/axes_grid1/colorbar.pyhttps://github.com/matplotlib/matplotlib/pull/10525/files#diff-83bdc31e73f3839e5e8edf8a9b3c27a5ca0bd9a8aaa2a67062b901955df68818
anntzerhttps://github.com/anntzer
Feb 19, 2018https://github.com/matplotlib/matplotlib/pull/10525#discussion_r168982351
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Feb 19, 2018https://github.com/matplotlib/matplotlib/pull/10525#event-1481402181
https://github.com/cclauss
cclausshttps://github.com/cclauss
force-pushedhttps://github.com/matplotlib/matplotlib/compare/dec88cfc4c814a65af8184bf2c415fdf70917eaa..8cf87984e7f7a6dee1d8a6cd24cdedaa1ac3f0ad
dec88cfhttps://github.com/matplotlib/matplotlib/commit/dec88cfc4c814a65af8184bf2c415fdf70917eaa
8cf8798https://github.com/matplotlib/matplotlib/commit/8cf87984e7f7a6dee1d8a6cd24cdedaa1ac3f0ad
Compare https://github.com/matplotlib/matplotlib/compare/dec88cfc4c814a65af8184bf2c415fdf70917eaa..8cf87984e7f7a6dee1d8a6cd24cdedaa1ac3f0ad
February 19, 2018 22:47https://github.com/matplotlib/matplotlib/pull/10525#event-1481413785
Convert six.moves.xrange() to range() for Python 3https://github.com/matplotlib/matplotlib/pull/10525/commits/b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
b64e2d1https://github.com/matplotlib/matplotlib/pull/10525/commits/b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
https://github.com/cclauss
cclausshttps://github.com/cclauss
force-pushedhttps://github.com/matplotlib/matplotlib/compare/8cf87984e7f7a6dee1d8a6cd24cdedaa1ac3f0ad..b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
8cf8798https://github.com/matplotlib/matplotlib/commit/8cf87984e7f7a6dee1d8a6cd24cdedaa1ac3f0ad
b64e2d1https://github.com/matplotlib/matplotlib/commit/b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
Compare https://github.com/matplotlib/matplotlib/compare/8cf87984e7f7a6dee1d8a6cd24cdedaa1ac3f0ad..b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
February 19, 2018 22:55https://github.com/matplotlib/matplotlib/pull/10525#event-1481420528
https://github.com/efiring
efiringhttps://github.com/efiring
Feb 19, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-97674637
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files/b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
https://github.com/dstansby
dstansbyhttps://github.com/dstansby
Feb 21, 2018 https://github.com/matplotlib/matplotlib/pull/10525#pullrequestreview-98199321
View reviewed changes https://github.com/matplotlib/matplotlib/pull/10525/files/b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
https://github.com/dstansby
dstansbyhttps://github.com/dstansby
3cdf539https://github.com/matplotlib/matplotlib/commit/3cdf53985eadb379068e5d016821659206d770bf
Feb 21, 2018https://github.com/matplotlib/matplotlib/pull/10525#event-1484701509
https://github.com/cclauss
cclausshttps://github.com/cclauss
February 21, 2018 14:21https://github.com/matplotlib/matplotlib/pull/10525#event-1484760743
In Axes.hist, 'range' kwarg shadows builtin 'range' needed for Py3 #10526 https://github.com/matplotlib/matplotlib/issues/10526
Special conversions of xrange() #10556 https://github.com/matplotlib/matplotlib/issues/10556
https://github.com/eric-wieser
eric-wieserhttps://github.com/eric-wieser
Mar 18, 2018 https://github.com/matplotlib/matplotlib/pull/10525#ref-pullrequest-282007857
MAINT/BUG: Don't use 5-sided quadrilaterals in Axes3D.plot_surface #10001 https://github.com/matplotlib/matplotlib/pull/10001
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/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%2Fmatplotlib%2Fmatplotlib%2Fpull%2F10525
https://github.com/anntzer
anntzer https://github.com/anntzer
https://github.com/matplotlib/matplotlib/pull/10525/files/f73b62c6a16ff852fdbb91db61cccb1e4eb9b8f1
https://github.com/efiring
efiring https://github.com/efiring
https://github.com/matplotlib/matplotlib/pull/10525/files/b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
https://github.com/jklymak
jklymak https://github.com/jklymak
https://github.com/matplotlib/matplotlib/pull/10525/files/f73b62c6a16ff852fdbb91db61cccb1e4eb9b8f1
https://github.com/dstansby
dstansby https://github.com/dstansby
https://github.com/matplotlib/matplotlib/pull/10525/files/b64e2d18daeec22fbb0f98c9155ac9d1b6bbf4cb
v3.0.0 https://github.com/matplotlib/matplotlib/milestone/23
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/10525
https://github.com/cclauss
https://github.com/efiring
https://github.com/anntzer
https://github.com/jklymak
https://github.com/dstansby
https://github.com/tacaswell
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.