[Checkins] [zopefoundation/bobo] b6fe77: Make function annotations in route handlers work

GitHub noreply at github.com
Sat Feb 15 19:51:09 CET 2014


  Branch: refs/heads/patrick-annotation-fix
  Home:   https://github.com/zopefoundation/bobo
  Commit: b6fe77baa83961989a22e231e8ee10688e382f71
      https://github.com/zopefoundation/bobo/commit/b6fe77baa83961989a22e231e8ee10688e382f71
  Author: Patrick Strawderman <patrick at kilink.net>
  Date:   2014-02-15 (Sat, 15 Feb 2014)

  Changed paths:
    M bobo/src/bobo.py
    A bobodoctestumentation/src/bobodoctestumentation/annotations.test
    M bobodoctestumentation/src/bobodoctestumentation/tests.py

  Log Message:
  -----------
  Make function annotations in route handlers work

In Python 3, calling inspect.getargspec on a function that has
annotations raises an exception.  Instead, you must use
inspect.getfullargspec.




More information about the checkins mailing list