Hello community, here is the log from the commit of package python-pyasn1 for openSUSE:Factory checked in at 2018-05-29 10:26:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyasn1 (Old) and /work/SRC/openSUSE:Factory/.python-pyasn1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyasn1" Tue May 29 10:26:21 2018 rev:35 rq:612441 version:0.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyasn1/python-pyasn1.changes 2017-12-02 13:10:22.567016161 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyasn1.new/python-pyasn1.changes 2018-05-29 10:26:22.313587434 +0200 @@ -1,0 +2,9 @@ +Sat May 26 23:00:34 UTC 2018 - mich...@stroeder.com + +- update to version 0.4.3: + + * Copyright notice extended to the year 2018 + * Fixed GeneralizedTime.asDateTime to perform + milliseconds conversion correctly + +------------------------------------------------------------------- Old: ---- pyasn1-0.4.2.tar.gz New: ---- pyasn1-0.4.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyasn1.spec ++++++ --- /var/tmp/diff_new_pack.pekzy9/_old 2018-05-29 10:26:22.797569550 +0200 +++ /var/tmp/diff_new_pack.pekzy9/_new 2018-05-29 10:26:22.801569402 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-pyasn1 -Version: 0.4.2 +Version: 0.4.3 Release: 0 Summary: ASN.1 types and codecs License: BSD-2-Clause ++++++ pyasn1-0.4.2.tar.gz -> pyasn1-0.4.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/CHANGES.rst new/pyasn1-0.4.3/CHANGES.rst --- old/pyasn1-0.4.2/CHANGES.rst 2017-11-23 19:52:29.000000000 +0100 +++ new/pyasn1-0.4.3/CHANGES.rst 2018-05-23 22:37:34.000000000 +0200 @@ -1,4 +1,11 @@ +Revision 0.4.3, released 23-05-2018 +----------------------------------- + +- Copyright notice extended to the year 2018 +- Fixed GeneralizedTime.asDateTime to perform milliseconds conversion + correctly + Revision 0.4.2, released 23-11-2017 ----------------------------------- @@ -342,7 +349,7 @@ -------------- - License updated to vanilla BSD 2-Clause to ease package use - (http://opensource.org/licenses/BSD-2-Clause). + (https://opensource.org/licenses/BSD-2-Clause). - Test suite made discoverable by unittest/unittest2 discovery feature. - Fix to decoder working on indefinite length substrate -- end-of-octets marker is now detected by both tag and value. Otherwise zero values may @@ -406,7 +413,7 @@ - Fix to BER Boolean decoder that allows other pre-computed values besides 0 and 1 - Fix to leading 0x80 octet handling in DER/CER/DER ObjectIdentifier decoder. - See http://www.cosic.esat.kuleuven.be/publications/article-1432.pdf + See https://www.esat.kuleuven.be/cosic/publications/article-1432.pdf Revision 0.1.3 -------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/LICENSE.rst new/pyasn1-0.4.3/LICENSE.rst --- old/pyasn1-0.4.2/LICENSE.rst 2017-11-13 22:00:08.000000000 +0100 +++ new/pyasn1-0.4.3/LICENSE.rst 2018-03-29 16:31:57.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/PKG-INFO new/pyasn1-0.4.3/PKG-INFO --- old/pyasn1-0.4.2/PKG-INFO 2017-11-23 19:53:18.000000000 +0100 +++ new/pyasn1-0.4.3/PKG-INFO 2018-05-23 22:38:22.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyasn1 -Version: 0.4.2 +Version: 0.4.3 Summary: ASN.1 types and codecs Home-page: https://github.com/etingof/pyasn1 Author: Ilya Etingof <etin...@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/README.md new/pyasn1-0.4.3/README.md --- old/pyasn1-0.4.2/README.md 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/README.md 2018-05-23 22:37:34.000000000 +0200 @@ -1,8 +1,8 @@ ASN.1 library for Python ------------------------ -[![PyPI](https://img.shields.io/pypi/v/pyasn1.svg?maxAge=2592000)](https://pypi.python.org/pypi/pyasn1) -[![Python Versions](https://img.shields.io/pypi/pyversions/pyasn1.svg)](https://pypi.python.org/pypi/pyasn1/) +[![PyPI](https://img.shields.io/pypi/v/pyasn1.svg?maxAge=2592000)](https://pypi.org/project/pyasn1) +[![Python Versions](https://img.shields.io/pypi/pyversions/pyasn1.svg)](https://pypi.org/project/pyasn1/) [![Build status](https://travis-ci.org/etingof/pyasn1.svg?branch=master)](https://secure.travis-ci.org/etingof/pyasn1) [![Coverage Status](https://img.shields.io/codecov/c/github/etingof/pyasn1.svg)](https://codecov.io/github/etingof/pyasn1) [![GitHub license](https://img.shields.io/badge/license-BSD-blue.svg)](https://raw.githubusercontent.com/etingof/pyasn1/master/LICENSE.txt) @@ -172,13 +172,13 @@ BSD [license](http://snmplabs.com/pyasn1/license.html). Source code is freely available as a GitHub [repo](https://github.com/etingof/pyasn1). -You could `pip install pyasn1` or download it from [PyPI](https://pypi.python.org/pypi/pyasn1). +You could `pip install pyasn1` or download it from [PyPI](https://pypi.org/project/pyasn1). If something does not work as expected, [open an issue](https://github.com/etingof/pyasn1/issues) at GitHub or -post your question [on Stack Overflow](http://stackoverflow.com/questions/ask) +post your question [on Stack Overflow](https://stackoverflow.com/questions/ask) or try browsing pyasn1 [mailing list archives](https://sourceforge.net/p/pyasn1/mailman/pyasn1-users/). -Copyright (c) 2005-2017, [Ilya Etingof](mailto:etin...@gmail.com). +Copyright (c) 2005-2018, [Ilya Etingof](mailto:etin...@gmail.com). All rights reserved. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/docs/source/conf.py new/pyasn1-0.4.3/docs/source/conf.py --- old/pyasn1-0.4.2/docs/source/conf.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/docs/source/conf.py 2018-03-29 16:31:57.000000000 +0200 @@ -47,7 +47,7 @@ # General information about the project. project = u'ASN.1 types and codecs' -copyright = u'2005-2017, Ilya Etingof <etin...@gmail.com>' +copyright = u'2005-2018, Ilya Etingof <etin...@gmail.com>' author = u'Ilya Etingof <etin...@gmail.com>' # The version info for the project you're documenting, acts as replacement for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/docs/source/contents.rst new/pyasn1-0.4.3/docs/source/contents.rst --- old/pyasn1-0.4.2/docs/source/contents.rst 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/docs/source/contents.rst 2018-05-23 22:37:34.000000000 +0200 @@ -11,7 +11,7 @@ hardware agnostic way. Many industrial, security and telephony applications heavily rely on ASN.1. -The `pyasn1 <https://pypi.python.org/pypi/pyasn1/>`_ library implements +The `pyasn1 <https://pypi.org/project/pyasn1/>`_ library implements ASN.1 support in pure-Python. What is ASN.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/docs/source/download.rst new/pyasn1-0.4.3/docs/source/download.rst --- old/pyasn1-0.4.2/docs/source/download.rst 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/docs/source/download.rst 2018-05-23 22:37:34.000000000 +0200 @@ -24,4 +24,4 @@ Alternatively, you can download the latest release from `GitHub <https://github.com/etingof/pyasn1/releases>`_ -or `PyPI <https://pypi.python.org/pypi/pyasn1>`_. +or `PyPI <https://pypi.org/project/pyasn1>`_. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/__init__.py new/pyasn1-0.4.3/pyasn1/__init__.py --- old/pyasn1-0.4.2/pyasn1/__init__.py 2017-11-23 19:52:29.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/__init__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ import sys -# http://www.python.org/dev/peps/pep-0396/ -__version__ = '0.4.2' +# https://www.python.org/dev/peps/pep-0396/ +__version__ = '0.4.3' if sys.version_info[:2] < (2, 4): raise RuntimeError('PyASN1 requires Python 2.4 or later') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/ber/decoder.py new/pyasn1-0.4.3/pyasn1/codec/ber/decoder.py --- old/pyasn1-0.4.2/pyasn1/codec/ber/decoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/ber/decoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import debug @@ -337,7 +337,7 @@ elif subId == 128: # ASN.1 spec forbids leading zeros (0x80) in OID # encoding, tolerating it opens a vulnerability. See - # http://www.cosic.esat.kuleuven.be/publications/article-1432.pdf + # https://www.esat.kuleuven.be/cosic/publications/article-1432.pdf # page 7 raise error.PyAsn1Error('Invalid octet 0x80 in OID encoding') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/ber/encoder.py new/pyasn1-0.4.3/pyasn1/codec/ber/encoder.py --- old/pyasn1-0.4.2/pyasn1/codec/ber/encoder.py 2017-11-23 19:52:29.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/ber/encoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import debug diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/ber/eoo.py new/pyasn1-0.4.3/pyasn1/codec/ber/eoo.py --- old/pyasn1-0.4.2/pyasn1/codec/ber/eoo.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/ber/eoo.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1.type import base diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/cer/decoder.py new/pyasn1-0.4.3/pyasn1/codec/cer/decoder.py --- old/pyasn1-0.4.2/pyasn1/codec/cer/decoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/cer/decoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import error @@ -25,7 +25,7 @@ byte = oct2int(head[0]) # CER/DER specifies encoding of TRUE as 0xFF and FALSE as 0x0, while # BER allows any non-zero value as TRUE; cf. sections 8.2.2. and 11.1 - # in http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf + # in https://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf if byte == 0xff: value = 1 elif byte == 0x00: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/cer/encoder.py new/pyasn1-0.4.3/pyasn1/codec/cer/encoder.py --- old/pyasn1-0.4.2/pyasn1/codec/cer/encoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/cer/encoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import error diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/der/decoder.py new/pyasn1-0.4.3/pyasn1/codec/der/decoder.py --- old/pyasn1-0.4.2/pyasn1/codec/der/decoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/der/decoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1.codec.cer import decoder diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/der/encoder.py new/pyasn1-0.4.3/pyasn1/codec/der/encoder.py --- old/pyasn1-0.4.2/pyasn1/codec/der/encoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/der/encoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import error diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/native/decoder.py new/pyasn1-0.4.3/pyasn1/codec/native/decoder.py --- old/pyasn1-0.4.2/pyasn1/codec/native/decoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/native/decoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import debug diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/codec/native/encoder.py new/pyasn1-0.4.3/pyasn1/codec/native/encoder.py --- old/pyasn1-0.4.2/pyasn1/codec/native/encoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/codec/native/encoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/compat/binary.py new/pyasn1-0.4.3/pyasn1/compat/binary.py --- old/pyasn1-0.4.2/pyasn1/compat/binary.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/compat/binary.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from sys import version_info diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/compat/calling.py new/pyasn1-0.4.3/pyasn1/compat/calling.py --- old/pyasn1-0.4.2/pyasn1/compat/calling.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/compat/calling.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from sys import version_info diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/compat/dateandtime.py new/pyasn1-0.4.3/pyasn1/compat/dateandtime.py --- old/pyasn1-0.4.2/pyasn1/compat/dateandtime.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/compat/dateandtime.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import time diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/compat/integer.py new/pyasn1-0.4.3/pyasn1/compat/integer.py --- old/pyasn1-0.4.2/pyasn1/compat/integer.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/compat/integer.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/compat/octets.py new/pyasn1-0.4.3/pyasn1/compat/octets.py --- old/pyasn1-0.4.2/pyasn1/compat/octets.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/compat/octets.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from sys import version_info diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/compat/string.py new/pyasn1-0.4.3/pyasn1/compat/string.py --- old/pyasn1-0.4.2/pyasn1/compat/string.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/compat/string.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from sys import version_info diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/debug.py new/pyasn1-0.4.3/pyasn1/debug.py --- old/pyasn1-0.4.2/pyasn1/debug.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/debug.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import logging diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/error.py new/pyasn1-0.4.3/pyasn1/error.py --- old/pyasn1-0.4.2/pyasn1/error.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/error.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/base.py new/pyasn1-0.4.3/pyasn1/type/base.py --- old/pyasn1-0.4.2/pyasn1/type/base.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/base.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys @@ -221,7 +221,7 @@ raise error.PyAsn1Error('Attempted "%s" operation on ASN.1 schema object' % attr) def __repr__(self): - return '<%s object at %s>' % (self.__class__.__name__, id(self)) + return '<%s object at 0x%x>' % (self.__class__.__name__, id(self)) noValue = NoValue() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/char.py new/pyasn1-0.4.3/pyasn1/type/char.py --- old/pyasn1-0.4.2/pyasn1/type/char.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/char.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/constraint.py new/pyasn1-0.4.3/pyasn1/type/constraint.py --- old/pyasn1-0.4.2/pyasn1/type/constraint.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/constraint.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # # Original concept and code by Mike C. Fletcher. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/error.py new/pyasn1-0.4.3/pyasn1/type/error.py --- old/pyasn1-0.4.2/pyasn1/type/error.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/error.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1.error import PyAsn1Error diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/namedtype.py new/pyasn1-0.4.3/pyasn1/type/namedtype.py --- old/pyasn1-0.4.2/pyasn1/type/namedtype.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/namedtype.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/namedval.py new/pyasn1-0.4.3/pyasn1/type/namedval.py --- old/pyasn1-0.4.2/pyasn1/type/namedval.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/namedval.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # # ASN.1 named integers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/opentype.py new/pyasn1-0.4.3/pyasn1/type/opentype.py --- old/pyasn1-0.4.2/pyasn1/type/opentype.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/opentype.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/tag.py new/pyasn1-0.4.3/pyasn1/type/tag.py --- old/pyasn1-0.4.2/pyasn1/type/tag.py 2017-11-23 16:29:11.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/tag.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import error diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/tagmap.py new/pyasn1-0.4.3/pyasn1/type/tagmap.py --- old/pyasn1-0.4.2/pyasn1/type/tagmap.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/tagmap.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import error diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/univ.py new/pyasn1-0.4.3/pyasn1/type/univ.py --- old/pyasn1-0.4.2/pyasn1/type/univ.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/univ.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import math diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1/type/useful.py new/pyasn1-0.4.3/pyasn1/type/useful.py --- old/pyasn1-0.4.2/pyasn1/type/useful.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1/type/useful.py 2018-05-23 22:37:34.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import datetime @@ -104,7 +104,7 @@ text, _, ms = string.partition(text, ',') try: - ms = int(ms) * 10000 + ms = int(ms) * 1000 except ValueError: raise error.PyAsn1Error('bad sub-second time specification %s' % self) @@ -142,7 +142,7 @@ """ text = dt.strftime(cls._yearsDigits == 4 and '%Y%m%d%H%M%S' or '%y%m%d%H%M%S') if cls._hasSubsecond: - text += '.%d' % (dt.microsecond // 10000) + text += '.%d' % (dt.microsecond // 1000) if dt.utcoffset(): seconds = dt.utcoffset().seconds diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/pyasn1.egg-info/PKG-INFO new/pyasn1-0.4.3/pyasn1.egg-info/PKG-INFO --- old/pyasn1-0.4.2/pyasn1.egg-info/PKG-INFO 2017-11-23 19:53:17.000000000 +0100 +++ new/pyasn1-0.4.3/pyasn1.egg-info/PKG-INFO 2018-05-23 22:38:21.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyasn1 -Version: 0.4.2 +Version: 0.4.3 Summary: ASN.1 types and codecs Home-page: https://github.com/etingof/pyasn1 Author: Ilya Etingof <etin...@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/setup.cfg new/pyasn1-0.4.3/setup.cfg --- old/pyasn1-0.4.2/setup.cfg 2017-11-23 19:53:18.000000000 +0100 +++ new/pyasn1-0.4.3/setup.cfg 2018-05-23 22:38:22.000000000 +0200 @@ -1,6 +1,9 @@ [bdist_wheel] universal = 1 +[metadata] +license_file = LICENSE.rst + [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/setup.py new/pyasn1-0.4.3/setup.py --- old/pyasn1-0.4.2/setup.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/setup.py 2018-03-29 16:31:57.000000000 +0200 @@ -2,7 +2,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import os diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/__main__.py new/pyasn1-0.4.3/tests/__main__.py --- old/pyasn1-0.4.2/tests/__main__.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/__main__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/base.py new/pyasn1-0.4.3/tests/base.py --- old/pyasn1-0.4.2/tests/base.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/base.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/__main__.py new/pyasn1-0.4.3/tests/codec/__main__.py --- old/pyasn1-0.4.2/tests/codec/__main__.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/__main__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/ber/__main__.py new/pyasn1-0.4.3/tests/codec/ber/__main__.py --- old/pyasn1-0.4.2/tests/codec/ber/__main__.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/ber/__main__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/ber/test_decoder.py new/pyasn1-0.4.3/tests/codec/ber/test_decoder.py --- old/pyasn1-0.4.2/tests/codec/ber/test_decoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/ber/test_decoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys @@ -268,7 +268,7 @@ # Useful analysis of OID encoding issues could be found here: -# http://www.viathinksoft.de/~daniel-marschall/asn.1/oid_facts.html +# https://misc.daniel-marschall.de/asn.1/oid_facts.html class ObjectIdentifierDecoderTestCase(BaseTestCase): def testOne(self): assert decoder.decode( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/ber/test_encoder.py new/pyasn1-0.4.3/tests/codec/ber/test_encoder.py --- old/pyasn1-0.4.2/tests/codec/ber/test_encoder.py 2017-11-23 19:39:12.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/ber/test_encoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/cer/__main__.py new/pyasn1-0.4.3/tests/codec/cer/__main__.py --- old/pyasn1-0.4.2/tests/codec/cer/__main__.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/cer/__main__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/cer/test_decoder.py new/pyasn1-0.4.3/tests/codec/cer/test_decoder.py --- old/pyasn1-0.4.2/tests/codec/cer/test_decoder.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/cer/test_decoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/cer/test_encoder.py new/pyasn1-0.4.3/tests/codec/cer/test_encoder.py --- old/pyasn1-0.4.2/tests/codec/cer/test_encoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/cer/test_encoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/der/__main__.py new/pyasn1-0.4.3/tests/codec/der/__main__.py --- old/pyasn1-0.4.2/tests/codec/der/__main__.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/der/__main__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/der/test_decoder.py new/pyasn1-0.4.3/tests/codec/der/test_decoder.py --- old/pyasn1-0.4.2/tests/codec/der/test_decoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/der/test_decoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/der/test_encoder.py new/pyasn1-0.4.3/tests/codec/der/test_encoder.py --- old/pyasn1-0.4.2/tests/codec/der/test_encoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/der/test_encoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/native/__main__.py new/pyasn1-0.4.3/tests/codec/native/__main__.py --- old/pyasn1-0.4.2/tests/codec/native/__main__.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/native/__main__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/native/test_decoder.py new/pyasn1-0.4.3/tests/codec/native/test_decoder.py --- old/pyasn1-0.4.2/tests/codec/native/test_decoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/native/test_decoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/codec/native/test_encoder.py new/pyasn1-0.4.3/tests/codec/native/test_encoder.py --- old/pyasn1-0.4.2/tests/codec/native/test_encoder.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/codec/native/test_encoder.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/compat/__main__.py new/pyasn1-0.4.3/tests/compat/__main__.py --- old/pyasn1-0.4.2/tests/compat/__main__.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/compat/__main__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/compat/test_binary.py new/pyasn1-0.4.3/tests/compat/test_binary.py --- old/pyasn1-0.4.2/tests/compat/test_binary.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/compat/test_binary.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/compat/test_integer.py new/pyasn1-0.4.3/tests/compat/test_integer.py --- old/pyasn1-0.4.2/tests/compat/test_integer.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/compat/test_integer.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/compat/test_octets.py new/pyasn1-0.4.3/tests/compat/test_octets.py --- old/pyasn1-0.4.2/tests/compat/test_octets.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/compat/test_octets.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/test_debug.py new/pyasn1-0.4.3/tests/test_debug.py --- old/pyasn1-0.4.2/tests/test_debug.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/test_debug.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/__main__.py new/pyasn1-0.4.3/tests/type/__main__.py --- old/pyasn1-0.4.2/tests/type/__main__.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/__main__.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/test_char.py new/pyasn1-0.4.3/tests/type/test_char.py --- old/pyasn1-0.4.2/tests/type/test_char.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/test_char.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import pickle diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/test_constraint.py new/pyasn1-0.4.3/tests/type/test_constraint.py --- old/pyasn1-0.4.2/tests/type/test_constraint.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/test_constraint.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/test_namedtype.py new/pyasn1-0.4.3/tests/type/test_namedtype.py --- old/pyasn1-0.4.2/tests/type/test_namedtype.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/test_namedtype.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/test_namedval.py new/pyasn1-0.4.3/tests/type/test_namedval.py --- old/pyasn1-0.4.2/tests/type/test_namedval.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/test_namedval.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/test_opentype.py new/pyasn1-0.4.3/tests/type/test_opentype.py --- old/pyasn1-0.4.2/tests/type/test_opentype.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/test_opentype.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/test_tag.py new/pyasn1-0.4.3/tests/type/test_tag.py --- old/pyasn1-0.4.2/tests/type/test_tag.py 2017-11-21 10:44:44.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/test_tag.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/test_univ.py new/pyasn1-0.4.3/tests/type/test_univ.py --- old/pyasn1-0.4.2/tests/type/test_univ.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/test_univ.py 2018-03-29 16:31:57.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import math @@ -149,9 +149,13 @@ try: if hasattr(sys, 'getsizeof'): sys.getsizeof(univ.noValue) + else: + raise unittest.SkipTest("no sys.getsizeof() method") except PyAsn1Error: assert False, 'sizeof failed for NoValue object' + except TypeError: + raise unittest.SkipTest("sys.getsizeof() raises TypeError") class IntegerTestCase(BaseTestCase): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyasn1-0.4.2/tests/type/test_useful.py new/pyasn1-0.4.3/tests/type/test_useful.py --- old/pyasn1-0.4.2/tests/type/test_useful.py 2017-11-23 11:52:35.000000000 +0100 +++ new/pyasn1-0.4.3/tests/type/test_useful.py 2018-05-23 22:37:34.000000000 +0200 @@ -1,7 +1,7 @@ # # This file is part of pyasn1 software. # -# Copyright (c) 2005-2017, Ilya Etingof <etin...@gmail.com> +# Copyright (c) 2005-2018, Ilya Etingof <etin...@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # import datetime @@ -46,7 +46,7 @@ class GeneralizedTimeTestCase(BaseTestCase): def testFromDateTime(self): - assert useful.GeneralizedTime.fromDateTime(datetime.datetime(2017, 7, 11, 0, 1, 2, 30000, tzinfo=UTC)) == '20170711000102.3Z' + assert useful.GeneralizedTime.fromDateTime(datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC)) == '20170711000102.3Z' def testToDateTime0(self): assert datetime.datetime(2017, 7, 11, 0, 1, 2) == useful.GeneralizedTime('20170711000102').asDateTime @@ -55,19 +55,19 @@ assert datetime.datetime(2017, 7, 11, 0, 1, 2, tzinfo=UTC) == useful.GeneralizedTime('20170711000102Z').asDateTime def testToDateTime2(self): - assert datetime.datetime(2017, 7, 11, 0, 1, 2, 30000, tzinfo=UTC) == useful.GeneralizedTime('20170711000102.3Z').asDateTime + assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC) == useful.GeneralizedTime('20170711000102.3Z').asDateTime def testToDateTime3(self): - assert datetime.datetime(2017, 7, 11, 0, 1, 2, 30000, tzinfo=UTC) == useful.GeneralizedTime('20170711000102,3Z').asDateTime + assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC) == useful.GeneralizedTime('20170711000102,3Z').asDateTime def testToDateTime4(self): - assert datetime.datetime(2017, 7, 11, 0, 1, 2, 30000, tzinfo=UTC) == useful.GeneralizedTime('20170711000102.3+0000').asDateTime + assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC) == useful.GeneralizedTime('20170711000102.3+0000').asDateTime def testToDateTime5(self): - assert datetime.datetime(2017, 7, 11, 0, 1, 2, 30000, tzinfo=UTC2) == useful.GeneralizedTime('20170711000102.3+0200').asDateTime + assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC2) == useful.GeneralizedTime('20170711000102.3+0200').asDateTime def testToDateTime6(self): - assert datetime.datetime(2017, 7, 11, 0, 1, 2, 30000, tzinfo=UTC2) == useful.GeneralizedTime('20170711000102.3+02').asDateTime + assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC2) == useful.GeneralizedTime('20170711000102.3+02').asDateTime def testToDateTime7(self): assert datetime.datetime(2017, 7, 11, 0, 1) == useful.GeneralizedTime('201707110001').asDateTime