Coder Social home page Coder Social logo

optcomplete's People

Contributors

blais avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fagan2888

optcomplete's Issues

Errors with optcomplete 1.2.devel

Original report by Martin Blais (Bitbucket: blais, GitHub: blais).


Jay Rajput [email protected]
9/6/14

to Martin, b
Thanks for putting it on the bitbucket. I am seeing that there are two
different optcomplete. 1. Bitbucket 2. pip install
The PyPi version is 1.2.devel which is same as the one in the VERSION
file on the bitbucket. So the BASH source function will work with the
bitbucket version, but not with the PyPi solution.

This one from bitbucket repository uses COMPREPLY and needs eval.

[venv]$md5sum /vagrant/optcomplete/lib/python/optcomplete.py
030bdc30851eab0e8f2cc161de8804b6 /vagrant/optcomplete/lib/python/optcomplete.py
[venv]$grep -ir COMPREPLY /vagrant/optcomplete/lib/python/optcomplete.py

`COMPREPLY'

print 'COMPREPLY=(' + completions + ')'

This one came from pip install optcomplete and does not uses

COMPREPLY print statement and so does not need eval.
[venv]$md5sum ./lib/python2.7/site-packages/optcomplete.py
27718197a899d1a91f096bdc99506405 ./lib/python2.7/site-packages/optcomplete.py
[venv]$grep -ir COMPREPLY ./lib/python2.7/site-packages/optcomplete.py

`COMPREPLY'

[venv]$

Thanks,
Jay

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.