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.

作者 vstinner
收信人 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
日期 2012-03-12.23:51:17
SpamBayes Score 2.4496161e-05
Marked as misclassified
Message-id <1331596278.12.0.179728819042.issue13703@psf.upfronthosting.co.za>
In-reply-to
内容
> 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.
历史
日期 用户 动作 参数
2012-03-12 23:51:18vstinner修改recipients: + 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:18vstinner修改messageid: <1331596278.12.0.179728819042.issue13703@psf.upfronthosting.co.za>
2012-03-12 23:51:17vstinner链接issue13703 messages
2012-03-12 23:51:17vstinner创建