python-nocaselist
No description set
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
6
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-nocaselist && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
nocaselist-2.0.0.tar.gz | 0000029306 28.6 KB | |
python-nocaselist.changes | 0000001979 1.93 KB | |
python-nocaselist.spec | 0000001814 1.77 KB |
Revision 4 (latest revision is 7)
Dominique Leuenberger (dimstar_suse)
accepted
request 1130336
from
Dirk Mueller (dirkmueller)
(revision 4)
- update to 2.0.0: * typing hints * Fixed coveralls issues with KeyError and HTTP 422 Unprocessable Entity. * Added support for passing slices to '__setitem__()' and '__delitem__()'. Expanded the testcases accordingly. * Fixed incorrect error handling when passing objects of unsupported types to the right hand operand of the rich comparison methods of NocaseList. This previously caused AttributeError "'list' object has no attribute 'lower'" and TypeError "'int' object is not iterable" to be raised which was confusing. This is now handled by returning 'NotImplemented' from these methods as recommended by Python, causing TypeError with a proper message to be raised by Python.# * Resurrected support for byte strings as list values in the default implementation of the casefold method. The list can now contains unicode strings and byte strings. * Added type hints and type checking with MyPy (issue #96). installation of the package. - initial specfile 1.0.3
Comments 0