PySMT 0.9.7.dev333__py2.py3-none-any.whl → 0.9.7.dev337__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PySMT
3
- Version: 0.9.7.dev333
3
+ Version: 0.9.7.dev337
4
4
  Summary: A solver-agnostic library for SMT Formulae manipulation and solving
5
5
  Home-page: http://www.pysmt.org
6
6
  Author: PySMT Team
@@ -1,11 +1,11 @@
1
- pysmt/__init__.py,sha256=QvrNjjfc4fwdla0S7hinlF5VPxwIkJTALfxMPviEoSQ,1598
1
+ pysmt/__init__.py,sha256=4qoWpE_YchHcFrvD6jeWloG3_PgCmssRGEMDiaBtTtY,1598
2
2
  pysmt/__main__.py,sha256=rR-MV1QtLYqtVoJyY3m5B5Iz-lua0-5o6YSB0W4lKy8,1085
3
3
  pysmt/configuration.py,sha256=Iq_46QZ9z_jpBMk76euJWTqGEwHad2qyiEDPix5sXsA,4538
4
4
  pysmt/constants.py,sha256=QelM9r5fGWSq8UNjjYoEJK2FaLHRr4Z9NZxzjeajEWA,5249
5
5
  pysmt/decorators.py,sha256=DWX6JrQ0BTp-COFKeFW9szBuQzoaauqcNO18Yps2KXQ,3965
6
6
  pysmt/environment.py,sha256=rdaxQ0uwmMPmcW4d5WnTYAyHNSCpRTgzRLaXQccG5-4,6522
7
7
  pysmt/exceptions.py,sha256=P11C4a9CedUbHNTa1V2YJ1nfxpfUw4eH1smHCgoUYl4,5570
8
- pysmt/factory.py,sha256=5SqbR40AYrNx6aUS0cx24sOH2rgzZeP45hiZE4niO2E,29190
8
+ pysmt/factory.py,sha256=zaFtDQ1elODdimIzMZ12BIOK_g02ISIAK86_guBYDYo,29420
9
9
  pysmt/fnode.py,sha256=ZHqr09GQAmgQP7r27kpCNBbDYeeI4WFJYIsDEmHIwNA,32927
10
10
  pysmt/formula.py,sha256=OklEfVvzYGq3S1uL9HPxcohLYxMhCCDfrQ4tsQaFGKk,44243
11
11
  pysmt/logics.py,sha256=yJ1Yv24dVj4LlpnbspgcRT1t5e65RmvGas_bdHOGCAA,28774
@@ -143,10 +143,10 @@ pysmt/walkers/dag.py,sha256=pUdVTZx7CQyjrAb6jMfmsqS07J4kiDqHU8R4_9UvwkQ,5352
143
143
  pysmt/walkers/generic.py,sha256=q1j1T2RvCeJn1PM0H5d8vNV4FTYAEQgT7h8X5DJhDf8,4534
144
144
  pysmt/walkers/identitydag.py,sha256=f_D5qA198ayd3QO4u59fBX1RS_UiSBnPeV9O3ULvQv0,8737
145
145
  pysmt/walkers/tree.py,sha256=WIWN9IM0riWkaD40iP4Tt3BCN21iSdE1S7gRZqy56SU,2846
146
- PySMT-0.9.7.dev333.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
147
- PySMT-0.9.7.dev333.dist-info/METADATA,sha256=taAd8fhtpXYJnsklq6_BlU5PtzBJkMS7WLO2kNgZO_c,1617
148
- PySMT-0.9.7.dev333.dist-info/NOTICE,sha256=Ns-Jsa6nbqZUiTEEAM6HqioSZIxQ2RCJzxoBlWQaUfc,601
149
- PySMT-0.9.7.dev333.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
150
- PySMT-0.9.7.dev333.dist-info/entry_points.txt,sha256=si0hIk-v3V35G3p8QGINoQ4QW-v4RYDRqj-asgyCgeM,58
151
- PySMT-0.9.7.dev333.dist-info/top_level.txt,sha256=NwHQbpTaZMEvjIUdC0bvvj-WUyULe-nt-opK3YQNRMk,6
152
- PySMT-0.9.7.dev333.dist-info/RECORD,,
146
+ PySMT-0.9.7.dev337.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
147
+ PySMT-0.9.7.dev337.dist-info/METADATA,sha256=llt-p3vZt1Ly6hCzRAlptfBz9gO3Bu2uXR4_kemWylE,1617
148
+ PySMT-0.9.7.dev337.dist-info/NOTICE,sha256=Ns-Jsa6nbqZUiTEEAM6HqioSZIxQ2RCJzxoBlWQaUfc,601
149
+ PySMT-0.9.7.dev337.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
150
+ PySMT-0.9.7.dev337.dist-info/entry_points.txt,sha256=si0hIk-v3V35G3p8QGINoQ4QW-v4RYDRqj-asgyCgeM,58
151
+ PySMT-0.9.7.dev337.dist-info/top_level.txt,sha256=NwHQbpTaZMEvjIUdC0bvvj-WUyULe-nt-opK3YQNRMk,6
152
+ PySMT-0.9.7.dev337.dist-info/RECORD,,
pysmt/__init__.py CHANGED
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- VERSION = (0, 9, 7, "dev", 333)
19
+ VERSION = (0, 9, 7, "dev", 337)
20
20
 
21
21
  # Try to provide human-readable version of latest commit for dev versions
22
22
  # E.g. v0.5.1-4-g49a49f2-wip
pysmt/factory.py CHANGED
@@ -321,10 +321,11 @@ class Factory(object):
321
321
  from pysmt.solvers.msat import (MSatFMQuantifierEliminator,
322
322
  MSatLWQuantifierEliminator)
323
323
  try:
324
- MSatFMQuantifierEliminator()
325
- MSatLWQuantifierEliminator()
326
- except:
324
+ MSatFMQuantifierEliminator(self.environment)
325
+ MSatLWQuantifierEliminator(self.environment)
326
+ except NotImplementedError:
327
327
  raise SolverAPINotFound
328
+
328
329
  self._all_qelims['msat_fm'] = MSatFMQuantifierEliminator
329
330
  self._all_qelims['msat_lw'] = MSatLWQuantifierEliminator
330
331
  except SolverAPINotFound:
@@ -335,6 +336,12 @@ class Factory(object):
335
336
  MSATLibLoader("optimathsat")
336
337
  from pysmt.optimization.optimsat import (OptiMSATFMQuantifierEliminator,
337
338
  OptiMSATLWQuantifierEliminator)
339
+ try:
340
+ OptiMSATFMQuantifierEliminator(self.environment)
341
+ OptiMSATLWQuantifierEliminator(self.environment)
342
+ except NotImplementedError:
343
+ raise SolverAPINotFound
344
+
338
345
  self._all_qelims['optimsat_fm'] = OptiMSATFMQuantifierEliminator
339
346
  self._all_qelims['optimsat_lw'] = OptiMSATLWQuantifierEliminator
340
347
  except SolverAPINotFound:
@@ -397,8 +404,6 @@ class Factory(object):
397
404
  self._all_optimizers['optimsat'] = OptiMSATSolver
398
405
  except SolverAPINotFound:
399
406
  pass
400
- except SolverAPINotFound:
401
- pass
402
407
 
403
408
  try:
404
409
  from pysmt.optimization.yices import YicesSUAOptimizer, YicesIncrementalOptimizer