Skip to content

cmd: Stripped down version of Python 3.3 cmd.py - #4

Closed
dhylands wants to merge 2 commits into
micropython:masterfrom
dhylands:cmd
Closed

dhylands wants to merge 2 commits into
micropython:masterfrom
dhylands:cmd

Conversation

@dhylands

Copy link
Copy Markdown
Contributor

This is a slightly stripped down version of Python's cmd module.

It doesn't support doc-string help (since micropython removes those)
It doesn't support completions yet

@pfalcon

pfalcon commented Aug 10, 2014

Copy link
Copy Markdown
Contributor

So, is this really written from scratch or edited from CPy's cmd.py? For the latter case, I tried to start with committing CPy module verbatim, and then apply changes in the next commit - so it was easy to see which exact changes were applied wrt to CPython version. I'd appreciate if you could do that, as if I try to do it, it will be hard to preserve your authorship.

And regarding setup.py, that's intended to be auto-generated from metadata.txt using make_metadata.py script in the root of repo.

@dhylands

Copy link
Copy Markdown
Contributor Author

OK - this was started with CPy's cmd.py. I'm happy to rework the PR to be the original CPy version and then do a changeset from there.

I'll create a metadata.txt file and generate setup.py from it.

@dhylands

Copy link
Copy Markdown
Contributor Author

I added the cmd.py from 3.4 (or 3.3 - they're both the same) and then did a separate commit for the changes.

@pfalcon

pfalcon commented Aug 12, 2014

Copy link
Copy Markdown
Contributor

Merged with minor typo fixes.

@pfalcon

pfalcon commented Aug 12, 2014

Copy link
Copy Markdown
Contributor

Also pushed on PyPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants