[issue23517] datetime.utcfromtimestamp parses timestamps incorrectly

2015-07-01 Thread Timothy Cardenas
Timothy Cardenas added the comment: We are seeing this behavior influencing other libraries in python 3.4. This should never fail if timestamp and fromtimestamp are implemented correctly: from datetime import datetime t = datetime.utcnow().timestamp() t2 = datetime.utcfromtimestamp(t) assert t

[issue24512] multiprocessing should log a warning when forking multithreaded process

2015-06-25 Thread Timothy Cardenas
New submission from Timothy Cardenas: We were tracking down a bug the other day that was rather hard to find involving a forking a process that had both a primary thread and a logging thread. The docs clearly state that forking a multithreaded process is problematic https://docs.python.org

[issue24183] ABCMeta classes do not support the **kwargs standard class interface

2015-05-13 Thread Timothy Cardenas
New submission from Timothy Cardenas: Summary: Any class that derives from the ABCMeta class doesn't support keyword variable arguments as defined here :https://www.python.org/dev/peps/pep-3115/. Expected: If i define a simple class that derives from ABCMeta that has a kwarg the class

[issue24183] ABCMeta classes do not support the **kwargs standard class interface

2015-05-13 Thread Timothy Cardenas
Timothy Cardenas added the comment: Hmm Ok. You are right i can do the following: from collections import UserDict from abc import ABCMeta class MetaMyDict(ABCMeta): @classmethod def __prepare__(cls, name, bases, **kwargs): return {} def __new__(mcls, name, bases

[issue24183] ABCMeta classes do not support the **kwargs standard class interface

2015-05-13 Thread Timothy Cardenas
Timothy Cardenas added the comment: Ahhh i see now. Even the simple case class Foo(bar='baz'): pass fails. I misunderstood the documentation then. I thought that python 3 introduced a new interface for all classes when it actually just introduced the option to add keyword arguments to your