| Nov | DEC | Jan |
| 15 | ||
| 2019 | 2020 | 2021 |
COLLECTED BY
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
History is littered with hundreds of conflicts over the future of a community, group, location or business that were "resolved" when one of the parties stepped ahead and destroyed what was there. With the original point of contention destroyed, the debates would fall to the wayside. Archive Team believes that by duplicated condemned data, the conversation and debate can continue, as well as the richness and insight gained by keeping the materials. Our projects have ranged in size from a single volunteer downloading the data to a small-but-critical site, to over 100 volunteers stepping forward to acquire terabytes of user-created data to save for future generations.
The main site for Archive Team is at archiveteam.org and contains up to the date information on various projects, manifestos, plans and walkthroughs.
This collection contains the output of many Archive Team projects, both ongoing and completed. Thanks to the generous providing of disk space by the Internet Archive, multi-terabyte datasets can be made available, as well as in use by the Wayback Machine, providing a path back to lost websites and work.
Our collection has grown to the point of having sub-collections for the type of data we acquire. If you are seeking to browse the contents of these collections, the Wayback Machine is the best first stop. Otherwise, you are free to dig into the stacks to see what you may find.
The Archive Team Panic Downloads are full pulldowns of currently extant websites, meant to serve as emergency backups for needed sites that are in danger of closing, or which will be missed dearly if suddenly lost due to hard drive crashes or server failures.
Collection: Archive Team: The Github Hitrub
|
No description provided. |
Add a section 'Extensions'
Loading status checks…
8b3b90e
|
Thanks for getting this started! Some more detailed recommendations in line, but I think this will be a useful addition. |
| @@ -0,0 +1,13 @@ | |||
| .. _extensions: | |||
|
|
|||
| Write a CPython extension | |||
| Write a CPython extension | ||
| ========================= | ||
|
|
||
| In this section, we could explain how to write a CPython extension with the C language, but the topic can take a complete book. |
|
|
||
| Read the following references: | ||
|
|
||
| * https://docs.python.org/3.7/extending/ |
dev link rather than the specific version: https://docs.python.org/dev/extending/
Collaborator
|
Hi@matrixise, Do you wish to finish up this PR or would you like me to do so? Thanks! |
|
@willingc I will finish this PR, really sorry, I will work on it on this evening. |
Update with the recommendations of Nick Coghlan
dc74c90
Merge branch 'master' into add_extensions
Loading status checks…
88af99f
Member
Author
|
Hi all, @ncoghlan @willingc and @Mariatta I have fixed this PR with the recommendations of @ncoghlan Please, when you have time, review. I am so sorry for this late reply. |
|
Minor suggested wording adjustment inline, but I think is a useful addition as is. |
|
|
||
| In this section, we could explain how to write a CPython extension with the C language, but the topic can take a complete book. | ||
|
|
||
| For this reason, we prefer to give you some links where you can read a very good documentation. |
|
Do we really need to create a separate document just for four links? I think the most up-to-date and detailed resource is https://pythonextensionpatterns.readthedocs.io/en/latest/ and it was already linked in the Devguide in #279. |
|
We really should have more than just the 4 links - referencing the C style guide, pointers to test_embed and test_capi, etc, start building out some extra docs for internal helper functions, etc. It would make sense to mention that as a ReST comment though, otherwise it isn't clear why we're adding such a bare bones page in the first place. |
I don't think "we'll finish this later" is a good argument for merging this PR. A TODO comment can easily be forgotten in a short time. And after two years or so, someone is going to submit a PR to remove extensions.rst because it doesn't contain any useful information. Please don't make the Devguide a place for unfinished and half baked documents. |
|
@berkerpeksag ok, but where will you put these links? |
|
PEP 399 can be mentioned at https://devguide.python.org/runtests/#writing ( |
|
"You can find this information via Google if you already know what to look for, and how to interpret the results" isn't a particularly helpful attitude for us to adopt when writing documentation aimed primarily at new CPython contributors. If starting the section out with just a few links really bothers you, then rather than saying "This doesn't have enough content, so reject it", I'd prefer to see this new section extended a bit to also cover:
|
Most of these links are from our own documentation and don't have anything to do with contributing to CPython (except PEP 399) People can read them to learn how to write Python extensions for their own projects. We don't explain how to use unittest or how to write unit tests in the devguide. We only give information specific to CPython (how to use regrtest, how to find memory leaks by using regrtest, how to make coveragepy work with extension modules,
Your suggestions sound good to me. I'd like to see a action about how to test a C API function (by using |
441f54d
into
python:master
Successfully merging this pull request may close these issues.
None yet
6 participants Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. ●© 2020 GitHub, Inc. ●Terms ●Privacy ● ●Security ●Status ●Help ●Contact GitHub ●Pricing ●API ●Training ●Blog ●About You can’t perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.