this is from the entity constructor:
def __init__(self, *, login, password):
this is the test for initialization with positional arguments:
def test_incorrect_instantiation_positional(self):
with self.assertRaises(TypeError):
User("login", "password")
It passes like
that's actually interesting, does the constructor of your mapped object still
obey the same contract that the "*, x, y" syntax describes ? or can you
suddenly pass "first_name", "last_name" positionally as well ?
On Aug 5, 2011, at 2:20 AM, Phazorx wrote:
> The patch worked on 0.7.0 and i d
The patch worked on 0.7.0 and i don't get warning from Python (3.2),
so it seem to have addressed the issue correctly.
(Well i don't get same error at least, once i finish with unittests i
can either confirm or deny lack of side effects)
Thanks!
On Jul 29, 6:38 pm, Michael Bayer wrote:
> On Jul 2