cocotb 1.9.0rc1__cp36-cp36m-macosx_10_9_x86_64.whl → 1.9.0rc2__cp36-cp36m-macosx_10_9_x86_64.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.

Potentially problematic release.


This version of cocotb might be problematic. Click here for more details.

cocotb/_version.py CHANGED
@@ -5,4 +5,4 @@
5
5
  # 1) we don't load dependencies by storing it in __init__.py
6
6
  # 2) we can import it in setup.py for the same reason
7
7
  # 3) we can import it into your module
8
- __version__ = "1.9.0rc1"
8
+ __version__ = "1.9.0rc2"
cocotb/binary.py CHANGED
@@ -569,13 +569,16 @@ class BinaryValue:
569
569
  if isinstance(other, (BinaryValue, LogicArray)):
570
570
  return self.binstr == other.binstr
571
571
  elif isinstance(other, int):
572
- return self.integer == other
572
+ try:
573
+ return self.integer == other
574
+ except ValueError:
575
+ return False
573
576
  elif isinstance(other, str):
574
577
  return self.binstr == other
575
578
  elif isinstance(other, Logic):
576
579
  return self.binstr == str(other)
577
580
  else:
578
- return False
581
+ return NotImplemented
579
582
 
580
583
  def __int__(self):
581
584
  return self.integer
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cocotb
3
- Version: 1.9.0rc1
3
+ Version: 1.9.0rc2
4
4
  Summary: cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python.
5
5
  Home-page: https://www.cocotb.org
6
6
  Author: Chris Higgs, Stuart Hodgson
@@ -3,8 +3,8 @@ cocotb/__init__.py,sha256=cYdZv0FU79Pt1nQv4ir5dzD21Fd3Dy2PtrLJ34qRHCo,11296
3
3
  cocotb/_deprecation.py,sha256=-yCa2_9m_6-NX4RZIKibpVKlIlb7eDdXnmINqoxeGcA,1153
4
4
  cocotb/_py_compat.py,sha256=XniZ0qjkAyYFxaCEZnny0ZM8yi7OIAJp9VE3V3OMHuo,2691
5
5
  cocotb/_sim_versions.py,sha256=nbUkauB7RKure0FrUz52sHkJzoAeErEKZQeUfhryrvY,3544
6
- cocotb/_version.py,sha256=PmjM1osjfD8Dmg8eyz3CID355E4wCHkSUokbR8TS0bA,298
7
- cocotb/binary.py,sha256=KWPVNrpaBmWbDz5mTwhzoSrvNBbEUyaYr4fojmU71qE,27153
6
+ cocotb/_version.py,sha256=ASgZPNSJGyGy_E_uiTHALcmAE3-FXcHEm5Mo4WOCfE0,298
7
+ cocotb/binary.py,sha256=pvlBIKIA1gQpauoJ4PP9FR01gQzv1aSQCNG3pl3uZl4,27243
8
8
  cocotb/clock.py,sha256=tYbDZ5K9mDmqLTMMWtvH_4t_8vVPWQGTMq96iV1NEa0,6560
9
9
  cocotb/config.py,sha256=Bt7zHgQTraNlNNH__jk05V1hr9Wd9TMSntax3OYASUA,9654
10
10
  cocotb/decorators.py,sha256=ZAvvXXYwJu1klH9Gd7G7_wANUqztCl74XboYkAkZryQ,11727
@@ -81,9 +81,9 @@ cocotb/types/logic_array.py,sha256=C8gHjUmof4P9hYwVOnFMjBgH0xKz0XjmWjtVvCisBbU,9
81
81
  cocotb/types/range.py,sha256=MbO76LYIxR1r0eki-SSP3XOtypu4_etXUHWmNCi4gNw,6230
82
82
  pygpi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
83
  pygpi/entry.py,sha256=DYNuWRXyh60vjyM95JFltJSF67XtGkiqBD73-O37iXc,946
84
- cocotb-1.9.0rc1.dist-info/LICENSE,sha256=8u54oq_hgh2uhGSCf5Fo3UpyB6DoAluUkPWp-ES7AFU,1542
85
- cocotb-1.9.0rc1.dist-info/METADATA,sha256=4YaiPezeSKbRNnk433cby06gzTSbDm1gXmPkIZd-YTY,6805
86
- cocotb-1.9.0rc1.dist-info/WHEEL,sha256=ye8A2lA8pjGNe7-ueOpggarJAhczq3EZGqnLZzzfQYQ,110
87
- cocotb-1.9.0rc1.dist-info/entry_points.txt,sha256=kFnPpuolM06cgf3C7fa5JZS4vzADkrxfr0dmBvgtaYg,54
88
- cocotb-1.9.0rc1.dist-info/top_level.txt,sha256=Fl4sx6K1RYh5oUwTHM1KkMz54rCexCBjdDi5QiC8McE,546
89
- cocotb-1.9.0rc1.dist-info/RECORD,,
84
+ cocotb-1.9.0rc2.dist-info/LICENSE,sha256=8u54oq_hgh2uhGSCf5Fo3UpyB6DoAluUkPWp-ES7AFU,1542
85
+ cocotb-1.9.0rc2.dist-info/METADATA,sha256=8akQZWslSEHEjEHCEDh9pvan1i228-D2lAvKUcmhDww,6805
86
+ cocotb-1.9.0rc2.dist-info/WHEEL,sha256=ye8A2lA8pjGNe7-ueOpggarJAhczq3EZGqnLZzzfQYQ,110
87
+ cocotb-1.9.0rc2.dist-info/entry_points.txt,sha256=kFnPpuolM06cgf3C7fa5JZS4vzADkrxfr0dmBvgtaYg,54
88
+ cocotb-1.9.0rc2.dist-info/top_level.txt,sha256=Fl4sx6K1RYh5oUwTHM1KkMz54rCexCBjdDi5QiC8McE,546
89
+ cocotb-1.9.0rc2.dist-info/RECORD,,