2.49b names truncated

Hi,
I am working on an import/export script (Blender 2.49b, Win7) and have just noticed that object and texture names are truncated(limited) to 21 chars.

Instead of:
dirt-3-object-RECT0000292.joe
grass-clump-arbor_n.png

I am getting:
dirt-3-object-REC.292
grass-clump-arbor_n.p

Is this intended? Is there a workaround?

There is no workaround, that is the Blender limit. And unfortunately I don’t think it was extended for 2.5. The limit is too small.

no direct workaround, but you can store long names as strings in .properties
e.g.

my_object.properties['long_name'] = 'very long name'