Hello community,

here is the log from the commit of package python-six for openSUSE:Factory 
checked in at 2014-09-17 21:23:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-six (Old)
 and      /work/SRC/openSUSE:Factory/.python-six.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-six"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-six/python-six.changes    2014-08-27 
16:52:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes       
2014-09-17 21:23:35.000000000 +0200
@@ -1,0 +2,17 @@
+Tue Sep 16 06:32:25 UTC 2014 - [email protected]
+
+- update to version 1.8.0:
+  * Issue #90: Add six.moves.shlex_quote.
+  * Issue #59: Add six.moves.intern.
+  * Add six.urllib.parse.uses_(fragment|netloc|params|query|relative).
+  * Issue #88: Fix add_metaclass when the class has __slots__ containing
+  "__weakref__" or "__dict__".
+  * Issue #89: Make six use absolute imports.
+  * Issue #85: Always accept *updated* and *assigned* arguments for wraps().
+  * Issue #86: In reraise(), instantiate the exception if the second argument 
is
+  None.
+  * Pull request #45: Add six.moves.email_mime_nonmultipart.
+  * Issue #81: Add six.urllib.request.splittag mapping.
+  * Issue #80: Add six.urllib.request.splituser mapping.
+
+-------------------------------------------------------------------

Old:
----
  six-1.7.3.tar.gz

New:
----
  six-1.8.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-six.spec ++++++
--- /var/tmp/diff_new_pack.OBn2tA/_old  2014-09-17 21:23:36.000000000 +0200
+++ /var/tmp/diff_new_pack.OBn2tA/_new  2014-09-17 21:23:36.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-six
-Version:        1.7.3
+Version:        1.8.0
 Release:        0
 Url:            http://pypi.python.org/pypi/six/
 Summary:        Python 2 and 3 compatibility utilities

++++++ six-1.7.3.tar.gz -> six-1.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/six-1.7.3/CHANGES new/six-1.8.0/CHANGES
--- old/six-1.7.3/CHANGES       2014-06-29 21:22:59.000000000 +0200
+++ new/six-1.8.0/CHANGES       2014-09-11 23:42:45.000000000 +0200
@@ -3,6 +3,31 @@
 
 This file lists the changes in each six version.
 
+1.8.0
+-----
+
+- Issue #90: Add six.moves.shlex_quote.
+
+- Issue #59: Add six.moves.intern.
+
+- Add six.urllib.parse.uses_(fragment|netloc|params|query|relative).
+
+- Issue #88: Fix add_metaclass when the class has __slots__ containing
+  "__weakref__" or "__dict__".
+
+- Issue #89: Make six use absolute imports.
+
+- Issue #85: Always accept *updated* and *assigned* arguments for wraps().
+
+- Issue #86: In reraise(), instantiate the exception if the second argument is
+  None.
+
+- Pull request #45: Add six.moves.email_mime_nonmultipart.
+
+- Issue #81: Add six.urllib.request.splittag mapping.
+
+- Issue #80: Add six.urllib.request.splituser mapping.
+
 1.7.3
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/six-1.7.3/PKG-INFO new/six-1.8.0/PKG-INFO
--- old/six-1.7.3/PKG-INFO      2014-06-29 21:30:21.000000000 +0200
+++ new/six-1.8.0/PKG-INFO      2014-09-11 23:48:41.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: six
-Version: 1.7.3
+Version: 1.8.0
 Summary: Python 2 and 3 compatibility utilities
 Home-page: http://pypi.python.org/pypi/six/
 Author: Benjamin Peterson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/six-1.7.3/documentation/index.rst 
new/six-1.8.0/documentation/index.rst
--- old/six-1.7.3/documentation/index.rst       2014-04-30 21:48:24.000000000 
+0200
+++ new/six-1.8.0/documentation/index.rst       2014-09-11 23:32:59.000000000 
+0200
@@ -222,7 +222,7 @@
    aliased to :class:`py3:object`.)
 
 
-.. function:: wraps(wrapped)
+.. function:: wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, 
updated=functools.WRAPPER_UPDATES)
 
    This is exactly the :func:`py3:functools.wraps` decorator, but it sets the
    ``__wrapped__`` attribute on what it decorates as 
:func:`py3:functools.wraps`
@@ -266,7 +266,10 @@
    Reraise an exception, possibly with a different traceback.  In the simple
    case, ``reraise(*sys.exc_info())`` with an active exception (in an except
    block) reraises the current exception with the last traceback.  A different
-   traceback can be specified with the *exc_traceback* parameter.
+   traceback can be specified with the *exc_traceback* parameter.  Note that
+   since the exception reraising is done within the :func:`reraise` function,
+   Python will attach the call frame of :func:`reraise` to whatever traceback 
is
+   raised.
 
 
 .. function:: with_metaclass(metaclass, *bases)
@@ -292,9 +295,7 @@
 .. function:: add_metaclass(metaclass)
 
    Class decorator that replaces a normally-constructed class with a
