view roundup/anypy/README.txt @ 8294:302c797756e6

fix: issue2550962. remove assert in Role::hasPermission issue2550962 - Check uses of assert in roundup code. An assert was used to make sure that a classname always accompoanied an itemid in hasPermission. The Security::hasPErmission has an if clause that does the same check and raises a ValueError. Remove asserts because they ae removed when running python in optimized mode.
author John Rouillard <rouilj@ieee.org>
date Sun, 19 Jan 2025 19:29:17 -0500
parents 868db43b302a
children
line wrap: on
line source

roundup.anypy package - Python version compatibility layer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Roundup currently supports Python 2.3 to 2.6; however, some modules
have been introduced, while others have been deprecated.  The modules
in this package provide the functionalities which are used by Roundup

- adapting the most recent Python usage
- using new built-in functionality
- avoiding deprecation warnings

Use the modules in this package to preserve Roundup's compatibility.

# vim: si

Roundup Issue Tracker: http://roundup-tracker.org/