Mercurial > p > roundup > code
view roundup/anypy/README.txt @ 5807:0467d80eaeec
Try to deal with this warning/error: DeprecationWarning: generator
'iter_roles' raised StopIteration
PEP479 specifies how to rework it by using return rather than raise
StopIteration.
I am not sure if this is right, but
test/test_cgi.py::FormTestCase::testRoles is still passing.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 12 Jun 2019 19:38:33 -0400 |
| 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
