Author: Armin Rigo <ar...@tunes.org> Branch: cffi-1.0 Changeset: r1721:b890af05b4c2 Date: 2015-04-16 08:33 +0200 http://bitbucket.org/cffi/cffi/changeset/b890af05b4c2/
Log: bump version number diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -5813,7 +5813,7 @@ if (v == NULL || PyModule_AddObject(m, "_C_API", v) < 0) INITERROR; - v = PyText_FromString("0.9.2"); + v = PyText_FromString("1.0.0"); if (v == NULL || PyModule_AddObject(m, "__version__", v) < 0) INITERROR; diff --git a/cffi/__init__.py b/cffi/__init__.py --- a/cffi/__init__.py +++ b/cffi/__init__.py @@ -1,13 +1,10 @@ __all__ = ['FFI', 'VerificationError', 'VerificationMissing', 'CDefError', 'FFIError'] -from .api import FFI, CDefError, FFIError +from .api import FFI, CDefError from .ffiplatform import VerificationError, VerificationMissing -__version__ = "0.9.2" -__version_info__ = (0, 9, 2) +FFIError = FFI.error # backward compatibility -# The verifier module file names are based on the CRC32 of a string that -# contains the following version number. It may be older than __version__ -# if nothing is clearly incompatible. -__version_verifier_modules__ = "0.8.6" +__version__ = "1.0.0" +__version_info__ = (1, 0, 0) diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -16,9 +16,6 @@ basestring = str -class FFIError(Exception): - pass - class CDefError(Exception): def __str__(self): try: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit