python-objects 0.0.7

rust crate that implements the architecture of the CPython objects. with this crate you can crate a list with any data type from rust
Documentation
use python::*;

fn main() {
    let float_32 = Float::from(123.123f32);
    print(float_32);

    let float_64 = Float::from(123.123f64);
    print(float_64);

    let float = Float::from(123.123f32);
    print(float);
    print(repr(&float));
    let string = String::from("asd");

    let mut float_list = List::new();
    float_list.append_back(float_32);
    float_list.append_back(float_64);
    float_list.append_back(float);
    print(float_list);

    println!("{:#?}", float);
    println!("{:?}", float);
    println!("{:#}", float);

    println!("{:#?}", float_64);
    println!("{:?}", float_64);
    println!("{:#}", float_64);
}