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
Python 3.x internet documentation needs work #49008
Comments
I have recently completed a pretty thorough survey of library For all of the library modules related to network programming, it would Anyways, this request minimally covers these modules:
If there is interest, I can submit more detailed notes from my own work, |
I'd be happy with comments on this bug. I can't promise that I'll have Thanks for your efforts! |
David, I think that a list of notes posted here is ok, can you still |
As my opinion, Adding them as comments here is better as we can see the |
If David doesn't answer I'd close this issue. A year passed since the |
Hi Ezio, let us not close the issue. Waiting for David Beazley's patch |
An apology on the delay. Things have been rather hectic. Regarding a patch, I don't really have a patch so much as a suggested If I have time, I might be able to make a specific patch, but it |
I stumbled upon this issue and I feel similarly about the documentation for a particular module, ftplib. I think that the documentation is a bit too concise and assumes that the reader in an expert in the protocol when the point of the module is to abstract out such details. For example, for the error documentation, the exceptions are only explained by the error code the server can return to trigger them. So, while the explanation of error_perm, for example, should say something about permissions, it just says "raised when an error code in the range 500–599 is received." This is particularly unclear for those with no knowledge of the internals of the protocol. Also, in the documentation for RetrLines(), the documentation mentions the options LIST, NLST, and MLSD without explaining what they are. I know that when I first started using ftplib I had to experiment with each option to determine what they do, and I think it would be better if this was clear in the docs from the start. I can propose a patch to the documentation if needed. |
Rafe, thank you for your message and willingness to contribute. I feel what you’re reporting is another bug: the original report talks about bytes/str confusion only, not about the simplicity of the APIs. Could you open another bug with component “Documentation” and add orsenthil to the nosy list? Thanks in advance. |
Thanks Eric, I think you're right. I'll do that. |
I believe 3.2 has many code and doc improvements with respect to bytes/string usage. So it is hard to know what is still needed. I think the way for anyone to advance this is to review just one of the modules listed and either report here that all is ok or open another issue just for that module and give a reference here. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: