This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Tools for working with container types, command data operations, and concise exception handling

Project Description

The functions update_wrapper and wraps improve on functools.update_wrapper and functools.wraps by persisting information about function signatures. The function get_argspec is similar to inspect.get_argspec, except it first tries to use the metadata provided by update_wrapper.

The function get_callargs is similar to inspect.getcallargs, except that

  • it can access the metadata created by update_wrapper
  • it does not raise when a call is illegal but rather makes a best guess, which makes it suitable for logging and error handling in decorators.
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
inspectcall-0.0.1.tar.gz (5.4 kB) Copy SHA256 Checksum SHA256 Source Jul 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting