Implement flexbuffers in python#5880
Conversation
|
@dmitriykovalev Can you bump this thread to get CI to run again? We had a travis outage. |
eccf18f to
20b1460
Compare
|
@rw I've rebased, all checks passed. |
f116b80 to
f12cca8
Compare
|
@dmitriykovalev This looks great! Can you show me where the tests are running in Travis, if they are? I looked through the big test-everything-with-Docker test log, and what I saw was this: the number of unittests run with Python2 and with Python3 were the same. I found that I could grep for the tokens python_2 and python_3 to determine this. Could you help me make sure this is getting tested like we think? I'll also note that (perhaps after we merge this PR) it would be good to add fuzz tests to this feature. |
|
@rw Thanks! Tests should be picked up by running Regarding fuzz tests, sure, that's something to add on top. For python that shouldn't be super critical because bad input would end up in some kind of exception anyway, not a program crash like in C/C++. |
|
Ok, merging this for now, since a) it's seen code review and testing elsewhere, and b) this is a new API not in use by anyone yet. Followups can provide further improvements.. thanks all! |
Thank you for submitting a PR!
Please delete this standard text once you've created your own description.
Make sure you include the names of the affected language(s) in your PR title.
This helps us get the correct maintainers to look at your issue.
If you make changes to any of the code generators, be sure to run
cd tests && sh generate_code.sh(or equivalent .bat) and include the generatedcode changes in the PR. This allows us to better see the effect of the PR.
If your PR includes C++ code, please adhere to the Google C++ Style Guide,
and don't forget we try to support older compilers (e.g. VS2010, GCC 4.6.3),
so only some C++11 support is available.
For any C++ changes, please make sure to run
sh src/clang-format-git.shInclude other details as appropriate.
Thanks!