BTW, reverting/working around the change was rejected for 2.7.2 so
upstream will need to adjust.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with python 2.7.2
** Changed in: python
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with python 2.7.2rc1
To manage notifications about this bug g
** Changed in: nova
Status: New => Invalid
** Changed in: nova (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with
Thierry: No
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with python 2.7.2rc1
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.c
Anything left to do on Nova upstream or ubuntu/nova packaging ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with python 2.7.2rc1
--
ubuntu-bugs mailing list
** Branch linked: lp:ubuntu/python-mox
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with python 2.7.2rc1
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu
This bug was fixed in the package python-mox - 0.5.3-1ubuntu2
---
python-mox (0.5.3-1ubuntu2) oneiric; urgency=low
* python-2.7.2-compat.patch: Python 2.7.2 calls __dir__ for old-style
classes. Make sure a MockAnything returns a list of some sort
instead of a MockMethod (LP:
** Changed in: python
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with python 2.7.2rc1
--
ubuntu-bugs mailing list
ubuntu-bugs
This is what you actually get on 2.7.1:
$ python
Python 2.7.1 (r271:86832, Mar 24 2011, 22:44:47)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> class Foo:
... def __dir__(self):
... return ['a', 'b', 'c']
...
>>> class Bar:
... d
** Also affects: python via
http://bugs.python.org/issue12248
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails wit
http://bugs.python.org/issue12248
** Bug watch added: Python Roundup #12248
http://bugs.python.org/issue12248
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails
I think this one is even simpler to illustrate the change:
class Foo:
def __dir__(self):
return ['a', 'b', 'c']
class Bar:
def __dir__(self):
return ('a', 'b', 'c')
print dir(Foo())
print dir(Bar())
AFAICT, in Python 2.7.1 you get two lines of ['a', 'b', 'c'] while in
2.
This reproduces the problem:
=== mymodule.py ===
class MyClass(object):
pass
=== reproduce.py ===
import mox
import mymodule
class Test(object):
def __init__(self):
self.mox = mox.Mox()
self.mox.StubOutWithMock(mymodule, 'MyClass', use_mock_anything=True)
self
It's almost certainly related to this entry in Misc/NEWS:
- Correct lookup of __dir__ on objects. Among other things, this causes errors
besides AttributeError found on lookup to be propagated.
and this log entry:
changeset: 70312:b2fc6b9f850f
branch: 2.7
parent: 70304:9d004a9a2ce
** Changed in: nova (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with python 2.7.2rc1
--
ubuntu-bugs mailing list
** Summary changed:
- Test suite fails with python 2.7.2rc1
+ Nova's test suite fails with python 2.7.2rc1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with p
16 matches
Mail list logo