File: CHANGES.txt

package info (click to toggle)
python-inflect 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 560 kB
  • sloc: python: 4,855; makefile: 14
file content (137 lines) | stat: -rw-r--r-- 3,350 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
ver 2.1.0

* #29: Relicensed under the more permissive MIT License.

ver 2.0.1

* #57: Fix pluralization of taco.

ver 2.0.0

* #37: fix inconsistencies with the inflect method

  We now build and parse AST to extract function arguments instead of relying
  on regular expressions. This also adds support for keyword arguments and
  built-in constants when calling functions in the string.
  Unfortunately, this is not backwards compatible in some cases:
  * Strings should now be wrapped in single or double quotes
    p.inflect("singular_noun(to them)") should now be p.inflect("singular_noun('to them')")
  * Empty second argument to a function will now be parsed as None instead of ''.
    p.inflect("num(%d,) eggs" % 2) now prints "2 eggs" instead of " eggs"
    Since None, True and False are now supported, they can be passed explicitly:
    p.inflect("num(%d, False) eggs" % 2) will print " eggs"
    p.inflect("num(%d, True) eggs" % 2) will print "2 eggs"

ver 1.0.2

* #53: Improved unicode handling.
* #5 and #40 via #55: Fix capitalization issues in processes where
  more than one word is involved.
* #56: Handle correctly units containing 'degree' and 'per'.

ver 1.0.1

* #31: fix extraneous close parentheses.

ver 1.0.0

* Dropped support for Python 3.3.

ver 0.3.1

* Fixed badges in readme.

ver 0.3.0

* Moved hosting to `jazzband <https://github.com/jazzband/inflect>`_.

ver 0.2.5

* Fixed TypeError while parsing compounds (by yavarhusain)
* Fixed encoding issue in setup.py on Python 3


ver 0.2.4

* new maintainer (Alex Grönholm)
* added Python 3 compatibility (by Thorben Krüger)


ver 0.2.3

* fix a/an for dishonor, Honolulu, mpeg, onetime, Ugandan, Ukranian,
  Unabomber, unanimous, US
* merge in 'subspecies' fix by UltraNurd
* add arboretum to classical plurals
* prevent crash with singular_noun('ys')


ver 0.2.2

* change numwords to number_to_words in strings
* improve some docstrings
* comment out imports for unused .inflectrc
* remove unused exception class


ver 0.2.1

* remove incorrect gnome_sudoku import


ver 0.2.0

* add gender() to select the gender of singular pronouns

* replace short named methods with longer methods. shorted method now print a message and rasie DecrecationWarning
  pl -> plural
  plnoun -> plural_noun
  plverb -> plural_verb
  pladj -> plural_adjective
  sinoun -> singular_noun
  prespart -> present_participle
  numwords -> number_to_words
  plequal -> compare
  plnounequal -> compare_nouns
  plverbequal -> compare_verbs
  pladjequal -> compare_adjs
  wordlist -> join


* change classical() to only accept keyword args: only one way to do it

* fix bug in numwords where hundreds was giving the wrong number when group=3




ver 0.1.8 (2010-07-10)

* add line to setup showing that this provides 'inflect' so that
inflect_dj can require it

* add the rest of the tests from the Perl version



ver 0.1.7 (2010-07-09)

* replace most of the regular expressions in _plnoun and _sinoun. They run several times faster now.



ver 0.1.6 (2010-07-03)

* add method sinoun() to generate the singular of a plural noun. Phew!

* add changes from new Perl version: 1.892

* start adding tests from Perl version

* add test to check sinoun(plnoun(word)) == word
  Can now use word lists to check these methods without needing to have
  a list of plurals. ;-)

* fix die -> dice