-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building documentation with Python3 #76
Comments
Probably going to be releasing this PR along an alpha-beta release schedule as I'm not 100% sure how much stuff I might've broken, and it's going to take me a bit to fucking test everything. |
Once all the pre-requisites get merged, then PR #84 should add support for Python3. This will require a ton of testing, and as such will be tested in stages. Fucking shoot me. |
Replaced all string-joins that used tuples with lists in order to improve readability and slightly increase the performance on Python3.
Replaced all instances of the `logging.warn` function which is deprecated in Python3 with its new function name `logging.warning`.
Replaced or removed any and all types that are either missing or deprecated in Python3 with suitable alternatives that are still compatible with Python2.
Replaced a number of `six` wrappers with builtins, iterators, list-comprehensions, set-comprehensions, and dict-comprehensions which are compatible with Python3.
Added support for Python3 compatibility by implementing a number of wrappers, refactoring the trie used by the tag parser, and tweaking a whole bunch of the code.
PR #84 was finally merged into the master branch which means that we now have support for both Python2 and Python3. The next thing that will need to be done is to update the documentation. Maybe I'll try and work at figuring that out this weekend. |
The documentation has been updated to include Python3 support, but it's still being built with Python2. This is pretty much the only hold-up. I'm working on issue #6, and probably after that I'll get back to figure out how to rewrite the parser so that it works on both Py2 and Py3... |
Currently doing a refactor as per #158...This will probably completely break the documenation generation process for some period of time, so I'm not sure when documentation will catch up. If only these Python autodoc projects would combine the documentation from multiple function definitions that have the exact same name.... |
I'm pretty tired of writing documentation... |
At the moment, the plugin is only compatible with Python2 due to a variety of reasons. Fortunately IDA supports both Py2 and Py3 plugins (albeit not at the same time). However, I imagine at some point IDA is going to switch to Py3-only which will break this plugin entirely.
Py3 3.10.x will introduce a pattern matching syntax into the language and so if we want to leverage this in order to wrap Hex-Rays, we'll need to support Python3 at some point.
The text was updated successfully, but these errors were encountered: