Hi Mike, Glad to see somebody's using this feature of bpython - this is exactly why I added it in the first place.
Shame I didn't anticipate this problem though - we tend to be a little more thoughtful about things these days. :-) Not sure what the best solution is here. My guess is that almost nobody uses the `-c` option so, while I'm usually against the idea of changing stuff like this, I think we can make an exception here as it is an outright mistake to use it. I'll let Andreas and Simon (and anybody else) chime in with their thoughts but I'm giving a preliminary thumbs up for this. Thanks for taking the time to report this - we'll hopefully have a solution some time soon. On 27 April 2011 03:00, Mike <[email protected]> wrote: > Hi, > > I'm a bit lazy and can't be bothered to type out bpython every time > and tend to forget to, or forget to run it separately from the menu. > I really like using it though when I do remember. ;) > > To alleviate the issue I made an alias for it in my shell, e.g. > python="bpython". > > This mostly works fine, and as bpython says it passes arguments to > python it doesn't understand. The biggest problem I have is that it > takes over the -c option normally used to execute strings. I use that > one a lot and bpython unfortunately breaks it. > > Is it possible to move the short options to unused letters, or perhaps > remove them in favor of only the long ones? Python itself doesn't > seem to recognize long options so it might be a good way to tackle the > problem. > > Thanks if anyone can help. > > -- > You received this message because you are subscribed to the Google Groups > "bpython" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/bpython?hl=en. > > -- You received this message because you are subscribed to the Google Groups "bpython" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/bpython?hl=en.
