ImprovedTableParser

Changeset

48:72b97fa1e963
7 months ago Paul Boddie raw files shortlog changelog graph Permit floating point numbers in numeric column sorting. rel-0-2-3
ImprovedTableParser.py (file) PKG-INFO (file) README.txt (file) setup.py (file)
     1.1 --- a/ImprovedTableParser.py	Sun Feb 16 22:37:12 2020 +0100
     1.2 +++ b/ImprovedTableParser.py	Sun Feb 16 23:04:57 2020 +0100
     1.3 @@ -341,7 +341,7 @@
     1.4      """
     1.5  
     1.6      if s:
     1.7 -        return int(get_number(to_plain_text(s, request)))
     1.8 +        return float(get_number(to_plain_text(s, request)))
     1.9      else:
    1.10          return s
    1.11  
     2.1 --- a/PKG-INFO	Sun Feb 16 22:37:12 2020 +0100
     2.2 +++ b/PKG-INFO	Sun Feb 16 23:04:57 2020 +0100
     2.3 @@ -1,6 +1,6 @@
     2.4  Metadata-Version: 1.1
     2.5  Name: ImprovedTableParser
     2.6 -Version: 0.2.2
     2.7 +Version: 0.2.3
     2.8  Author: Paul Boddie
     2.9  Author-email: paul at boddie org uk
    2.10  Maintainer: Paul Boddie
     3.1 --- a/README.txt	Sun Feb 16 22:37:12 2020 +0100
     3.2 +++ b/README.txt	Sun Feb 16 23:04:57 2020 +0100
     3.3 @@ -106,6 +106,11 @@
     3.4  MoinSupport                 Tested with 0.2
     3.5                              Source: http://hgweb.boddie.org.uk/MoinSupport
     3.6  
     3.7 +New in ImprovedTableParser 0.2.3 (Changes since ImprovedTableParser 0.2.2)
     3.8 +--------------------------------------------------------------------------
     3.9 +
    3.10 +  * Added support for floating point numbers in numeric column sorting.
    3.11 +
    3.12  New in ImprovedTableParser 0.2.2 (Changes since ImprovedTableParser 0.2.1)
    3.13  --------------------------------------------------------------------------
    3.14  
     4.1 --- a/setup.py	Sun Feb 16 22:37:12 2020 +0100
     4.2 +++ b/setup.py	Sun Feb 16 23:04:57 2020 +0100
     4.3 @@ -8,6 +8,6 @@
     4.4      author       = "Paul Boddie",
     4.5      author_email = "paul@boddie.org.uk",
     4.6      url          = "http://moinmo.in/ParserMarket/ImprovedTableParser",
     4.7 -    version      = "0.2.2",
     4.8 +    version      = "0.2.3",
     4.9      py_modules   = ["ImprovedTableParser"]
    4.10      )