Martin v. Löwis wrote:
Johan Harjano ran into an interesting problem when trying to run the
Django test suite under Python 3.1.
Django has doctests of the form
>>> a6.headline
u'Default headline'
Even when converting the doctest with 2to3, the expected output is
unmodified. However, in 3.x, th
Kristján Valur Jónsson wrote:
> Hello again.
> A lot of overflow tests fail in the testsuite, by expecting overflow using
> sys.maxint.
> for example this line, 196, in test_index.py:
> self.assertEqual(x[self.neg:self.pos], (-1, maxint))
Those tests should be fixed to use test.test_support.MAX_
Eric Huss wrote:
> Some subclasses of Exception are no longer pickleable in Python 2.5. An
> example:
>
[snip]
>
> Does anyone have any thoughts about this? Is it a bug?
>
> I can imagine one could argue that exceptions should call the base
> __init__ method to properly set args, but there are
Hi all!
I have just accepted an invitation to become a Python
developer, so I feel obliged to introduce myself.
My name is Žiga Seilnacht. I'm currently studying civil
engineering at the University of Ljubljana, Slovenia.
I started learning Python approximately two years ago, as
my
Michael Hudson python.net> writes:
>
> "Phillip J. Eby" telecommunity.com> writes:
>
> > Unfortunately, finding out a descriptor's name is non-trivial; it'd be nice
> > if there were a descriptor hook __bind__(cls,name) that was called by
> > classes during cls.__new__ or assignment to a cla