Skip to content

code clean - #616

Closed
dvska wants to merge 1 commit into
python-pillow:masterfrom
dvska:master
Closed

dvska wants to merge 1 commit into
python-pillow:masterfrom
dvska:master

Conversation

@dvska

@dvska dvska commented Apr 11, 2014

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread PIL/Jpeg2KImagePlugin.py

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.

This change is an actual functional change. It may well be correct, but I'd like to see a test that is broken and fixed for this one, and the similar one on line 125.

@aclark4life

Copy link
Copy Markdown
Member

@dvska Any plans to fix this PR? I will close, otherwise. Thanks

@hugovk hugovk mentioned this pull request Apr 16, 2014
@hugovk

hugovk commented Apr 16, 2014

Copy link
Copy Markdown
Member

PR #626 contains a broken and fixed test for line 48.

I couldn't reproduce line 125. It just needs a test file that hits that line when opened.

@wiredfool

Copy link
Copy Markdown
Member

So, I think what I'm going to do here is cherry pick some of the code clean changes for merging. Some of the things that I'm not going to pick are:

  • import changes
  • the functional changes
  • anything in OleFileIO.py, since it will complicate later merges from the upstream
  • shortcut operators that are not +=, -= and *=. e.g, I'm not going to use |=, //= or %=.

@wiredfool wiredfool mentioned this pull request May 10, 2014
@wiredfool wiredfool closed this May 10, 2014
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.

4 participants