chiark / gitweb /
gf: Make GF.fromstring consistent with MP.fromstring
authorMark Wooding <mdw@distorted.org.uk>
Sat, 4 Feb 2006 17:53:52 +0000 (17:53 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 4 Feb 2006 17:53:52 +0000 (17:53 +0000)
commit4b3890c73f33bfa86f927e66592a4e9e8ef33203
treee88db20ae5b529bb6fdeb9a69078131522665782
parenta1be89adf16edc24a5aa8819c742308fd7632141
gf: Make GF.fromstring consistent with MP.fromstring

The latter raises an exception if given an empty string, and reports
`bad radix' if it is, rather than `out of range'.
mp.c