☀️🌊🏖️😎🏄🐚🏝️🍹☀️🌊🏖️
pip uninstall pygame (if previously installed, to avoid package conflicts)
pip install pygame-ce --upgrade
☀️🌊🏖️😎🏄🐚🏝️🍹☀️🌊🏖️
Hello and welcome to a shiny new bugfix release of pygame-ce! While we are working towards a 2.4.0 release, we thought it'd be nice to have a quick 2.3.2 with a couple of fixes and enhancements.
Bug fixes
- New contributor @cyuria fixed a long standing and infamous bug in
pygame.draw.arcin #2344 where arcs with widths would be incorrectly rendered with holes in between. music.get_poscould segfault due to an internal zero division error, this has now been fixed by @oddbookworm in #2426- @ankith26 fixed a couple of overflow related bugs in mapped int color handling and improved the internal C API for it in #2349
- @oddbookworm fixed a case of segfaulting in
PixelArrayin #2276 - @Matiiss fixed
Sound.__init__incorrectly raisingTypeErrorinstead ofFileNotFoundErrorfor some inputs in #2381 - @dr0id fixed
copy.deepcopysupport forSurfacein #2394 - @pmp-p fixed webassembly support of
pygame.newbufferandpygame.pixelarrayin #2419 and #2413
Codebase fixes and robustness improvements
- @pmp-p fixed compilation error when
lseek64is absent (like webassembly 32 bit mode) in #2410 - @yunline replaced usage of
PYGAMEAPI_DISPLAY_INTERNALwith the intendedBUILD_STATICinwindow.cin #2412 - @dr0id added a lint warning ignore in
locals.pyto make the linter pass in #2393 - @yunline bumped cython to 3.0.0 in #2395
- @ankith26 bumped cibuildwheel in #2402 and as a result, this release now has wheels shipping for the python 3.12 release candidate, ready for the full release of Python 3.12 at the start of October!
Deprecation warnings
- @bilhox fixed joystick doc and properly deprecated
pygame.Joystick.init/get_idin #2363 - @ankith26 deprecated passing out of range sequence lengths to colorspace setters in #2392
Unit-tests, typing and examples related improvements
- @dr0id fixed
ftfontto pass same tests asfontin #2180 - @Matiiss removed an unneeded
mixertest skip in #2384 - @devdanzin fixed the rect typing with
Union[FRect, Rect]inspritein #2380 - @dr0id fixed
propertyusage issues infontstubs in #2358 - @ddorn fixed stubs for
Color.__getitem__in #2391 - @yunline fixed a couple of typing issues in
Windowand also did some cleanups in #2366 - @ankith26 fixed minor issues in joystick and moveit examples in #2387
- @robertpfeiffer improved glcube example and display docs in #2038
New Contributors
Thanks all
Sincere thanks to everyone helping out! In addition to PR makers, as always we are thankful to the community at large and this includes issue reporters, PR reviewers, tutorial makers, admins/mods/helpers on various online forums, people who make helper libraries, and last but certainly not least, all our users including you: the person reading these notes!
If we've made a mistake in these notes, please get in touch with us to get a correction made.
Cya, have fun using pygame-ce!
Full Changelog: 2.3.1...2.3.2