Tcod

Latest version: v17.1.0

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 45

17.1.0

Added

- SDL renderer primitive drawing methods now support sequences of tuples.

Fixed

- `tcod.sdl.Renderer.draw_lines` type hint was too narrow.
- Fixed crash in `tcod.sdl.Renderer.geometry`.

17.0.0

Changed

- `EventDispatch`'s on event methods are now defined as positional parameters, so renaming the `event` parameter is now valid in subclasses.

Deprecated

- Keyboard bitmask modifiers `tcod.event.KMOD_*` have been replaced by `tcod.event.Modifier`.

Fixed

- Suppressed internal `mouse.tile_motion` deprecation warning.
- Fixed SDL renderer primitive drawing methods. 159

16.2.3

Fixed

- Fixed access violation when events are polled before SDL is initialized.
- Fixed access violation when libtcod images fail to load.
- Verify input files exist when calling `libtcodpy.parser_run`, `libtcodpy.namegen_parse`, `tcod.image.load`.

16.2.2

Fixed

- Ignore the locale when encoding file paths outside of Windows.
- Fix performance when calling joystick functions.

16.2.1

Fixed

- Fixed errors loading files on Windows where their paths are non-ASCII and the locale is not UTF-8.

16.2.0

Changed

- Renamed `gauss` methods to fix typos.

Page 1 of 45

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.