blender/release/scripts/modules
Lukas Toenne dd36c6b948 Fix for an obscure bpy_types bug: When attempting to define __setattr__ in a metaclass based on RNAMetaPropGroup, the base class' __setattr__ method can not be called, since python prohibits setattr on
builtin classes. This was done in Python 2.3 to prevent changes to the 'object' type definition and similar issues. As explained by Guido van Rossum in the following mail, the python check will look for
the *closest* base class, which fails for RNAMetaPropGroup because its first base is RNAMeta, which is in turn a subclass of 'type'.

http://code.activestate.com/lists/python-dev/34489/

The easiest and safest way to prevent this issue therefore seems to be
to swap the base class order for RNAMetaPropGroup, so that StructMetaPropGroup is the first base, which has a perfectly valid setattr implementation.
2013-08-23 15:39:25 +00:00
..
bl_i18n_utils More "relpath" try/except protection... 2013-08-18 15:17:33 +00:00
bpy bpy.path.reduce_dirs() - new utility function to de-duplicate and remove nested paths before doing a recursive search. 2013-08-12 07:44:38 +00:00
bpy_extras More "relpath" try/except protection... 2013-08-18 15:17:33 +00:00
console pep8 cleanup 2013-06-27 03:05:19 +00:00
addon_utils.py reduce imports on startup 2013-07-03 01:20:32 +00:00
animsys_refactor.py Style edit (mostly), use """ for docstrings (not '''). 2012-07-03 09:02:41 +00:00
blend_render_info.py fix for blend_render_info.py not closing file & some edits to comments. 2012-08-22 10:29:30 +00:00
bpy_restrict_state.py style cleanup 2013-01-15 23:15:32 +00:00
bpy_types.py Fix for an obscure bpy_types bug: When attempting to define __setattr__ in a metaclass based on RNAMetaPropGroup, the base class' __setattr__ method can not be called, since python prohibits setattr on 2013-08-23 15:39:25 +00:00
bpyml_ui.py Style edit (mostly), use """ for docstrings (not '''). 2012-07-03 09:02:41 +00:00
bpyml.py style cleanup: pep8 2012-10-08 08:28:05 +00:00
console_python.py disable auto indent when pasting text into the python console. 2013-05-24 01:04:37 +00:00
console_shell.py style cleanup: pep8 2012-10-08 08:28:05 +00:00
graphviz_export.py style cleanup 2012-06-19 22:17:19 +00:00
keyingsets_utils.py py api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__ to some modules which were missing it. 2011-07-31 03:15:37 +00:00
nodeitems_utils.py pep8 cleanup 2013-06-27 03:05:19 +00:00
rna_info.py fix rna_info, python method to C function wasn't being tested for. (broke changelog generator) 2013-05-09 02:50:59 +00:00
rna_keymap_ui.py move keymap ui into modules, its not loaded on startup anymore. 2013-07-08 22:57:51 +00:00
rna_prop_ui.py And more UI messages issues fixing... Thanks again to Gabriel Gazzán and Leon Cheung! 2013-02-15 18:19:20 +00:00
rna_xml.py fix for sequence size mismatch when loading themes, addition of alpha channel caused themes not to load. 2012-12-13 09:46:24 +00:00
sys_info.py fix for own regression with handling of script paths, however this didnt work quite right before either. 2012-07-29 01:02:25 +00:00