By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,270 Members | 1,703 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,270 IT Pros & Developers. It's quick & easy.

Legally correct way of copying stdlib module?

P: n/a
I'm writing a package where I need to use the uuid module.
Unfortunately, that module is only available in Python 2.5, and my
package needs to be compatible with 2.4. I'm planning to copy it from
Python 2.5's stdlib into my package, and import it like this:

import uuid
except ImportError:
from mypackage import _uuid as uuid

However, I'm concerned about how to do this in a legal way. is
presumably released under the Python license, but the file itself
includes no mention of this. Should I copy the Python license as a
comment into my Do I need a copyright statement too (and if
so, how do I know who owns the copyright to that particular module)?
Jan 11 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.