Code Monkey home page Code Monkey logo

util's People

Contributors

amcgregor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

util's Issues

Create a base MultiBunch that always returns a list.

Introduce this more consistent behaviour and make the existing MultiBunch a ConservativeMultiBunch. The original goal was to mimic the behaviour of PHP's argument globbing (@{foo[]=bar, foo[]=baz} == {foo=[bar, baz]}@).

TypeError exception during installation

File "../build/marrow.util/setup.py", line 13, in

exec(open(os.path.join("marrow", "util", "release.py")))

TypeError: exec() arg 1 must be a string, bytes or code object

It must be:
exec(open(os.path.join("marrow", "util", "release.py")).read())

Nonexistent "obj" variable used in marrow.util.convert.number

In [18]: from marrow.util import convert

In [19]: convert.number('not_a_number')

NameError Traceback (most recent call last)
in ()
----> 1 convert.number('not_a_number')

/Users/fletcher/Work/Current/MatchFwd/env/lib/python2.7/site-packages/marrow/util/convert.pyc in number(input)
155 return float(input)
156 except (TypeError, ValueError):
--> 157 raise ValueError("Unable to convert {0!r} to a number.".format(obj))
158
159

NameError: global name 'obj' is not defined

Do not mutate child values.

Bunch should leave its contents alone; if a developer wants nested Bunch'es, then they can convert it themselves.

PyPI package content

Hello.

Could you please include LICENSE, README.textile and test dir in PyPI package?

Thanks a lot and have a nice day.

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.