This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author torsten
Recipients aptshansen, hdima, torsten
Date 2010-02-19.23:46:28
SpamBayes Score 9.623824e-07
Marked as misclassified No
Message-id <>
I have been bitten by this omission from the python libs recently. I ended up copying the code from this diff into my script.

I'd rather have this available with each python installation, so I updated the patch to include test cases as well as ReST documentation updates. Attached is the patch for Python 3.x (against current py3k). I'll send an updated patch for 2.7 as well.
Date User Action Args
2010-02-19 23:46:32torstensetrecipients: + torsten, hdima, aptshansen
2010-02-19 23:46:32torstensetmessageid: <>
2010-02-19 23:46:30torstenlinkissue850728 messages
2010-02-19 23:46:30torstencreate