3 ms·
Pretty much yes. Some Linux distrib where still using 2.6, and not a lot of them had even 3.2 in their packages. Only a few like you and me tried it. I can't
by sametmax 9y ago
Pretty much yes. Some Linux distrib where still using 2.6, and not a lot of them had even 3.2 in their packages.
Only a few like you and me tried it.
I can't recall of any big project or lib ever supporting < 3.3.
- UncleEntity 9y agoBlender was using py3k for quite a while before 3.3. I was doing blender dev work back then and can recall the almost immediate upgrades as soon as the newest python release came out -- kind of painful really since I prefered to use the fedora installed version instead of building from scratch so would often stall my dev work until fedora caught up to blender. They jumped on so early the python devs were saying "WTF are you people thinking?!?"
- sametmax 9y agoGiven blender is mostly c bindings and a huge code base, it's kinda impressive, and a good example that it's not an impossible task to migrate even a very hard project, let alone the most common ones.
- UncleEntity 9y agoIt wasn't a migration as much as a bottom-up rewrite of the entire bpy and big chunks of blender itself. Most of the bindings are generated by makesrna at compile (compile compile?) time which is fairly simple once you go deep diving into the sources. It actually takes a fair bit of shenanigans to get hand-coded bindings into blender, my last(?) patch was bindings for the kdtree and I had to do some convincing to get that accepted. I'd guess that 99% of bpy is generated bindings. If they stuck with python 2 when they started the initial overhaul they'd probably still be using it since artists are very vocal when their scripts break.