Code Monkey home page Code Monkey logo

erlang_py's Introduction

erlang_py's People

Contributors

artob avatar joneshf avatar kren1 avatar msabramo avatar okeuday avatar qasim-at-tci avatar thalesmello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

erlang_py's Issues

1.7.5 fails to install with pip

I can't install 1.7.5 with pip as README.markdown isn't in the package itself, and setup.py tries to read from it.

jadams ~/p/v/a/a/agencyrocket *feature/pdf_csv λ pip3 install erlang_py                                                                                         6m 51s 238ms
Collecting erlang_py
  Downloading https://files.pythonhosted.org/packages/88/9e/3205c7345862a08809e132dd206841b70f26e74be4f5ea37373724007086/erlang_py-1.7.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/vs/2zdf51mj26569h1yym12h6lh0000gn/T/pip-install-mwmxx_vi/erlang-py/setup.py", line 19, in <module>
        long_description = open('README.markdown', 'r').read()
    FileNotFoundError: [Errno 2] No such file or directory: 'README.markdown'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/vs/2zdf51mj26569h1yym12h6lh0000gn/T/pip-install-mwmxx_vi/erlang-py/

Here are the contents of the package:

jadams ~/D/erlang_py-1.7.5 λ tree
.
├── PKG-INFO
├── erlang.py
├── erlang_py.egg-info
│   ├── PKG-INFO
│   ├── SOURCES.txt
│   ├── dependency_links.txt
│   └── top_level.txt
├── setup.cfg
└── setup.py

1 directory, 8 files

`OtpErlangAtom(b'true')` should be equal to `True`

When parsing ETF in Python, you may the encounter Erlang atoms true and false. By convention, Erlang uses these values for true and false for boolean operators.

If a user constructs an OtpErlangAtom with the value b'true', it should pass an equality test when compared with a Python bool type. Currently, this code produces the following error:

erlang_py/erlang.py

Lines 162 to 163 in bff6528

def __eq__(self, other):
return self.binary() == other.binary()

'bool' object has no attribute 'binary'

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.