pyo3/src/ffi3
konstin 9102f2e364 Refactor the exception macros
* Renamed `py_exception` to `create_exception`
  * The split up of the macros makes it possible to create exception structs with bodies to mimic python exceptions' members
  * Used `Once` to fix a (theoretical) race condition with the is_null check
2018-11-27 23:07:15 +01:00
..
bltinmodule.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
boolobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
bytearrayobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
bytesobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
ceval.rs Run rustfmt 2018-11-02 22:59:30 +01:00
code.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
codecs.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
compile.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
complexobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
descrobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
dictobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
enumobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
eval.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
fileobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
floatobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
frameobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
genobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
import.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
intrcheck.rs Rustfmt all the things ✔️ 2018-07-30 23:05:10 +02:00
iterobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
LICENSE
listobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
longobject.rs Fix test failure 2018-11-15 12:08:22 +01:00
memoryobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
methodobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
mod.rs Make clippy happy 2018-11-14 16:49:48 +01:00
modsupport.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
moduleobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
object.rs Refactor the exception macros 2018-11-27 23:07:15 +01:00
objectabstract.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
objimpl.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
osmodule.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
pyarena.rs Rustfmt all the things ✔️ 2018-07-30 23:05:10 +02:00
pycapsule.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
pydebug.rs Rustfmt all the things ✔️ 2018-07-30 23:05:10 +02:00
pyerrors.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
pyhash.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
pymem.rs Rustfmt all the things ✔️ 2018-07-30 23:05:10 +02:00
pyport.rs Rustfmt all the things ✔️ 2018-07-30 23:05:10 +02:00
pystate.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
pystrtod.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
pythonrun.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
rangeobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
README.md
setobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
sliceobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
structmember.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
structseq.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
sysmodule.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
traceback.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
tupleobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
typeslots.rs Rustfmt all the things ✔️ 2018-07-30 23:05:10 +02:00
unicodeobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
warnings.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00
weakrefobject.rs Get ready for rust 2018 2018-10-31 11:43:21 +01:00

rust python3 ffi

Rust FFI declarations for Python 3. Supports the PEP 384 stable ABI for Python 3.4 or higher.


This cargo -sys package provides python3 declarations. Licensed under the Python license (see LICENSE).

For a safe high-level API, see PyO3.

Documentation for the python API is available on [https://docs.python.org/3/c-api/].