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

tests: sftp listdir under a locale with non-ascii date strings #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ploxiln
Copy link
Owner

@ploxiln ploxiln commented Dec 9, 2021

This demonstrates failure under python-2.7, because SFTPAttributes
uses the locale-aware %b directive for the abbreviated month name
with time.strftime(), and it is not decoded correctly with python-2.7.

Instead of fixing for python-2.7 in paramiko-ng, we'll just wait
until python2 support is removed before merging in this test case.
This test code was so old, it needed multiple rounds of updates
and cleanups by multiple contributors:

Co-Authored-By: Jeff Forcier jeff@bitprophet.org
Co-Authored-By: Stanislav Levin slev@altlinux.org

bz2 and others added 2 commits December 9, 2021 02:14
This demonstrates failure under python-2.7, because SFTPAttributes
uses the locale-aware %b directive for the abbreviated month name
with time.strftime(), and it is not decoded correctly with python-2.7.

Instead of fixing for python-2.7 in paramiko-ng, we'll just wait
until python2 support is removed before merging in this test case.
This test code was so old, it needed multiple rounds of updates
and cleanups by multiple contributors:

Co-Authored-By: Jeff Forcier <jeff@bitprophet.org>
Co-Authored-By: Stanislav Levin <slev@altlinux.org>
and move apt package install to its own section
@ploxiln ploxiln added the v3 defer to version 3.0 label Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 defer to version 3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants