Re: python2.6 update

2014-08-03 Thread Jakub Wilk
* Holger Levsen hol...@layer-acht.org, 2014-08-01, 22:57: [16:40] Pepper Hi! Is there a regression in python2.6? [16:40] Pepper I'm getting File /usr/lib/python2.6/random.py, line 47, in module [16:40] Pepper from os import urandom as _urandom [16:40] Pepper ImportError: cannot import

Re: python2.6 update

2014-08-03 Thread Evgeni Golov
On 08/03/2014 01:09 PM, Jakub Wilk wrote: In the old version of python2.6 the urandom() function was implemented directly in os.py. But in the new version, os.py imports it from the posix module. So this exception could happen when os and posix modules are out of sync: os already wants

Re: python2.6 update

2014-08-03 Thread Peter Palfrader
Evgeni Golov schrieb am Sonntag, dem 03. August 2014: On 08/03/2014 01:09 PM, Jakub Wilk wrote: I could also reproduce it with the following sequence: 1) run python 2.6 -S (loads posix, wich is a built-in module, but not os) 2) upgrade python2.6 3) import random This also happens

python2.6 update

2014-08-01 Thread Holger Levsen
Hi, as Raphel Geissert who did the python2.6 update is not on irc, some quotes from #debian-lts: [16:40] Pepper Hi! Is there a regression in python2.6? [16:40] Pepper I'm getting File /usr/lib/python2.6/random.py, line 47, in module [16:40] Pepper from os import urandom as _urandom [16