Skip to content

python3 de-linting#14973

Merged
gsnedders merged 1 commit into
web-platform-tests:masterfrom
refack:patch-1
Jan 22, 2019
Merged

python3 de-linting#14973
gsnedders merged 1 commit into
web-platform-tests:masterfrom
refack:patch-1

Conversation

@refack

@refack refack commented Jan 21, 2019

Copy link
Copy Markdown
Contributor

xrange give a very very slight memory (premature?) optimization in python2, but is incompatible with python3

Refs: https://docs.python.org/3/whatsnew/3.0.html#views-and-iterators-instead-of-lists

xrange give a very very slight memory optimization but is incompatible with python3

@annevk annevk left a comment

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.

I'm happy with this provided it works in Python 2. Performance shouldn't be a big deal given the small number.

@thefourtheye

Copy link
Copy Markdown

The taskcluster hasn't responded yet. Is this normal?

@annevk

annevk commented Jan 22, 2019

Copy link
Copy Markdown
Member

No, I asked @jgraham on IRC to look into it.

@thefourtheye

Copy link
Copy Markdown

Thanks a lot @annevk :-)

@gsnedders

Copy link
Copy Markdown
Member

That's… weird. Presumably some request failing to get through in some direction. :(

Let's close/reopen to re-trigger it, even though really this should be safe enough just to merge.

@gsnedders gsnedders closed this Jan 22, 2019
@gsnedders gsnedders reopened this Jan 22, 2019
@gsnedders
gsnedders merged commit e4e6eee into web-platform-tests:master Jan 22, 2019
@thefourtheye

Copy link
Copy Markdown

really this should be safe enough just to merge.

I totally agree.


Thanks @annevk and @gsnedders 🙂

@refack
refack deleted the patch-1 branch January 22, 2019 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants