Pythons path functions - os.walk(). os.path.exists(). etc support bytes for paths...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 1 Feb 2011 04:24:47 +0000 (04:24 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 1 Feb 2011 04:24:47 +0000 (04:24 +0000)
commit0362d19f2d2b48b2b502bc1a136a9647ca86cb43
tree6675dcf05cbcbdee9eb69c91f61104709b75eb91
parentb17bbf9d9548a608d865a25c629e142f12ce762a
Pythons path functions - os.walk(). os.path.exists(). etc support bytes for paths as well as strings, support this with blender/rna too.

- bpy.data.*.load() functions were only accepting UTF-8 paths.
- rna functions/properties now accept byte values rather then strings for file paths.
- bpy.path.resolve_ncase now supports byte objects.
release/scripts/modules/bpy/path.py
source/blender/makesrna/intern/rna_image_api.c
source/blender/makesrna/intern/rna_main_api.c
source/blender/makesrna/intern/rna_scene_api.c
source/blender/python/generic/py_capi_utils.c