[issue33494] random.choices ought to check that cumulative weights are in ascending order

2018-05-15 Thread Paul Czyzewski
Paul Czyzewski <tallp...@gmail.com> added the comment: or, for a minimal doc change, change this sentence: "For example, the relative weights [10, 5, 30, 5] are equivalent to the cumulative weights [10, 15, 45, 50]," to: "For example, the relative call 'weights[10, 5,

[issue33494] random.choices ought to check that cumulative weights are in ascending order

2018-05-15 Thread Paul Czyzewski
Paul Czyzewski <tallp...@gmail.com> added the comment: oops, if "k=400" -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33494> ___ __

[issue33494] random.choices ought to check that cumulative weights are in ascending order

2018-05-15 Thread Paul Czyzewski
Paul Czyzewski <tallp...@gmail.com> added the comment: btw, this was my suggestion. Steven opened the issue on my behalf (I'm new). 1) Documentation change. I would suggest that, to this paragraph: "If neither weights nor cum_weights are specified, selections are made with equal

[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-13 Thread paul czyzewski
paul czyzewski added the comment: >If you use the arrow keys to select and copy as you go, you still have > to hit tab twice to close the box (or click elsewhere). Not for me. If i use arrow keys then I just type "()" and the box disappears. So there's two(?) fewer keystrok

[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-13 Thread paul czyzewski
paul czyzewski added the comment: hi Terry, thanks for all the responses. Well, what *I* found maddening was that typing "os." pause "g" works but typing "os.g" (with no pause) does nothing. :) But, anyway, I guess you're saying that that's as designe

[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-13 Thread paul czyzewski
paul czyzewski added the comment: hi Tal and Terry, I hadn't noticed that continuing to type does go to the appropriate spot. However, I see what I think are two or three bugs (not sure is 'a)' is a bug) in the behavior: a) on my system it does not visibly filter the list. EG, if I type

[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-13 Thread paul czyzewski
paul czyzewski added the comment: > Question: does the text widget freezes on button down or not until button up. > The experiment is to press and hold the button while moving the mouse. Does > the cursor move and select text while the button is down, or does it freeze > immedi

[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-05 Thread paul czyzewski
paul czyzewski added the comment: Thanks, Terry and Ned. Ned, I checked (nice clear instructions, btw) and I had Tk 8.5.10. So I followed the link and installed 8.5.18. -- The freeze on mac still occurs but I understand that this will avoid some other bugs. BTW, I don't know how testing

[issue15786] IDLE code completion window can hang or misbehave with mouse

2016-05-05 Thread paul czyzewski
paul czyzewski added the comment: I'm new to IDLE. I just upgraded to Mac El Capitan from Snow Leopard, and installed Python 3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44). I have had the IDLE window freeze so many times (when clicking on something in the autocomplete window as described