Commit Graph

1035 Commits

Author SHA1 Message Date
konstin 7a52bf647c Apply fixes by Philip Molloy 2018-06-14 16:03:05 +02:00
Peng Guanwen ce4c217527 Fix broken links
This fixes #182
2018-06-14 08:10:39 +00:00
konstin 76510bdd0e Refactoring
This is actually a failed bugfix attempt, but still useful
2018-06-13 18:02:45 +02:00
konstin 60d1565a8f Always clone on in getters
Since copy implies clone, this doesn't  code.
2018-06-12 17:47:24 +02:00
konstin 7fbe13d97f Don't deploy in cron jobs 2018-06-12 14:36:34 +02:00
konstin 54b09c704b Fix -Z minimal-versions 2018-06-06 21:18:42 +02:00
konstin 4fc52cf966
Merge pull request #173 from kngwyu/128bitInt
Add 128bit integer support
2018-06-06 15:06:12 +02:00
kngwyu 66183d4683 Move common functions and macros from num2&num3 to num_common 2018-06-06 01:31:40 +09:00
kngwyu 0b964b503f Rename args of _PyLong_FromByteArray/_PyLong_AsByteArray 2018-06-05 23:03:53 +09:00
konstin 97688cb586
Update issue_template.md 2018-06-05 11:53:04 +02:00
konstin d789eb658f
Merge pull request #174 from jalexvig/master
Updated README for macs
2018-06-05 11:32:43 +02:00
Alex Vig cf5423b5dc Updated README for macs
Made the instructions around generating a Python package more clear
(particularly for macs).

closes #172
2018-06-02 19:01:40 -04:00
kngwyu 9ffbae30ab Add 128bit integer support for python2 2018-06-02 22:10:13 +09:00
kngwyu a87ddeab21 Add 128bit integer support for python3 2018-06-02 22:08:29 +09:00
konstin 2d57b3bef7 Link to the new guides; Fixes #165 2018-06-01 15:03:04 +02:00
konstin 727a051548 Fetch tags in travis 2018-05-30 16:24:57 +02:00
konstin 6448a016b1 Use the latest tag across all branches for the guide 2018-05-30 15:25:13 +02:00
konstin b4be009e38 Deploy different versions of the guide to github pages 2018-05-30 15:07:25 +02:00
konstin c9db4f0da2 Some cleanup and housekeeping 2018-05-30 15:03:31 +02:00
konstin d94054db3f
Merge pull request #169 from kngwyu/vec_to_dict
impl IntoPyDictPointer for IntoIterator<Item=(K, V)>
2018-05-30 14:37:21 +02:00
kngwyu 4795a35143 impl IntoPyDictPointer for IntoIterator<Item=(K, V)>
this commit has 2 purposes:
1. Avoid duplication of implementation(for BTreeMap & HashMap)
2. Enable conversion from Vec<(K, V)> to PyDict
2018-05-30 16:26:23 +09:00
konstin a6b91a5320
Merge pull request #166 from PyO3/env_rebuild
Rerun the build script if any relevant env var changed
2018-05-29 16:36:20 +02:00
konstin 6aeeebf5a2
Merge pull request #167 from rumpelsepp/master
Bump regex crate version to 1.0
2018-05-29 16:32:20 +02:00
Stefan Tatschner 44b494c921 Bump regex crate version to 1.0 2018-05-28 21:22:28 +02:00
konstin a6b92c0707 Rerun the build script if any relevant env var changed 2018-05-26 12:04:58 +02:00
konstin 40ad4b8b5a Make travis a little less verbose 2018-05-23 16:38:44 +02:00
konstin 051519d0f9
Merge pull request #164 from kmp1/master
Added a function to PyModule to load a module from a string of Python
2018-05-21 16:40:34 +02:00
Kevin Phillips 7412eda4b0 Changed the import for the test_module to include ToPyObject in order to make travis CI pass 2018-05-21 16:34:44 +02:00
Kevin Phillips 9544adaf1d Marked from_code on PyModule to only work with Python 3. It could work with Python 2 if you call, for example, Py_CompileStringFlags and pass std::prt::null_mut() as the last argument and when calling PyImport_ExecCodeModuleEx passing mutable pointers for the first and last arguments. I also added a test for this to test_module.rs 2018-05-21 16:03:21 +02:00
Kevin Phillips 1b1121e558 Added a function to PyModule to load a module from a string of Python 2018-05-21 16:03:20 +02:00
konstin b3c92f2be7 Make the travis scripts more verbose 2018-05-21 15:25:09 +02:00
konstin c42b71bc55 Fix python2 2018-05-19 17:42:40 +02:00
konstin 314a4a2b3e Some more documentation work 2018-05-19 17:27:26 +02:00
konstin 319afe1f76 Small documentation improvements 2018-05-17 23:59:38 +02:00
Martin Larralde 0b75334b70 Update `book.toml` to new `mdbook` format [ci skip] 2018-05-17 11:57:09 +02:00
Martin Larralde 8ba801ccaf
Merge pull request #160 from PyO3/syn13
Update to `syn 0.13` and `quote 0.5`
2018-05-17 11:30:05 +02:00
konstin 19ba972964 Add issue template
I hope you don't mind the emoji
2018-05-14 23:23:20 +02:00
konstin 63441a4b94 Fix ObjectProtocol usage 2018-05-14 22:44:30 +02:00
Martin Larralde 01b7b3feeb Fix link to organisation page in `Cargo.toml` manifests [ci skip] 2018-05-14 18:53:37 +02:00
Martin Larralde 31ff8356b6 Add some additional test cases to `test_methods` 2018-05-14 18:47:13 +02:00
Martin Larralde 8e4e446e32 Fix warning about unused import when adding a function to module 2018-05-14 18:13:07 +02:00
Martin Larralde 2607fe9fdc Fix unused `add_function` result in `#[pyfn]` expansion 2018-05-14 16:50:08 +02:00
Martin Larralde 37eff44308 Store argument names as `Ident` instead of `String` in `args::Argument` 2018-05-14 16:29:38 +02:00
Martin Larralde df89720e23 Remove uneeded imports from `py_class.rs` 2018-05-14 13:56:58 +02:00
Martin Larralde 580e50f727 Make `build_py_proto` and `build_py_methods` only accept `ImplItem` 2018-05-14 13:34:36 +02:00
Martin Larralde 758d30abbd Allow unused imports in `#[proto]` 2018-05-14 13:17:58 +02:00
Martin Larralde 269ddbdd59 Use `&T` instead of `&Box<T>` where applicable 2018-05-14 13:04:29 +02:00
Martin Larralde d5efc40445 Fix module init function name in `py2_init` 2018-05-14 03:19:29 +02:00
Martin Larralde d1ec82d4a7 Remove `attr_with_parentheses` from `utils.rs` 2018-05-14 01:56:25 +02:00
Martin Larralde ecadcef0c9 Fix `items` in `pyo3-derive-backed::args` test module 2018-05-14 01:49:12 +02:00