Caveats¶
With older versions of Cython, the binding won’t work correctly when built straight from the Git repo. See Building with Cython installed for more information.
Windows programs sometimes crash just before exiting. Starting from pySFML 0.2.1, the default font has been removed, which should solve a lot of deallocation problems. Christoph Gohlke’s installers also seem to generally be more reliable, so as far as I know, newer installers shouldn’t have this bug.
A current limitation is that Texture
objects won’t work as
expected unless they are created after your RenderWindow
. It
isn’t a big problem in practice, but it’s something to keep in mind
until the issue is fixed. This seems to be related to a bug in SFML:
https://github.com/LaurentGomila/SFML/issues/160 It may also be
dependent on the platform, but even if it works correctly on your
system, you shouldn’t rely on it for now.