Hello community, here is the log from the commit of package python-toml for openSUSE:Factory checked in at 2020-11-23 16:38:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-toml (Old) and /work/SRC/openSUSE:Factory/.python-toml.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-toml" Mon Nov 23 16:38:15 2020 rev:7 rq:849559 version:0.10.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-toml/python-toml.changes 2020-09-04 11:02:56.910746680 +0200 +++ /work/SRC/openSUSE:Factory/.python-toml.new.5913/python-toml.changes 2020-11-23 19:02:11.618068947 +0100 @@ -1,0 +2,6 @@ +Thu Nov 19 19:41:13 UTC 2020 - Martin Liška <[email protected]> + +- Update to 0.10.2: + Fix a ValueError: Circular reference detected for empty {} + +------------------------------------------------------------------- Old: ---- toml-0.10.1.tar.gz New: ---- toml-0.10.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-toml.spec ++++++ --- /var/tmp/diff_new_pack.gv9YBr/_old 2020-11-23 19:02:12.322069634 +0100 +++ /var/tmp/diff_new_pack.gv9YBr/_new 2020-11-23 19:02:12.326069638 +0100 @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-toml%{psuffix} -Version: 0.10.1 +Version: 0.10.2 Release: 0 Summary: Python module which parses and emits TOML License: MIT ++++++ toml-0.10.1.tar.gz -> toml-0.10.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/MANIFEST.in new/toml-0.10.2/MANIFEST.in --- old/toml-0.10.1/MANIFEST.in 2019-10-18 03:54:44.000000000 +0200 +++ new/toml-0.10.2/MANIFEST.in 2020-11-01 02:35:13.000000000 +0100 @@ -1,6 +1,6 @@ include LICENSE include README.rst -include toml.pyi +include toml/*pyi include tox.ini include test.toml recursive-include tests *.py *.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/PKG-INFO new/toml-0.10.2/PKG-INFO --- old/toml-0.10.1/PKG-INFO 2020-05-14 05:55:37.000000000 +0200 +++ new/toml-0.10.2/PKG-INFO 2020-11-01 02:37:14.916618600 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: toml -Version: 0.10.1 +Version: 0.10.2 Summary: Python Library for Tom's Obvious, Minimal Language Home-page: https://github.com/uiri/toml Author: William Pearson @@ -10,8 +10,8 @@ TOML **** - .. image:: https://badge.fury.io/py/toml.svg - :target: https://badge.fury.io/py/toml + .. image:: https://img.shields.io/pypi/v/toml + :target: https://pypi.org/project/toml/ .. image:: https://travis-ci.org/uiri/toml.svg?branch=master :target: https://travis-ci.org/uiri/toml @@ -120,6 +120,33 @@ ip = "10.0.0.2" dc = "eqdc10" + *toml.dump* takes a dictionary and a file descriptor and returns a string containing the + corresponding TOML-formatted data. + + .. code:: pycon + + >>> with open('new_toml_file.toml', 'w') as f: + ... new_toml_string = toml.dump(parsed_toml, f) + >>> print(new_toml_string) + title = "TOML Example" + [owner] + name = "Tom Preston-Werner" + dob = 1979-05-27T07:32:00Z + [database] + server = "192.168.1.1" + ports = [ 8001, 8001, 8002,] + connection_max = 5000 + enabled = true + [clients] + data = [ [ "gamma", "delta",], [ 1, 2,],] + hosts = [ "alpha", "omega",] + [servers.alpha] + ip = "10.0.0.1" + dc = "eqdc10" + [servers.beta] + ip = "10.0.0.2" + dc = "eqdc10" + For more functions, view the API Reference below. Note @@ -220,5 +247,7 @@ Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/README.rst new/toml-0.10.2/README.rst --- old/toml-0.10.1/README.rst 2019-10-18 03:54:44.000000000 +0200 +++ new/toml-0.10.2/README.rst 2020-11-01 02:35:13.000000000 +0100 @@ -2,8 +2,8 @@ TOML **** -.. image:: https://badge.fury.io/py/toml.svg - :target: https://badge.fury.io/py/toml +.. image:: https://img.shields.io/pypi/v/toml + :target: https://pypi.org/project/toml/ .. image:: https://travis-ci.org/uiri/toml.svg?branch=master :target: https://travis-ci.org/uiri/toml @@ -95,6 +95,33 @@ >>> print(new_toml_string) title = "TOML Example" [owner] + name = "Tom Preston-Werner" + dob = 1979-05-27T07:32:00Z + [database] + server = "192.168.1.1" + ports = [ 8001, 8001, 8002,] + connection_max = 5000 + enabled = true + [clients] + data = [ [ "gamma", "delta",], [ 1, 2,],] + hosts = [ "alpha", "omega",] + [servers.alpha] + ip = "10.0.0.1" + dc = "eqdc10" + [servers.beta] + ip = "10.0.0.2" + dc = "eqdc10" + +*toml.dump* takes a dictionary and a file descriptor and returns a string containing the +corresponding TOML-formatted data. + +.. code:: pycon + + >>> with open('new_toml_file.toml', 'w') as f: + ... new_toml_string = toml.dump(parsed_toml, f) + >>> print(new_toml_string) + title = "TOML Example" + [owner] name = "Tom Preston-Werner" dob = 1979-05-27T07:32:00Z [database] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/setup.cfg new/toml-0.10.2/setup.cfg --- old/toml-0.10.1/setup.cfg 2020-05-14 05:55:37.000000000 +0200 +++ new/toml-0.10.2/setup.cfg 2020-11-01 02:37:14.916618600 +0100 @@ -5,7 +5,6 @@ license_file = LICENSE [egg_info] -tag_svn_revision = 0 -tag_date = 0 tag_build = +tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/setup.py new/toml-0.10.2/setup.py --- old/toml-0.10.1/setup.py 2020-01-03 21:37:49.000000000 +0100 +++ new/toml-0.10.2/setup.py 2020-10-31 04:20:09.000000000 +0100 @@ -35,6 +35,7 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/tests/test_api.py new/toml-0.10.2/tests/test_api.py --- old/toml-0.10.1/tests/test_api.py 2020-05-14 05:36:35.000000000 +0200 +++ new/toml-0.10.2/tests/test_api.py 2020-10-31 04:20:09.000000000 +0100 @@ -103,7 +103,7 @@ def test_numpy_floats(): - import numpy as np + np = pytest.importorskip('numpy') encoder = toml.TomlNumpyEncoder() d = {'a': np.array([1, .3], dtype=np.float64)} @@ -120,7 +120,7 @@ def test_numpy_ints(): - import numpy as np + np = pytest.importorskip('numpy') encoder = toml.TomlNumpyEncoder() d = {'a': np.array([1, 3], dtype=np.int64)} @@ -271,3 +271,12 @@ encoder=toml.TomlPreserveCommentEncoder()) assert len(s) == len(test_str) and sorted(test_str) == sorted(s) + + +def test_deepcopy_timezone(): + import copy + + o = toml.loads("dob = 1979-05-24T07:32:00-08:00") + o2 = copy.deepcopy(o) + assert o2["dob"] == o["dob"] + assert o2["dob"] is not o["dob"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/__init__.py new/toml-0.10.2/toml/__init__.py --- old/toml-0.10.1/toml/__init__.py 2020-05-14 05:47:29.000000000 +0200 +++ new/toml-0.10.2/toml/__init__.py 2020-11-01 02:37:02.000000000 +0100 @@ -6,7 +6,7 @@ from toml import encoder from toml import decoder -__version__ = "0.10.1" +__version__ = "0.10.2" _spec_ = "0.5.0" load = decoder.load diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/__init__.pyi new/toml-0.10.2/toml/__init__.pyi --- old/toml-0.10.1/toml/__init__.pyi 1970-01-01 01:00:00.000000000 +0100 +++ new/toml-0.10.2/toml/__init__.pyi 2020-11-01 02:35:13.000000000 +0100 @@ -0,0 +1,15 @@ +from toml import decoder as decoder, encoder as encoder + +load = decoder.load +loads = decoder.loads +TomlDecoder = decoder.TomlDecoder +TomlDecodeError = decoder.TomlDecodeError +TomlPreserveCommentDecoder = decoder.TomlPreserveCommentDecoder +dump = encoder.dump +dumps = encoder.dumps +TomlEncoder = encoder.TomlEncoder +TomlArraySeparatorEncoder = encoder.TomlArraySeparatorEncoder +TomlPreserveInlineDictEncoder = encoder.TomlPreserveInlineDictEncoder +TomlNumpyEncoder = encoder.TomlNumpyEncoder +TomlPreserveCommentEncoder = encoder.TomlPreserveCommentEncoder +TomlPathlibEncoder = encoder.TomlPathlibEncoder diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/common.py new/toml-0.10.2/toml/common.py --- old/toml-0.10.1/toml/common.py 2018-10-27 07:09:05.000000000 +0200 +++ new/toml-0.10.2/toml/common.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -# content after the \ -escapes = ['0', 'b', 'f', 'n', 'r', 't', '"'] -# What it should be replaced by -escapedchars = ['\0', '\b', '\f', '\n', '\r', '\t', '\"'] -# Used for substitution -escape_to_escapedchars = dict(zip(_escapes, _escapedchars)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/decoder.py new/toml-0.10.2/toml/decoder.py --- old/toml-0.10.1/toml/decoder.py 2020-05-14 05:36:35.000000000 +0200 +++ new/toml-0.10.2/toml/decoder.py 2020-10-31 04:20:09.000000000 +0100 @@ -440,7 +440,8 @@ groups[i][0] == "'"): groupstr = groups[i] j = i + 1 - while not groupstr[0] == groupstr[-1]: + while ((not groupstr[0] == groupstr[-1]) or + len(groupstr) == 1): j += 1 if j > len(groups) + 2: raise TomlDecodeError("Invalid group name '" + @@ -811,8 +812,12 @@ raise ValueError("Empty value is invalid") if v == 'true': return (True, "bool") + elif v.lower() == 'true': + raise ValueError("Only all lowercase booleans allowed") elif v == 'false': return (False, "bool") + elif v.lower() == 'false': + raise ValueError("Only all lowercase booleans allowed") elif v[0] == '"' or v[0] == "'": quotechar = v[0] testv = v[1:].split(quotechar) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/decoder.pyi new/toml-0.10.2/toml/decoder.pyi --- old/toml-0.10.1/toml/decoder.pyi 1970-01-01 01:00:00.000000000 +0100 +++ new/toml-0.10.2/toml/decoder.pyi 2020-11-01 02:35:13.000000000 +0100 @@ -0,0 +1,52 @@ +from toml.tz import TomlTz as TomlTz +from typing import Any, Optional + +unicode = str +basestring = str +unichr = chr +FNFError = FileNotFoundError +FNFError = IOError +TIME_RE: Any + +class TomlDecodeError(ValueError): + msg: Any = ... + doc: Any = ... + pos: Any = ... + lineno: Any = ... + colno: Any = ... + def __init__(self, msg: Any, doc: Any, pos: Any) -> None: ... + +class CommentValue: + val: Any = ... + comment: Any = ... + def __init__(self, val: Any, comment: Any, beginline: Any, _dict: Any) -> None: ... + def __getitem__(self, key: Any): ... + def __setitem__(self, key: Any, value: Any) -> None: ... + def dump(self, dump_value_func: Any): ... + +def load(f: Union[str, list, IO[str]], + _dict: Type[MutableMapping[str, Any]] = ..., + decoder: TomlDecoder = ...) \ + -> MutableMapping[str, Any]: ... +def loads(s: str, _dict: Type[MutableMapping[str, Any]] = ..., decoder: TomlDecoder = ...) \ + -> MutableMapping[str, Any]: ... + +class InlineTableDict: ... + +class TomlDecoder: + def __init__(self, _dict: Any = ...) -> None: ... + def get_empty_table(self): ... + def get_empty_inline_table(self): ... + def load_inline_object(self, line: Any, currentlevel: Any, multikey: bool = ..., multibackslash: bool = ...) -> None: ... + def load_line(self, line: Any, currentlevel: Any, multikey: Any, multibackslash: Any): ... + def load_value(self, v: Any, strictly_valid: bool = ...): ... + def bounded_string(self, s: Any): ... + def load_array(self, a: Any): ... + def preserve_comment(self, line_no: Any, key: Any, comment: Any, beginline: Any) -> None: ... + def embed_comments(self, idx: Any, currentlevel: Any) -> None: ... + +class TomlPreserveCommentDecoder(TomlDecoder): + saved_comments: Any = ... + def __init__(self, _dict: Any = ...) -> None: ... + def preserve_comment(self, line_no: Any, key: Any, comment: Any, beginline: Any) -> None: ... + def embed_comments(self, idx: Any, currentlevel: Any) -> None: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/encoder.py new/toml-0.10.2/toml/encoder.py --- old/toml-0.10.1/toml/encoder.py 2020-01-03 21:13:50.000000000 +0100 +++ new/toml-0.10.2/toml/encoder.py 2020-10-31 04:20:09.000000000 +0100 @@ -61,7 +61,7 @@ retval += addtoretval outer_objs = [id(o)] while sections: - section_ids = [id(section) for section in sections] + section_ids = [id(section) for section in sections.values()] for outer_obj in outer_objs: if outer_obj in section_ids: raise ValueError("Circular reference detected") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/encoder.pyi new/toml-0.10.2/toml/encoder.pyi --- old/toml-0.10.1/toml/encoder.pyi 1970-01-01 01:00:00.000000000 +0100 +++ new/toml-0.10.2/toml/encoder.pyi 2020-11-01 02:35:13.000000000 +0100 @@ -0,0 +1,34 @@ +from toml.decoder import InlineTableDict as InlineTableDict +from typing import Any, Optional + +unicode = str + +def dump(o: Mapping[str, Any], f: IO[str], encoder: TomlEncoder = ...) -> str: ... +def dumps(o: Mapping[str, Any], encoder: TomlEncoder = ...) -> str: ... + +class TomlEncoder: + preserve: Any = ... + dump_funcs: Any = ... + def __init__(self, _dict: Any = ..., preserve: bool = ...): ... + def get_empty_table(self): ... + def dump_list(self, v: Any): ... + def dump_inline_table(self, section: Any): ... + def dump_value(self, v: Any): ... + def dump_sections(self, o: Any, sup: Any): ... + +class TomlPreserveInlineDictEncoder(TomlEncoder): + def __init__(self, _dict: Any = ...) -> None: ... + +class TomlArraySeparatorEncoder(TomlEncoder): + separator: Any = ... + def __init__(self, _dict: Any = ..., preserve: bool = ..., separator: str = ...) -> None: ... + def dump_list(self, v: Any): ... + +class TomlNumpyEncoder(TomlEncoder): + def __init__(self, _dict: Any = ..., preserve: bool = ...) -> None: ... + +class TomlPreserveCommentEncoder(TomlEncoder): + def __init__(self, _dict: Any = ..., preserve: bool = ...): ... + +class TomlPathlibEncoder(TomlEncoder): + def dump_value(self, v: Any): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/ordered.pyi new/toml-0.10.2/toml/ordered.pyi --- old/toml-0.10.1/toml/ordered.pyi 1970-01-01 01:00:00.000000000 +0100 +++ new/toml-0.10.2/toml/ordered.pyi 2020-11-01 02:35:13.000000000 +0100 @@ -0,0 +1,7 @@ +from toml import TomlDecoder as TomlDecoder, TomlEncoder as TomlEncoder + +class TomlOrderedDecoder(TomlDecoder): + def __init__(self) -> None: ... + +class TomlOrderedEncoder(TomlEncoder): + def __init__(self) -> None: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/tz.py new/toml-0.10.2/toml/tz.py --- old/toml-0.10.1/toml/tz.py 2019-10-18 03:54:44.000000000 +0200 +++ new/toml-0.10.2/toml/tz.py 2020-10-31 04:20:09.000000000 +0100 @@ -11,6 +11,9 @@ self._hours = int(self._raw_offset[1:3]) self._minutes = int(self._raw_offset[4:6]) + def __deepcopy__(self, memo): + return self.__class__(self._raw_offset) + def tzname(self, dt): return "UTC" + self._raw_offset diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml/tz.pyi new/toml-0.10.2/toml/tz.pyi --- old/toml-0.10.1/toml/tz.pyi 1970-01-01 01:00:00.000000000 +0100 +++ new/toml-0.10.2/toml/tz.pyi 2020-11-01 02:35:13.000000000 +0100 @@ -0,0 +1,9 @@ +from datetime import tzinfo +from typing import Any + +class TomlTz(tzinfo): + def __init__(self, toml_offset: Any) -> None: ... + def __deepcopy__(self, memo: Any): ... + def tzname(self, dt: Any): ... + def utcoffset(self, dt: Any): ... + def dst(self, dt: Any): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml.egg-info/PKG-INFO new/toml-0.10.2/toml.egg-info/PKG-INFO --- old/toml-0.10.1/toml.egg-info/PKG-INFO 2020-05-14 05:55:35.000000000 +0200 +++ new/toml-0.10.2/toml.egg-info/PKG-INFO 2020-11-01 02:37:14.000000000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: toml -Version: 0.10.1 +Version: 0.10.2 Summary: Python Library for Tom's Obvious, Minimal Language Home-page: https://github.com/uiri/toml Author: William Pearson @@ -10,8 +10,8 @@ TOML **** - .. image:: https://badge.fury.io/py/toml.svg - :target: https://badge.fury.io/py/toml + .. image:: https://img.shields.io/pypi/v/toml + :target: https://pypi.org/project/toml/ .. image:: https://travis-ci.org/uiri/toml.svg?branch=master :target: https://travis-ci.org/uiri/toml @@ -120,6 +120,33 @@ ip = "10.0.0.2" dc = "eqdc10" + *toml.dump* takes a dictionary and a file descriptor and returns a string containing the + corresponding TOML-formatted data. + + .. code:: pycon + + >>> with open('new_toml_file.toml', 'w') as f: + ... new_toml_string = toml.dump(parsed_toml, f) + >>> print(new_toml_string) + title = "TOML Example" + [owner] + name = "Tom Preston-Werner" + dob = 1979-05-27T07:32:00Z + [database] + server = "192.168.1.1" + ports = [ 8001, 8001, 8002,] + connection_max = 5000 + enabled = true + [clients] + data = [ [ "gamma", "delta",], [ 1, 2,],] + hosts = [ "alpha", "omega",] + [servers.alpha] + ip = "10.0.0.1" + dc = "eqdc10" + [servers.beta] + ip = "10.0.0.2" + dc = "eqdc10" + For more functions, view the API Reference below. Note @@ -220,5 +247,7 @@ Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml.egg-info/SOURCES.txt new/toml-0.10.2/toml.egg-info/SOURCES.txt --- old/toml-0.10.1/toml.egg-info/SOURCES.txt 2020-05-14 05:55:37.000000000 +0200 +++ new/toml-0.10.2/toml.egg-info/SOURCES.txt 2020-11-01 02:37:14.000000000 +0100 @@ -4,7 +4,6 @@ setup.cfg setup.py test.toml -toml.pyi tox.ini tests/__init__.py tests/decoding_test.py @@ -13,11 +12,15 @@ tests/decoding_test3.sh tests/test_api.py toml/__init__.py -toml/common.py +toml/__init__.pyi toml/decoder.py +toml/decoder.pyi toml/encoder.py +toml/encoder.pyi toml/ordered.py +toml/ordered.pyi toml/tz.py +toml/tz.pyi toml.egg-info/PKG-INFO toml.egg-info/SOURCES.txt toml.egg-info/dependency_links.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/toml.pyi new/toml-0.10.2/toml.pyi --- old/toml-0.10.1/toml.pyi 2019-10-18 03:54:44.000000000 +0200 +++ new/toml-0.10.2/toml.pyi 1970-01-01 01:00:00.000000000 +0100 @@ -1,25 +0,0 @@ -from typing import Any, IO, Mapping, MutableMapping, Optional, Type, Union -import datetime - - -class TomlDecodeError(Exception): ... - -class TomlTz(datetime.tzinfo): - def __init__(self, toml_offset: str) -> None: ... - -class TomlDecoder(object):... - -class TomlEncoder(object):... - -class TomlPreserveCommentDecoder(TomlDecoder):... - -class TomlPreserveCommentEncoder(TomlEncoder):... - -def load(f: Union[str, list, IO[str]], - _dict: Type[MutableMapping[str, Any]] = ...) \ - -> MutableMapping[str, Any]: ... -def loads(s: str, _dict: Type[MutableMapping[str, Any]] = ...) \ - -> MutableMapping[str, Any]: ... - -def dump(o: Mapping[str, Any], f: IO[str]) -> str: ... -def dumps(o: Mapping[str, Any]) -> str: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/toml-0.10.1/tox.ini new/toml-0.10.2/tox.ini --- old/toml-0.10.1/tox.ini 2020-01-03 21:13:50.000000000 +0100 +++ new/toml-0.10.2/tox.ini 2020-10-31 04:20:09.000000000 +0100 @@ -1,5 +1,5 @@ [tox] -envlist = py27, py33, py34, py35, py36, py37, py38, pypy +envlist = py27, py33, py34, py35, py36, py37, py38, py39, pypy [testenv] deps = _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
