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 vstinner
Recipients Arach, Arfrever, Huzaifa.Sidhpurwala, Jim.Jewett, Mark.Shannon, PaulMcMillan, Zhiping.Deng, alex, barry, benjamin.peterson, christian.heimes, cvrebert, dmalcolm, eric.araujo, eric.snow, fx5, georg.brandl, grahamd, gregory.p.smith, gvanrossum, gz, jcea, jsvaughan, lemburg, loewis, mark.dickinson, neologix, pitrou, python-dev, roger.serwy, skorgu, skrah, terry.reedy, tim.peters, v+python, vstinner, zbysz
Date 2012-03-12.23:51:17
SpamBayes Score 2.4496161e-05
Marked as misclassified No
Message-id <1331596278.12.0.179728819042.issue13703@psf.upfronthosting.co.za>
In-reply-to
Content
> FWIW I upgraded to ubuntu pangolin beta over the weekend,
> which includes 2.7.3rc1, ...
>
>  File "/usr/lib/python2.7/random.py", line 47, in <module>
>    from os import urandom as _urandom
> ImportError: cannot import name urandom

It looks like you are using random.py of Python 2.7.3 with the Python program 2.7.2, because os.urandom() is now always available in Python 2.7.3.
History
Date User Action Args
2012-03-12 23:51:18vstinnersetrecipients: + vstinner, lemburg, gvanrossum, tim.peters, loewis, barry, georg.brandl, terry.reedy, gregory.p.smith, jcea, mark.dickinson, pitrou, christian.heimes, benjamin.peterson, roger.serwy, eric.araujo, grahamd, Arfrever, v+python, alex, cvrebert, zbysz, skrah, dmalcolm, gz, neologix, Arach, Mark.Shannon, python-dev, eric.snow, Zhiping.Deng, Huzaifa.Sidhpurwala, Jim.Jewett, PaulMcMillan, fx5, skorgu, jsvaughan
2012-03-12 23:51:18vstinnersetmessageid: <1331596278.12.0.179728819042.issue13703@psf.upfronthosting.co.za>
2012-03-12 23:51:17vstinnerlinkissue13703 messages
2012-03-12 23:51:17vstinnercreate