Ticket #18524 (closed enhancement: duplicate)
python25 Enhancement - Add a readline variant
| Reported by: | spreng@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | python25 |
Description
I've modified the python25 Portfile to add a readline variant which enables command history and tab completion for the python shell.
It would probably be a good idea to set this variant as default unless you have a reason not to do so (I don't know why readline was disabled until now), but that's not part of this patch.
PS: Such a patch would probably also be applicable to all the other python variants. PPS: This is my first patch to a Portfile so far, please tell me if I have done any mistakes.
Cheers,
Tom.
Attachments
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Cc mww@… removed
- Owner changed from macports-tickets@… to mww@…
comment:2 Changed 4 years ago by blb@…
- Status changed from new to closed
- Resolution set to duplicate
Having python25 depend on py25-readline, when py25-readline already depends on python25, is a really bad idea (circular dependencies). Also, simply installing py25-readline after python25 is simpler than reinstalling python25 with new variants.
The general issue of these split-out modules is ticket #12369, dup'ing to that.

