MatthieuDartiailh / bytecode

Python module to modify bytecode
https://bytecode.readthedocs.io/
MIT License
302 stars 38 forks source link

Python 3.6 compatibility #3

Closed danilobellini closed 8 years ago

danilobellini commented 8 years ago

I'd like to know if there is any plan to make bytecode compatible with Python 3.6.

The main reason it's important to me is that I'm using this package in my PyScanPrev project.

serprex commented 8 years ago

I'm going to start on this, @haypo are you wanting the library to dynamically do version detection? Not sure what the version compatibility story is here

vstinner commented 8 years ago

I pushed Serhiy's change: commit 430784c41f2cf3dff584201298f898f69ea38028.

@serprex: "I'm going to start on this, @haypo are you wanting the library to dynamically do version detection? Not sure what the version compatibility story is here"

Serhiy's change uses the version of the running Python. An enhancement would be to have a version argument somewhere.

vstinner commented 8 years ago

Le 24 oct. 2016 00:53, "Demur Rumed" notifications@github.com a écrit :

I'm going to start on this, @haypo are you wanting the library to dynamically do version detection? Not sure what the version compatibility story is here

A first step would be to use the version of the running python.

serprex commented 8 years ago

Serhiy's patch lgtm. I won't be adding anything to this

vstinner commented 8 years ago

It seems like the issue is now fixed, so I close it.