File tree 3 files changed +18
-2
lines changed
3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
Revision history for the Python package RiveScript.
2
2
3
+ 1.14.3 Dec 8 2016
4
+ - Fix sorting algorithm for triggers with ` %Previous ` , making their sort order
5
+ deterministic and correct regardless of the order they appeared in the
6
+ source file (PR #60 ; bug #59 )
7
+ - Fix a possible crash when interpolating a ` <star> ` tag when the trigger
8
+ had captured no stars. In this cases the ` <star> ` tag will become the string
9
+ ` "None" ` ; it is a user error that this situation arises anyway and this fix
10
+ just prevents Python from crashing (bugs #51 and #54 )
11
+ - Fix a possible crash when calling ` random.choice ` on an empty list by
12
+ wrapping it in a safety function at ` rivescript.utils.random_choice `
13
+ (bug #36 )
14
+ - Better error reporting on the JSON Interactive Mode: if there is an
15
+ exception raised when decoding the input JSON, the output JSON now contains
16
+ an ` error ` key with the text of the exception to help diagnose what went
17
+ wrong.
18
+
3
19
1.14.2 Oct 18 2016
4
20
- Fix numeric tags like ` <add> ` raising a ` TypeError ` exception.
5
21
Original file line number Diff line number Diff line change 3
3
%global desc A scripting language to make it easy to write responses for a chatterbot.
4
4
5
5
Name: python-%{srcname }
6
- Version: 1.14.2
6
+ Version: 1.14.3
7
7
Release: 1%{?dist }
8
8
Summary: %{sum }
9
9
Original file line number Diff line number Diff line change 20
20
__docformat__ = 'plaintext'
21
21
22
22
__all__ = ['rivescript' ]
23
- __version__ = '1.14.2 '
23
+ __version__ = '1.14.3 '
24
24
25
25
from .rivescript import RiveScript
26
26
from .exceptions import (
You can’t perform that action at this time.
0 commit comments