From 62ca959694d244072ca811e4337d288c1f6e7b52 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Mon, 15 Feb 2016 00:18:51 -0800 Subject: [PATCH] add the datetime/delta objects to implement.. [git-p4: depot-paths = "//depot/python/pypasn1/main/": change = 1824] --- pasn1.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pasn1.py b/pasn1.py index 7015f40..da6c448 100644 --- a/pasn1.py +++ b/pasn1.py @@ -95,6 +95,9 @@ class ASN1Coder(object): str: 'bytes', type(None): 'null', unicode: 'unicode', + #decimal.Decimal: 'float', + #datetime.datetime: 'datetime', + #datetime.timedelta: 'timedelta', } _tagmap = { '\x01': 'bool',