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

implicit tuple parameter unpacking is removed in python 3 #12009

Merged
merged 4 commits into from
Oct 30, 2015

Conversation

ericvaandering
Copy link
Contributor

See: https://www.python.org/dev/peps/pep-3113/

auto-fixed by futurize

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ericvaandering (Eric Vaandering) for CMSSW_8_0_X.

implicit tuple parameter unpacking is removed in python 3

It involves the following packages:

CondCore/TagCollection
Documentation/ReferenceManualScripts
FWCore/ParameterSet
RecoLuminosity/LumiDB

@smuzaffar, @diguida, @cmsdoxy, @cerminar, @cmsbuild, @franzoni, @Dr15Jones, @ggovi, @mmusich can you please review it and eventually sign? Thanks.
@ghellwig, @Martin-Grunewald, @apfeiffer1, @wddgit, @wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@Dr15Jones
Copy link
Contributor

please test

@@ -120,7 +120,8 @@ def import_module(self,partnam,fqname,parent):
if r is not None:
self._depgraph.setdefault(self._last_caller.__name__,{})[r.__name__] = 1
return r
def load_module(self, fqname, fp, pathname, (suffix, mode, type)):
def load_module(self, fqname, fp, pathname, xxx_todo_changeme):
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you provide a better name for the variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That actually comes straight from the futurize conversion, but if you have a suggestion (I think this is code you own) I will be happy to update the branch.

Copy link
Contributor

Choose a reason for hiding this comment

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

aux_info?

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/9097/console

@@ -417,10 +417,11 @@ def GetXLocator(ax):

######################################################################

def TweakPlot(fig, ax, (time_begin, time_end),
def TweakPlot(fig, ax, xxx_todo_changeme,
Copy link
Contributor

Choose a reason for hiding this comment

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

time_range?

@ericvaandering
Copy link
Contributor Author

please test

(Will Jenkins listen to me?)

@cmsbuild
Copy link
Contributor

Pull request #12009 was updated. @smuzaffar, @diguida, @cmsdoxy, @cerminar, @cmsbuild, @franzoni, @Dr15Jones, @ggovi, @mmusich can you please check and sign again.

@ericvaandering
Copy link
Contributor Author

I guess it does. @Dr15Jones I made your suggested changes. Thanks.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/9110/console

@Dr15Jones
Copy link
Contributor

@ericvaandering The tests completed for your original commit (the commit hash is at the top of the test complete message). I'm pretty sure if Jenkins was listening to your command it would have printed 'The tests are being triggered in jenkins'.

@Dr15Jones
Copy link
Contributor

+1

@ericvaandering
Copy link
Contributor Author

ericvaandering commented Oct 21, 2015 via email

@Dr15Jones
Copy link
Contributor

I did start them right before I made that comment :)

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

davidlange6 added a commit that referenced this pull request Oct 30, 2015
implicit tuple parameter unpacking is removed in python 3
@davidlange6 davidlange6 merged commit 353562f into cms-sw:CMSSW_8_0_X Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants