Giter Club home page Giter Club logo

interface's People

Contributors

agronholm avatar amcgregor avatar nandoflorestan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

interface's Issues

Docstrings not allowed in Interface subclasses.

Traceback

Traceback (most recent call last):
  File "core.py", line 7, in <module>
    class TempStore(Interface):
  File "/.../marrow/interface/core.py", line 29, in __new__
    type(value).__name__, key))
TypeError: Interfaces must only contain Attribute instances, not a str named __doc__.

Test Case

class Example(Interface):
    """Turn this into an interface?"""
    __init__ = Method(args=0)
    bob = Method(args=2, kwargs=1)
    dole = Method(args=1)

Any plans to post a bug fix release to PyPi?

The release currently on PyPi does not work with Python 3.3 due to the new qualname attribute. This problem has been fixed several months ago here in github, but there were no new releases on PyPi since them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.