-   metaclass-constructed one.  Unlike :func:`with_metaclass`,
-   :func:`add_metaclass` does not create an intermediate base class between the
-   class being created and its bases. Example usage: ::
+   metaclass-constructed one.  Example usage: ::
 
        @add_metaclass(Meta)
        class MyClass(object):
@@ -488,6 +489,8 @@
 
+------------------------------+-------------------------------------+-------------------------------------+
 | ``email_mime_multipart``     | :mod:`py2:email.MIMEMultipart`      | 
:mod:`py3:email.mime.multipart`     |
 
+------------------------------+-------------------------------------+-------------------------------------+
+| ``email_mime_nonmultipart``  | :mod:`py2:email.MIMENonMultipart`   | 
:mod:`py3:email.mime.nonmultipart`  |
++------------------------------+-------------------------------------+-------------------------------------+
 | ``email_mime_text``          | :mod:`py2:email.MIMEText`           | 
:mod:`py3:email.mime.text`          |
 
+------------------------------+-------------------------------------+-------------------------------------+
 | ``email_mime_base``          | :mod:`py2:email.MIMEBase`           | 
:mod:`py3:email.mime.base`          |
@@ -514,6 +517,8 @@
 
+------------------------------+-------------------------------------+-------------------------------------+
 | ``input``                    | :func:`py2:raw_input`               | 
:func:`py3:input`                   |
 
+------------------------------+-------------------------------------+-------------------------------------+
+| ``intern``                   | :func:`py2:intern`                  | 
:func:`py3:sys.intern`              |
++------------------------------+-------------------------------------+-------------------------------------+
 | ``map``                      | :func:`py2:itertools.imap`          | 
:func:`py3:map`                     |
 
+------------------------------+-------------------------------------+-------------------------------------+
 | ``queue``                    | :mod:`py2:Queue`                    | 
:mod:`py3:queue`                    |
@@ -526,6 +531,8 @@
 
+------------------------------+-------------------------------------+-------------------------------------+
 | ``reprlib``                  | :mod:`py2:repr`                     | 
:mod:`py3:reprlib`                  |
 
+------------------------------+-------------------------------------+-------------------------------------+
+| ``shlex_quote``              | :mod:`py2:pipes.quote`              | 
:mod:`py3:shlex.quote`              |
++------------------------------+-------------------------------------+-------------------------------------+
 | ``socketserver``             | :mod:`py2:SocketServer`             | 
:mod:`py3:socketserver`             |
 
+------------------------------+-------------------------------------+-------------------------------------+
 | ``_thread``                  | :mod:`py2:thread`                   | 
:mod:`py3:_thread`                  |
@@ -612,11 +619,18 @@
 * :func:`py2:urlparse.urlsplit`
 * :func:`py2:urlparse.urlunsplit`
 * :func:`py2:urlparse.splitquery`
+* :func:`py2:urlparse.uses_fragment`
+* :func:`py2:urlparse.uses_netloc`
+* :func:`py2:urlparse.uses_params`
+* :func:`py2:urlparse.uses_query`
+* :func:`py2:urlparse.uses_relative`
 
 and :mod:`py2:urllib`:
 
 * :func:`py2:urllib.quote`
 * :func:`py2:urllib.quote_plus`
+* :func:`py2:urllib.splittag`
+* :func:`py2:urllib.splituser`
 * :func:`py2:urllib.unquote`
 * :func:`py2:urllib.unquote_plus`
 * :func:`py2:urllib.urlencode`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/six-1.7.3/setup.cfg new/six-1.8.0/setup.cfg
--- old/six-1.7.3/setup.cfg     2014-06-29 21:30:21.000000000 +0200
+++ new/six-1.8.0/setup.cfg     2014-09-11 23:48:41.000000000 +0200
@@ -2,7 +2,7 @@
 universal = 1
 
 [egg_info]
-tag_svn_revision = 0
-tag_date = 0
 tag_build = 
+tag_date = 0
+tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/six-1.7.3/six.egg-info/PKG-INFO 
new/six-1.8.0/six.egg-info/PKG-INFO
--- old/six-1.7.3/six.egg-info/PKG-INFO 2014-06-29 21:30:21.000000000 +0200
+++ new/six-1.8.0/six.egg-info/PKG-INFO 2014-09-11 23:48:40.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: six
-Version: 1.7.3
+Version: 1.8.0
 Summary: Python 2 and 3 compatibility utilities
 Home-page: http://pypi.python.org/pypi/six/
 Author: Benjamin Peterson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/six-1.7.3/six.py new/six-1.8.0/six.py
--- old/six-1.7.3/six.py        2014-06-29 21:23:14.000000000 +0200
+++ new/six-1.8.0/six.py        2014-09-11 23:42:33.000000000 +0200
@@ -20,13 +20,15 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
+from __future__ import absolute_import
+
 import functools
 import operator
 import sys
 import types
 
 __author__ = "Benjamin Peterson <[email protected]>"
-__version__ = "1.7.3"
+__version__ = "1.8.0"
 
 
 # Useful for very coarse version differentiation.
@@ -225,10 +227,12 @@
     MovedAttribute("filter", "itertools", "builtins", "ifilter", "filter"),
     MovedAttribute("filterfalse", "itertools", "itertools", "ifilterfalse", 
"filterfalse"),
     MovedAttribute("input", "__builtin__", "builtins", "raw_input", "input"),
+    MovedAttribute("intern", "__builtin__", "sys"),
     MovedAttribute("map", "itertools", "builtins", "imap", "map"),
     MovedAttribute("range", "__builtin__", "builtins", "xrange", "range"),
     MovedAttribute("reload_module", "__builtin__", "imp", "reload"),
     MovedAttribute("reduce", "__builtin__", "functools"),
+    MovedAttribute("shlex_quote", "pipes", "shlex", "quote"),
     MovedAttribute("StringIO", "StringIO", "io"),
     MovedAttribute("UserDict", "UserDict", "collections"),
     MovedAttribute("UserList", "UserList", "collections"),
@@ -248,6 +252,7 @@
     MovedModule("html_parser", "HTMLParser", "html.parser"),
     MovedModule("http_client", "httplib", "http.client"),
     MovedModule("email_mime_multipart", "email.MIMEMultipart", 
"email.mime.multipart"),
+    MovedModule("email_mime_nonmultipart", "email.MIMENonMultipart", 
"email.mime.nonmultipart"),
     MovedModule("email_mime_text", "email.MIMEText", "email.mime.text"),
     MovedModule("email_mime_base", "email.MIMEBase", "email.mime.base"),
     MovedModule("BaseHTTPServer", "BaseHTTPServer", "http.server"),
@@ -317,6 +322,13 @@
     MovedAttribute("unquote_plus", "urllib", "urllib.parse"),
     MovedAttribute("urlencode", "urllib", "urllib.parse"),
     MovedAttribute("splitquery", "urllib", "urllib.parse"),
+    MovedAttribute("splittag", "urllib", "urllib.parse"),
+    MovedAttribute("splituser", "urllib", "urllib.parse"),
+    MovedAttribute("uses_fragment", "urlparse", "urllib.parse"),
+    MovedAttribute("uses_netloc", "urlparse", "urllib.parse"),
+    MovedAttribute("uses_params", "urlparse", "urllib.parse"),
+    MovedAttribute("uses_query", "urlparse", "urllib.parse"),
+    MovedAttribute("uses_relative", "urlparse", "urllib.parse"),
 ]
 for attr in _urllib_parse_moved_attributes:
     setattr(Module_six_moves_urllib_parse, attr.name, attr)
@@ -606,6 +618,8 @@
 
 
     def reraise(tp, value, tb=None):
+        if value is None:
+            value = tp()
         if value.__traceback__ is not tb:
             raise value.with_traceback(tb)
         raise value
@@ -687,7 +701,8 @@
 _add_doc(reraise, """Reraise an exception.""")
 
 if sys.version_info[0:2] < (3, 4):
-    def wraps(wrapped):
+    def wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS,
+              updated=functools.WRAPPER_UPDATES):
         def wrapper(f):
             f = functools.wraps(wrapped)(f)
             f.__wrapped__ = wrapped
@@ -711,14 +726,14 @@
     """Class decorator for creating a class with a metaclass."""
     def wrapper(cls):
         orig_vars = cls.__dict__.copy()
-        orig_vars.pop('__dict__', None)
-        orig_vars.pop('__weakref__', None)
         slots = orig_vars.get('__slots__')
         if slots is not None:
             if isinstance(slots, str):
                 slots = [slots]
             for slots_var in slots:
                 orig_vars.pop(slots_var)
+        orig_vars.pop('__dict__', None)
+        orig_vars.pop('__weakref__', None)
         return metaclass(cls.__name__, cls.__bases__, orig_vars)
     return wrapper
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/six-1.7.3/test_six.py new/six-1.8.0/test_six.py
--- old/six-1.7.3/test_six.py   2014-06-08 04:15:40.000000000 +0200
+++ new/six-1.8.0/test_six.py   2014-08-18 06:25:25.000000000 +0200
@@ -560,6 +560,14 @@
         assert tp2 is Exception
         assert value2 is e
         assert get_next(tb3) is tb2
+    try:
+        six.reraise(tp, None, tb)
+    except Exception:
+        tp2, value2, tb2 = sys.exc_info()
+        assert tp2 is Exception
+        assert value2 is not val
+        assert isinstance(value2, Exception)
+        assert tb is get_next(tb2)
 
 
 def test_print_():
@@ -722,3 +730,7 @@
     py.test.raises(AttributeError, setattr, instance, "a", "baz")
     py.test.raises(AttributeError, setattr, instance, "b", "baz")
 
+    class MySlotsWeakref(object):
+        __slots__ = "__weakref__",
+    MySlotsWeakref = six.add_metaclass(Meta)(MySlotsWeakref)
+    assert type(MySlotsWeakref) is Meta

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to