Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: remove crawl.py #9375

Merged
merged 1 commit into from
Aug 30, 2020
Merged

samples: remove crawl.py #9375

merged 1 commit into from
Aug 30, 2020

Conversation

hauntsaninja
Copy link
Collaborator

This is no longer valid code on Python 3.9, so py39 CI fails on this sample.

We've talked previously about not investing in keeping these samples up to date:
#8838 (comment)

This is no longer valid code on Python 3.9, so py39 CI fails.
We've talked about not investing in keeping these samples up to date:
python#8838 (comment)
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, let's kill it. It seems based on https://github.com/aosabook/500lines/tree/master/crawler but I think at this point we have enough other real-world examples. :-)

@hauntsaninja hauntsaninja merged commit 2f291f2 into python:master Aug 30, 2020
@hauntsaninja hauntsaninja deleted the samp branch August 30, 2020 00:09
hauntsaninja added a commit that referenced this pull request Jan 8, 2022
I don't know that these have caught any real issues in the last couple
years, however, the standard library ones have been a bit of a pain,
most recently in #11905.

Jukka was okay removing the stdlib samples two years ago, see
#8838 (comment)
We now have tooling like mypy primer that runs mypy over a much larger
and more varied corpus of code on every PR.

The other samples haven't caused me much bother (except for crawl,
which I removed in #9375), but except for crawl2, they're all very simple.
I don't think they provide us much value, unless they have sentimental or
historical value.
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
I don't know that these have caught any real issues in the last couple
years, however, the standard library ones have been a bit of a pain,
most recently in python#11905.

Jukka was okay removing the stdlib samples two years ago, see
python#8838 (comment)
We now have tooling like mypy primer that runs mypy over a much larger
and more varied corpus of code on every PR.

The other samples haven't caused me much bother (except for crawl,
which I removed in python#9375), but except for crawl2, they're all very simple.
I don't think they provide us much value, unless they have sentimental or
historical value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants