Changeset 438

Show
Ignore:
Timestamp:
Tue Feb 26 17:18:37 2008
Author:
giovannibajo
Message:

Ticket #16: allow unicode elements in paths.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/mf.py

    r398 r438  
    25 25 # but str(sys.path[n]) should yield the original string.  
    26 26  
    27   STRINGTYPE = type('')  
      27 try:  
      28     STRINGTYPE = basestring  
      29 except NameError:  
      30     STRINGTYPE = type("")  
    28 31  
    29 32 if not os.environ.has_key('PYTHONCASEOK') and sys.version_info >= (2, 1):  
     
    223 226         mod = None  
    224 227         for thing in self.path:  
    225               if type(thing) is STRINGTYPE:  
      228             if isinstance(thing, STRINGTYPE):  
    225 228                 owner = self.shadowpath.get(thing, -1)  
    226 229                 if owner == -1:  
  • trunk/doc/CHANGES.txt

    r422 r438  
    19 19  + Fix support for .py files with DOS line endings under Linux (fixes  
    20 20    PyOpenGL).  
    21    + Fix support for PIL when imported without top-level package ("import   
      21  + Fix support for PIL when imported without top-level package ("import  
    21 21    Image").  
    22 22  + Fix PyXML import hook under NT (thanks to Lorenzo Mancini)  
    23 23  * Improve correctness of the binary cache of UPX'd/strip'd files. This  
    24 24    fixes problems when switching between multiple versions of the  
    25      same third-party library (like e.g. wxPython allows to do).   
      25    same third-party library (like e.g. wxPython allows to do).  
    25 25  + Fix a stupid bug with modules importing optparse (under Linux) (thanks  
    26 26    to Louai Al-Khanji).  
    27    + Under Python 2.4+, if an exception is raised while importing a module   
      27  + Under Python 2.4+, if an exception is raised while importing a module  
    27 27    inside a package, the module is now removed from the parent's  
    28 28    namespace (to match the behaviour of Python itself).  
     
    33 33    causing this exception to be generated: "PYZ entry 'encodings' (0j)  
    34 34    is not a valid code object".  
      35  + Fix problem when having unicode strings among path elements.  
    35 36  
    36 37 PyInstaller 1.3