On Mon, Apr 20, 2015 at 11:30 AM, Harry Percival hj...@cantab.net wrote:
My first reaction to type hints was yuck, and I'm sure I'm not the only
one to think that. viz (from some pycon slides):
def zipmap(f: Callable[[int, int], int], xx: List[int],
yy: List[int]) -
Not being a Python developer, I normally just lurk on Py-Dev, but I figured
I'd throw this out there for this thread:
Recent version of Maya embed Python 2.x, and the newer version of Maya (I
believe 2012 was the first version) embeds a Python 2.7 compiled with VS
2010. From my experience, most C
This list is for development OF Python, not for development in python. For
that reason, I will redirect this to python-list as well. My actual answer
is below.
On Thu, Oct 3, 2013 at 6:45 AM, Igor Vasilyev igor.vasil...@oracle.com
wrote:
Hi.
Example test.py:
class A():
def
On Wed, Mar 7, 2012 at 5:45 PM, Victor Stinner victor.stin...@gmail.comwrote:
During the Language Summit 2011 (*), it was discussed that PyPy and
Jython don't support non-string key in type dict. An issue was open to
emit a warning on such dict, but the patch has not been commited yet.
On Tue, Sep 27, 2011 at 4:43 PM, Steven D'Aprano st...@pearwood.info wrote:
But I can't see this being a useful test. As written, exceptions are still
treated as errors, except for excClass, which is treated as a test failure. I
can't see the use-case for that. assertRaises is useful: