summaryrefslogtreecommitdiff
path: root/lib/_range.py
Commit message (Expand)AuthorAgeFilesLines
* fix: look up for range types defined in schemas in the search pathDaniele Varrazzo2022-10-061-16/+37
* Remove `__nonzero__` methodNikita Sobolev2022-07-301-4/+0
* Copyright year updated to 2021Daniele Varrazzo2021-06-151-1/+1
* Upgrade f-strings with flyntHugo van Kemenade2020-11-171-6/+5
* Upgrade Python syntax with pyupgrade --py36-plusHugo van Kemenade2020-11-171-5/+5
* Drop support for EOL Python 2.7Hugo van Kemenade2020-11-171-3/+2
* Copyright bumped to 2020Daniele Varrazzo2020-01-171-0/+1
* Copyright year updatedDaniele Varrazzo2019-02-171-1/+1
* Full flake8 3.5 cleanupDaniele Varrazzo2018-10-231-1/+1
* Use the connection.info properties instead of the legacy methodsconnection-infoDaniele Varrazzo2018-10-131-2/+2
* Faster check for empty range in str()Daniele Varrazzo2018-10-041-1/+1
* Implement __str__ for range typesMichel Albert2018-09-301-0/+13
* Drop 2to3 build step; make all code compatible with all PythonsJon Dufresne2017-12-111-3/+8
* Use dict comprehensionsDaniele Varrazzo2017-11-281-5/+2
* Python source cleanup using flake8Daniele Varrazzo2016-10-111-14/+25
* Dropped use of b() "macro" and 2to3 fixerDaniele Varrazzo2016-08-151-7/+7
* Make Range pickleableJonathan Ross Rogers2016-08-071-0/+11
* Merge branch 'range_sort'Daniele Varrazzo2014-02-221-4/+35
|\
| * Hardcode the list of attributes to be used in comparisonDaniele Varrazzo2014-02-221-1/+1
| * Added implementation for Range gt and ge operatorsDaniele Varrazzo2014-02-221-13/+15
| * New implementation of Range sorting that works for Python 2.5 to 3.3, at least.Chris Withers2014-02-181-6/+26
| * Provide a stable and consistent sort order for Range objects.Chris Withers2014-02-121-4/+13
* | Fixed error message on range parsing failedDaniele Varrazzo2014-02-221-1/+1
|/
* cater for comparison of subclassesChris Withers2013-05-261-1/+1
* raising an exception here rather than returning False causes problems with SQ...Chris Withers2013-05-261-1/+1
* more useful error message when comparing ranges with non-rangesChris Withers2013-05-261-0/+2
* Make sure to return a bytes string from numeric range adapterDaniele Varrazzo2013-04-211-3/+3
* A couple of typos fixedDaniele Varrazzo2013-04-071-1/+1
* Fixed range adaptation on Python 3Daniele Varrazzo2013-03-161-10/+10
* More helpful error messasge on Range order attemptsDaniele Varrazzo2012-09-251-1/+3
* Added documentation for range types and adaptationDaniele Varrazzo2012-09-241-35/+44
* Don't need to implement __new__ to make an immutable classDaniele Varrazzo2012-09-241-4/+1
* Fixed search of types into schemas.Daniele Varrazzo2012-09-241-3/+3
* Range objects cannot be orderedDaniele Varrazzo2012-09-231-0/+5
* Range objects are nonzero when not emptyDaniele Varrazzo2012-09-231-0/+3
* Range objects are immutable and hashableDaniele Varrazzo2012-09-231-1/+14
* Dropped Range._empty attributeDaniele Varrazzo2012-09-231-13/+13
* Added in operator for rangesDaniele Varrazzo2012-09-231-0/+16
* NumberRange renamed to NumericRangeDaniele Varrazzo2012-09-231-7/+7
* Dropped Range classes for specific numeric typesDaniele Varrazzo2012-09-231-15/+3
* Added first implementation of Range type, adapter, typecasterDaniele Varrazzo2012-09-231-0/+435