Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Python3.5 compatibility #95

Closed
alvaromlg opened this issue Oct 27, 2015 · 3 comments
Closed

Python3.5 compatibility #95

alvaromlg opened this issue Oct 27, 2015 · 3 comments

Comments

@alvaromlg
Copy link

Looks like this code https://github.com/cloudmatrix/esky/blob/master/esky/util.py#L578 wont work in python3.5 since _bootstrap hasnt those method/classes.

It looks like its working replacing _bootstrap with _bootstrap_external:

    loader = importlib._bootstrap_external.SourceLoader()    
    code = loader.source_to_code(source_code, '<string>')
    bytecode = importlib._bootstrap._external_code_to_bytecode(code, mtime=0, source_size=0)

Is it python3.5 compatible? or just until python3.4

@timeyyy
Copy link
Contributor

timeyyy commented Oct 28, 2015

esky development has slowed, the plan is to make esky compatabile with python3 without needing to run 2to3 converter, this will make debugging and programming for python3 much easier. You can read up on the latest issues here #90.

Status of 3.5 is unknown

@timeyyy
Copy link
Contributor

timeyyy commented Nov 3, 2015

@alvaromlg the latest patch should be enough to get you working!

#96

@alvaromlg
Copy link
Author

Yes, looks like it's working for me

2015-11-03 22:15 GMT+01:00 tim notifications@github.com:

@alvaromlg https://github.com/alvaromlg did the latest patch fix the
issue?


Reply to this email directly or view it on GitHub
#95 (comment).

Álvaro Pelegrina Fernández
Python / Angular JS Developer

Flumotion Services S.A.
World Trade Center - Ed. Norte - planta 7
Moll de Barcelona - 08039 - Barcelona - Spain
www.flumotion.com http://www.flumotion.com/

@timeyyy timeyyy closed this as completed Nov 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants