Hello community,

here is the log from the commit of package shared-python-startup for 
openSUSE:Factory checked in at 2020-07-15 15:06:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shared-python-startup (Old)
 and      /work/SRC/openSUSE:Factory/.shared-python-startup.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shared-python-startup"

Wed Jul 15 15:06:42 2020 rev:6 rq:820886 version:0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/shared-python-startup/shared-python-startup.changes  
    2020-04-27 23:42:38.236027389 +0200
+++ 
/work/SRC/openSUSE:Factory/.shared-python-startup.new.3060/shared-python-startup.changes
    2020-07-15 15:07:28.923554098 +0200
@@ -1,0 +2,8 @@
+Tue Jul 14 11:03:14 UTC 2020 - Antonio Larrosa <[email protected]>
+
+- Import readline in the save_history handler. Otherwise the call
+  to readline.write_history_file doesn't work (the readline import
+  at the beginning of the file is already removed) and is silently
+  ignored by the exception catcher.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pythonstart ++++++
--- /var/tmp/diff_new_pack.FUeq1P/_old  2020-07-15 15:07:29.695554851 +0200
+++ /var/tmp/diff_new_pack.FUeq1P/_new  2020-07-15 15:07:29.695554851 +0200
@@ -15,10 +15,12 @@
 
 # handler for saving history
 def save_history(historyPath=historyPath):
+    import readline
     try:
         readline.write_history_file(historyPath)
     except:
         pass
+    del readline
 
 
 # read history, if it exists


Reply via email to