[issue29252] self in classes missinterpreted as a string.

2017-05-17 Thread Decorater
Changes by Decorater : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue29252] self in classes missinterpreted as a string.

2017-01-12 Thread Decorater
Decorater added the comment: Also in the code I had to subclass it 3 times, 1 time to preserver original functionality as if the hook was not inserted in the front of the path hooks, another time for 1 format of files it should be able to allow importing of, and the other time for another form

[issue29252] self in classes missinterpreted as a string.

2017-01-12 Thread Decorater
Decorater added the comment: Also I sadly have to make this a dummy class just to add in an actual dictionary with the file extensions it supports because I cant use setattr on it. It is retarded that you cant use it for builtin types or classes if your code actually requires such. --

[issue29252] self in classes missinterpreted as a string.

2017-01-12 Thread Decorater
New submission from Decorater: So, I have a class (it subclasses the zipimporter for my import hook) that allows me to not worry about issues when the hook is appended to the beginning of the path hooks. The code to the class as follows: class OriginalZipImport(zipimport.zipimporter): """