-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
[doc] bpo-43066: Zipfile - add note on leading slash in the filename arg #26899
[doc] bpo-43066: Zipfile - add note on leading slash in the filename arg #26899
Conversation
Doc/library/zipfile.rst
Outdated
A leading slash in the filename may lead to the archive being impossible to | ||
open in some zip programs on Windows systems. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this needs to be warnings (red boxes), rather than just mentioned in the text.
If warning then just one and not three (I'm not sure where).
@iritkatriel - moved two of the warnings into paragraphs, left one in what seems to be the main entry point out of the three, please take a look.. |
This PR is stale because it has been open for 30 days with no activity. |
The general style of our documentation isn't to fill it with warnings. Rather, we are adopting a generally affirmative style. You see, almost every operation you do in Python can result in an exception or might not work under some circumstances. In this particular case the problem isn't with the |
@ambv sounds good! |
GH-27605 is a backport of this pull request to the 3.10 branch. |
GH-27606 is a backport of this pull request to the 3.9 branch. |
…arg (pythonGH-26899) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 7c5dab4) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
…arg (pythonGH-26899) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 7c5dab4) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
https://bugs.python.org/issue43066