Hello community,

here is the log from the commit of package python3-traitlets for 
openSUSE:Factory checked in at 2016-10-28 10:45:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-traitlets (Old)
 and      /work/SRC/openSUSE:Factory/.python3-traitlets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-traitlets"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-traitlets/python3-traitlets.changes      
2016-09-26 12:36:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-traitlets.new/python3-traitlets.changes 
2016-10-28 10:45:27.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Sep 30 15:03:41 UTC 2016 - [email protected]
+
+- update to version 4.3.1:
+  * Compatibility fix for Python 3.6a1
+  * Fix bug in Application.classes getting extra entries when multiple
+    Applications are instantiated in the same process.
+
+-------------------------------------------------------------------

Old:
----
  traitlets-4.3.0.tar.gz

New:
----
  traitlets-4.3.1.tar.gz

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

Other differences:
------------------
++++++ python3-traitlets.spec ++++++
--- /var/tmp/diff_new_pack.9N5x98/_old  2016-10-28 10:45:28.000000000 +0200
+++ /var/tmp/diff_new_pack.9N5x98/_new  2016-10-28 10:45:28.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-traitlets
-Version:        4.3.0
+Version:        4.3.1
 Release:        0
 Summary:        Traitlets Python config system
 License:        BSD-3-Clause

++++++ traitlets-4.3.0.tar.gz -> traitlets-4.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-4.3.0/PKG-INFO new/traitlets-4.3.1/PKG-INFO
--- old/traitlets-4.3.0/PKG-INFO        2016-09-09 11:35:13.000000000 +0200
+++ new/traitlets-4.3.1/PKG-INFO        2016-09-28 13:32:43.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: traitlets
-Version: 4.3.0
+Version: 4.3.1
 Summary: Traitlets Python config system
 Home-page: http://ipython.org
 Author: IPython Development Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-4.3.0/docs/source/changelog.rst 
new/traitlets-4.3.1/docs/source/changelog.rst
--- old/traitlets-4.3.0/docs/source/changelog.rst       2016-09-09 
11:01:28.000000000 +0200
+++ new/traitlets-4.3.1/docs/source/changelog.rst       2016-09-28 
13:31:14.000000000 +0200
@@ -4,6 +4,14 @@
 4.3
 ---
 
+4.3.1
+*****
+
+`4.3.1 on GitHub`_
+
+- Compatibility fix for Python 3.6a1
+- Fix bug in Application.classes getting extra entries when multiple 
Applications are instantiated in the same process.
+
 4.3.0
 *****
 
@@ -91,3 +99,4 @@
 .. _`4.2.1 on GitHub`: https://github.com/ipython/traitlets/milestones/4.2.1
 .. _`4.2.2 on GitHub`: https://github.com/ipython/traitlets/milestones/4.2.2
 .. _`4.3.0 on GitHub`: https://github.com/ipython/traitlets/milestones/4.3
+.. _`4.3.1 on GitHub`: https://github.com/ipython/traitlets/milestones/4.3.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-4.3.0/traitlets/_version.py 
new/traitlets-4.3.1/traitlets/_version.py
--- old/traitlets-4.3.0/traitlets/_version.py   2016-09-09 11:01:53.000000000 
+0200
+++ new/traitlets-4.3.1/traitlets/_version.py   2016-09-28 13:31:51.000000000 
+0200
@@ -1,2 +1,2 @@
-version_info = (4, 3, 0)
+version_info = (4, 3, 1)
 __version__ = '.'.join(map(str, version_info))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-4.3.0/traitlets/config/application.py 
new/traitlets-4.3.1/traitlets/config/application.py
--- old/traitlets-4.3.0/traitlets/config/application.py 2016-09-01 
11:40:56.000000000 +0200
+++ new/traitlets-4.3.1/traitlets/config/application.py 2016-09-28 
13:31:41.000000000 +0200
@@ -272,8 +272,13 @@
         SingletonConfigurable.__init__(self, **kwargs)
         # Ensure my class is in self.classes, so my attributes appear in 
command line
         # options and config files.
-        if self.__class__ not in self.classes:
-            self.classes.insert(0, self.__class__)
+        cls = self.__class__
+        if cls not in self.classes:
+            if self.classes is cls.classes:
+                # class attr, assign instead of insert
+                cls.classes = [cls] + self.classes
+            else:
+                self.classes.insert(0, self.__class__)
 
     @observe('config')
     @observe_compat
@@ -547,7 +552,7 @@
             # path list is in descending priority order, so load files 
backwards:
             pyloader = cls.python_config_loader_class(basefilename+'.py', 
path=path, log=log)
             if log:
-                log.debug("Looking for %s in %s", basefilename, path)
+                log.debug("Looking for %s in %s", basefilename, path or 
os.getcwd())
             jsonloader = cls.json_config_loader_class(basefilename+'.json', 
path=path, log=log)
             config = None
             loaded = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/traitlets-4.3.0/traitlets/traitlets.py 
new/traitlets-4.3.1/traitlets/traitlets.py
--- old/traitlets-4.3.0/traitlets/traitlets.py  2016-09-09 11:01:28.000000000 
+0200
+++ new/traitlets-4.3.1/traitlets/traitlets.py  2016-09-28 13:31:41.000000000 
+0200
@@ -1119,16 +1119,10 @@
                 cache = {}
                 raise e
             finally:
-                # Reset the notify_change to original value, enable 
cross-validation
-                # and fire resulting change notifications.
-                self.notify_change = notify_change
                 self._cross_validation_lock = False
+                # Restore method retrieval from class
+                del self.notify_change
 
-                if isinstance(notify_change, types.MethodType):
-                    # Presence of the notify_change method
-                    # on __dict__ can cause memory leaks
-                    # and prevents pickleability
-                    self.__dict__.pop('notify_change')
                 # trigger delayed notifications
                 for changes in cache.values():
                     for change in changes:


Reply via email to