wxWidgets / Phoenix

wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
http://wxpython.org/
2.21k stars 509 forks source link

update BusyCursor snippet #2536

Closed DietmarSchwertberger closed 2 months ago

DietmarSchwertberger commented 2 months ago

Fixes #2535 by adding a context manager example and replacing xrange with range.

swt2c commented 2 months ago

Thanks Dietmar!

Metallicow commented 2 months ago

I guess i didn't search over the sphinx generated docs for xrange after everything was commited. Shame on me. Good catch. ... Probably might be some more py2 to py3 changes lingering if you found that. I never uploaded a list of what [py2 to py3]I had done, cause back then it was constantly phoenix changing and havok. It might be better now to make a list and thoroughly check it considering phoenix has a "quote" stable version now (wxPython 4.0.7.post2 msw (phoenix) wxWidgets 3.0.5 Scintilla 3.21). ... more or less ...