← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1524990] [NEW] safe_utils.getcallargs does not match inspect.getcallargs

 

Public bug reported:

safeutils.getcallargs was written when python2.6 was supported and did
not have inspect.getcallargs.  It was intended to be a simplified
version that could be replaced when python2.6 support was dropped and
inspect.getcallargs was ubiquitous.  However the interface that
safe_utils.getcallargs provides did not match inspect.getcallargs around
the handling of the self parameter needing to be passed in.  It should
be brought inline with inspect.getcallargs so that it can be dropped.

** Affects: nova
     Importance: Wishlist
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1524990

Title:
  safe_utils.getcallargs does not match inspect.getcallargs

Status in OpenStack Compute (nova):
  New

Bug description:
  safeutils.getcallargs was written when python2.6 was supported and did
  not have inspect.getcallargs.  It was intended to be a simplified
  version that could be replaced when python2.6 support was dropped and
  inspect.getcallargs was ubiquitous.  However the interface that
  safe_utils.getcallargs provides did not match inspect.getcallargs
  around the handling of the self parameter needing to be passed in.  It
  should be brought inline with inspect.getcallargs so that it can be
  dropped.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1524990/+subscriptions


Follow ups