Commit Graph

949 Commits

Author SHA1 Message Date
kngwyu 41f4d1d673 $crate::std to ::std
So that we can use these macros in outer crates
2018-07-02 00:06:08 +09:00
kngwyu 70e1879d59 Make python pub 2018-07-02 00:06:01 +09:00
kngwyu 3ec49b586f Modify pyobject_native_type to take path instead of ident
So that we can use this macro outside this crate.
2018-07-01 23:51:56 +09:00
konstin aadde4cd0c Fix a scope in the macro output 2018-06-18 15:45:15 +02:00
konstin e374b5dd1d Fix proc macro scoping for pyo3 2018-06-15 22:50:26 +02:00
konstin fd6ab73924 Upgrade to syn 0.14: Useful error messages 🎉 2018-06-15 22:41:16 +02:00
konstin 373d0cf5f4 rustfmt the examples 2018-06-15 21:23:18 +02:00
konstin 80096ae143 rudtfmt the tests
With some careful refactoring alongside
2018-06-15 21:21:12 +02:00
konstin f9ff7cd465 Ignore test because of a docmatic bug
See https://github.com/assert-rs/docmatic/issues/4
2018-06-15 15:59:22 +02:00
konstin 1301394264 Fix c string conversion in python 2 2018-06-15 15:57:59 +02:00
konstin 9394dc591e Deactivate mails on failed travis run
The test suite is unfortunately very flaky which makes travis spam with mails of failed builds
2018-06-14 16:29:22 +02:00
konstin f2be73c4f3 Fix tests 2018-06-14 16:20:55 +02:00
konstin 785d338700 Add a few notes on debugging 2018-06-14 16:17:49 +02:00
konstin 9cb5321317
Merge pull request #183 from peng1999/master
Fix broken links
2018-06-14 16:05:23 +02:00
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