You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Anyone interested in making an unofficial maintained branch of this? #76
There's lots of forks with various bugfixes, but no 'unofficially official' version which works, and (as far as I'm aware) none which provide a PyPI package.
If anyone is keen on making a fork with a PyPI package, such as pyreadline2 or pyreadline-unofficial, which would be a maintained fork of this library, then I am very willing to help with the packaging logic but I don't know enough about the code, bugs or forks to feel comfortable doing this by myself and don't currently have the time to dig into it properly.
Reacted by eabase, Kyle King, rachmadani haryono and Weilet
Can you think of a list of items to address?
Many things about this is organization.
Collect a list of bugs and have them prioritized for importance.
(There is absolutely no way of telling and differentiating in this repo, of what is a bug, a work-around, a dirty hack or a world will be on fire event.)
give a strong focus towards UTF-8 support. (Most Windows utils are now running fully on UTF-8 without major issues, and when there are, it's usually due to having legacy support.)
Specification and specs... What is pyreadline doing, that readline isn't? Is it doing it better? Why or Why not?
Hi @eabase, nice to see some sign of life in this ghost town! Sorry for the late reply. I am also quite shocked at how quiet this repo has been, seeing as this is the only 'sane' way to get readline working on windows.
IMO, the main problem is that this package has never worked out the box for me, there has always been a need to edit the source files with bits of code, either found on SO or in the issue tracker here, and I know that it's the same for a lot of other people so my first concern would be trying fix those bugs - the trouble is that the fixes seem like hacks more than permanent solutions and I think that it's time that they were put to bed once and for all.
I think you're right that the current issue tracker needs to be triaged. I actually have no idea what the Unicode support is like for this, but UTF8 support would definitely be nice (if not essential nowadays!)
AFAIK there are two main motives for this library existing:
So that import readline works on windows
By providing a Python implementation it makes it easier to extend for custom purposes when writing a Python program
The windows support is, I imagine, by far the biggest driving factor for people.
I have some spare time this weekend I could dedicate to this if you are keen to get something going; I imagine the first steps would be to create a fresh fork, update the packaging logic, upload it to PyPI under a new name and set up a CI pipeline on GitHub actions to make maintenance easy. Whichever bugs seem fixable I'm happy to have a crack at debugging, but my hope is that if the community sees that there is some impetus behind maintaining a fork, they will be more likely to submit PRs and get involved.
Before, anything, let's agree on a sensible new name. I would have suggested pyreadline3, but unfortunately it has already been hijacked and abandoned. So maybe pyreadline4? I suggest to keep pyreadline in the package name, as it would make code migration trivial and obvious.
More importantly, it has to be a completely new repo, not a fork, as there is no issue functionality on forks!
I will try and get in contact with the owner of pyreadline3, if they are still active and just stopped maintaining the repo due to lack of interest then it might save some work to build off what they have done (although we would still need a new repo as they have formed).
RE the name: adding more numbers to the end of pyreadline works, but it's a shame that we have to start at 4 as this doesn't make it easy to find or remember. How big an issue do you think it is to change the package name? The import names would still be the same, it would just effect the name people give to pip so I can't see it being particularly painful; in which case something like python-readline might be preferable.
Pyreadline3 is not abandoned. If you need to work on it, just start being active there and we can work together. My current priority is to keep it working with recent python versions and not pollute the implementation with machine/user specific issues.
No offense, but it certainly look abandoned, and is still a bad idea for all the reasons already stated. There is no maintenance going on there and there is no issue maintenance either on the original, since yours is a fork. At the moment, and since I'm only using Py3.10, and doing quite fine with readline built-in. So unless someone actually step up a make some commitment to making a fresh new repo, I don't think I'll be doing any contributions to try to revive old dead meat, that is already too far out of our control.
Asking people to send a new PR for something they have reported back in 2017 is not gonna get us anywhere.
Please add all these trivial fixes yourself, or we will never get any progress, waiting for this kind of stuff.
People will start sending PR's when they see there is action and active maintenance and involvement of the owner of the repo, and IMHO I really hate when repo owners keep asking to send PR's every time you report something. It's just extremely annoying! Also keeping in mind that >90% of issue reporters don't even know how to send a proper PR.
I'm working on few cleanups to begin with. And I'm asking people because I want to give them a chance to keep credit of what they have done. Nonetheless, I think you are right about an initial cleanup.
Those people are some of the top Windows and python developers around, and if you inform them that you want to keep this
alive and commit to maintain pyreadlin3, then I think you could get a lot of help from there including serious attention to your new repo.
Also, please feel free to give me some rights to add and edit issues there, and I could help maintaining and setting that up.
Sorry I’ve not been very a give on this thread, but it’s good to see that progress is being made! I will take through a list of your legacy issues @eabase and see if I can be of any use. I will also do my best to go through stack overflow for old questions about readline on windows and point them the way of pyreadline3 which should increase visibility.
I suggest that as there is now a maintained unofficial branch, I can close this issue and to make it clear to anyone visiting this repo that they should go to pyreadline3 instead, I create a new issue titled something like ‘PLEASE VISIT NEW MAINTAINED PYREADLINE3 REPO’ with a link and some more info in the issue body.
@brgirgis Can you tell us somewhere, what you are currently working on? I would like to do a few minor fixes, but don't want to waste anyone's time, by double or overlapping work. Are you on discord/telegram or how can we chat?
Activity
eabase commentedon Jan 14, 2022
Incredible that there is so little interest.
What are people using instead? Is there a better alternative?
eabase commentedon Jan 14, 2022
Can you think of a list of items to address?
Many things about this is organization.
(There is absolutely no way of telling and differentiating in this repo, of what is a bug, a work-around, a dirty hack or a world will be on fire event.)
pyreadlinedoing, thatreadlineisn't? Is it doing it better? Why or Why not?readlineissues on: https://bugs.python.org/(Even Windows devs there are disappointed in non-progress of pyreadline.)
dominicprice commentedon Jan 14, 2022
Hi @eabase, nice to see some sign of life in this ghost town! Sorry for the late reply. I am also quite shocked at how quiet this repo has been, seeing as this is the only 'sane' way to get
readlineworking on windows.IMO, the main problem is that this package has never worked out the box for me, there has always been a need to edit the source files with bits of code, either found on SO or in the issue tracker here, and I know that it's the same for a lot of other people so my first concern would be trying fix those bugs - the trouble is that the fixes seem like hacks more than permanent solutions and I think that it's time that they were put to bed once and for all.
I think you're right that the current issue tracker needs to be triaged. I actually have no idea what the Unicode support is like for this, but UTF8 support would definitely be nice (if not essential nowadays!)
AFAIK there are two main motives for this library existing:
import readlineworks on windowsThe windows support is, I imagine, by far the biggest driving factor for people.
I have some spare time this weekend I could dedicate to this if you are keen to get something going; I imagine the first steps would be to create a fresh fork, update the packaging logic, upload it to PyPI under a new name and set up a CI pipeline on GitHub actions to make maintenance easy. Whichever bugs seem fixable I'm happy to have a crack at debugging, but my hope is that if the community sees that there is some impetus behind maintaining a fork, they will be more likely to submit PRs and get involved.
eabase commentedon Jan 16, 2022
Before, anything, let's agree on a sensible new name. I would have suggested
pyreadline3, but unfortunately it has already been hijacked and abandoned. So maybepyreadline4? I suggest to keeppyreadlinein the package name, as it would make code migration trivial and obvious.More importantly, it has to be a completely new repo, not a fork, as there is no issue functionality on forks!
dominicprice commentedon Jan 16, 2022
Good point about not forking
I will try and get in contact with the owner of
pyreadline3, if they are still active and just stopped maintaining the repo due to lack of interest then it might save some work to build off what they have done (although we would still need a new repo as they have formed).RE the name: adding more numbers to the end of
pyreadlineworks, but it's a shame that we have to start at 4 as this doesn't make it easy to find or remember. How big an issue do you think it is to change the package name? The import names would still be the same, it would just effect the name people give to pip so I can't see it being particularly painful; in which case something likepython-readlinemight be preferable.brgirgis commentedon Jan 23, 2022
Pyreadline3 is not abandoned. If you need to work on it, just start being active there and we can work together. My current priority is to keep it working with recent python versions and not pollute the implementation with machine/user specific issues.
eabase commentedon Jan 23, 2022
@brgirgis
No offense, but it certainly look abandoned, and is still a bad idea for all the reasons already stated. There is no maintenance going on there and there is no issue maintenance either on the original, since yours is a fork. At the moment, and since I'm only using Py3.10, and doing quite fine with
readlinebuilt-in. So unless someone actually step up a make some commitment to making a fresh new repo, I don't think I'll be doing any contributions to try to revive old dead meat, that is already too far out of our control.brgirgis commentedon Jan 23, 2022
There is no problem there. I created an organization with the same name and I will push a fresh new repo there. I can invite whomever interested.
brgirgis commentedon Jan 23, 2022
Please take a look here
eabase commentedon Jan 24, 2022
@brgirgis
Very cool! 💯
Can you post a list of issues (from here) that has already been fixed there, vs what have not yet been fixed?
Same for PR's?
eabase commentedon Jan 24, 2022
@brgirgis
Asking people to send a new PR for something they have reported back in 2017 is not gonna get us anywhere.
Please add all these trivial fixes yourself, or we will never get any progress, waiting for this kind of stuff.
People will start sending PR's when they see there is action and active maintenance and involvement of the owner of the repo, and IMHO I really hate when repo owners keep asking to send PR's every time you report something. It's just extremely annoying! Also keeping in mind that >90% of issue reporters don't even know how to send a proper PR.
brgirgis commentedon Jan 24, 2022
I'm working on few cleanups to begin with. And I'm asking people because I want to give them a chance to keep credit of what they have done. Nonetheless, I think you are right about an initial cleanup.
eabase commentedon Jan 24, 2022
@brgirgis I suggest you join the python bug list, and send an update of your project to this bug here:
Those people are some of the top Windows and python developers around, and if you inform them that you want to keep this
alive and commit to maintain pyreadlin3, then I think you could get a lot of help from there including serious attention to your new repo.
Also, please feel free to give me some rights to add and edit issues there, and I could help maintaining and setting that up.
eabase commentedon Jan 24, 2022
@brgirgis
Can you please reapply the 3 fixes from #76, #64 and #65 (if applicable).
and this #48 to fix this tool:
eabase commentedon Jan 25, 2022
I added a check list so we check off all the issues and PR's that have been fixed there:
dominicprice commentedon Jan 25, 2022
Sorry I’ve not been very a give on this thread, but it’s good to see that progress is being made! I will take through a list of your legacy issues @eabase and see if I can be of any use. I will also do my best to go through stack overflow for old questions about readline on windows and point them the way of pyreadline3 which should increase visibility.
I suggest that as there is now a maintained unofficial branch, I can close this issue and to make it clear to anyone visiting this repo that they should go to pyreadline3 instead, I create a new issue titled something like ‘PLEASE VISIT NEW MAINTAINED PYREADLINE3 REPO’ with a link and some more info in the issue body.
eabase commentedon Jan 25, 2022
@dominicprice and you can pin it to the top.
eabase commentedon Jan 26, 2022
@brgirgis Can you tell us somewhere, what you are currently working on? I would like to do a few minor fixes, but don't want to waste anyone's time, by double or overlapping work. Are you on discord/telegram or how can we chat?
brgirgis commentedon Jan 26, 2022
@eabase I'm doing general cleanups and contemplating how to rewrite/redesign most of the components modules. I'm also thinking about how we can better test the different parts. Here is a discord server link https://discord.gg/RHWRxNw7.