Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[2.7] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214)#2894

Merged
vstinner merged 1 commit into
python:2.7python/cpython:2.7from
corona10:bpo-30119-2.7corona10/cpython:bpo-30119-2.7Copy head branch name to clipboard
Jul 26, 2017
Merged

[2.7] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214)#2894
vstinner merged 1 commit into
python:2.7python/cpython:2.7from
corona10:bpo-30119-2.7corona10/cpython:bpo-30119-2.7Copy head branch name to clipboard

Conversation

@corona10

@corona10 corona10 commented Jul 26, 2017

Copy link
Copy Markdown
Member

cherry-pick from 2b1e6e9

https://bugs.python.org/issue30119

Comment thread Lib/test/test_ftplib.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What is the rationale for this change? It seems specific to Python 3 where all OS-like exceptions have be replaced by a single OSError. On Python 2.7, you really want IOError. Please revert this change, to repair failing tests.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@Haypo Oh, you are right. Thank you for comment.

@corona10

Copy link
Copy Markdown
Member Author

Updated

@vstinner vstinner merged commit e5eae47 into python:2.7 Jul 26, 2017
@vstinner

Copy link
Copy Markdown
Member

Merged, thanks.

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.