Skip to content

Commit 9bd60b1

Browse files
committed
Core: Remove six.py and fix Python 3.13 compatibility
Delete mgear.core.six and mgear.rigbits.six (Python 2/3 compat layer no longer needed). Replace all six imports: range is builtin, string_types replaced with str, urllib uses stdlib directly, PY2 checks removed. Fix invalid escape sequences in core/string.py docstrings that cause SyntaxWarning in Python 3.12+/Maya 2027.
1 parent f750990 commit 9bd60b1

16 files changed

Lines changed: 13 additions & 1985 deletions

File tree

release/scripts/mgear/anim_picker/gui.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545

4646
from .handlers import __EDIT_MODE__
4747
from .handlers import __SELECTION__
48-
from mgear.core.six.moves import range
4948

5049
# constants -------------------------------------------------------------------
5150
try:

release/scripts/mgear/anim_picker/widgets/picker_widgets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
python_handlers,
3232
maya_handlers,
3333
)
34-
from mgear.core.six.moves import range
3534

3635
# constants -------------------------------------------------------------------
3736
SCRIPT_DOC_HEADER = """

0 commit comments

Comments
 (0)