← Back to team overview

openlp-core team mailing list archive

[Bug 954373] Re: use simplejson in web remote

 

We have had no comments on this to implement this we would need to do different packaging recomendations for Linux.
Recommend we close this is WontFix.  We have bigger fish to fix,

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/954373

Title:
  use simplejson in web remote

Status in OpenLP - Worship Presentation Software:
  Confirmed

Bug description:
  Simplejson is  faster json implementation with the same api as the
  json module in standard python library.

  In the file ./openlp/plugins/remotes/lib/httpserver.py there is code
  like

  try:                                                                                                                                                                                                               
      import json                                                                                                                                                                                                    
  except ImportError:                                                                                                                                                                                                
      import simplejson as json

  It means use simplejson if json is not available. But json module is
  available since python 2.6 and our minimum version is python 2.6. We
  reverse the imports and firstly try simplejson if available and then
  json from standard python library:

  try:                                                                                                                                                                                                               
      import simplejson as json                                                                                                                                                                                       
  except ImportError:                                                                                                                                                                                                
      import json

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/954373/+subscriptions


References