cocotb 1.9.0rc1__cp312-cp312-macosx_10_9_x86_64.whl → 1.9.0rc2__cp312-cp312-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
@@ -1,20 +1,20 @@
1
+ cocotb-1.9.0rc2.dist-info/RECORD,,
2
+ cocotb-1.9.0rc2.dist-info/LICENSE,sha256=8u54oq_hgh2uhGSCf5Fo3UpyB6DoAluUkPWp-ES7AFU,1542
3
+ cocotb-1.9.0rc2.dist-info/WHEEL,sha256=ixb_O5lsVXLMepD9A3AdgDzVqvdgd8PzUyuV4vg4Hnk,110
4
+ cocotb-1.9.0rc2.dist-info/entry_points.txt,sha256=Z2JL-ZgU-G5au6uYpkWZz9Pfk7qnh4fcoQJmBxnHSZQ,53
5
+ cocotb-1.9.0rc2.dist-info/top_level.txt,sha256=Fl4sx6K1RYh5oUwTHM1KkMz54rCexCBjdDi5QiC8McE,546
6
+ cocotb-1.9.0rc2.dist-info/METADATA,sha256=9MPkZ2xYabMEXZED6hetehceeCZGu3LY6SKN4UEN1tc,6803
1
7
  pygpi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
8
  pygpi/entry.py,sha256=DYNuWRXyh60vjyM95JFltJSF67XtGkiqBD73-O37iXc,946
3
- cocotb-1.9.0rc1.dist-info/RECORD,,
4
- cocotb-1.9.0rc1.dist-info/LICENSE,sha256=8u54oq_hgh2uhGSCf5Fo3UpyB6DoAluUkPWp-ES7AFU,1542
5
- cocotb-1.9.0rc1.dist-info/WHEEL,sha256=8vjM7qmEeq7wNObEEwDWjDXmqK7WshN99Fj5Tn_DQS0,110
6
- cocotb-1.9.0rc1.dist-info/entry_points.txt,sha256=Z2JL-ZgU-G5au6uYpkWZz9Pfk7qnh4fcoQJmBxnHSZQ,53
7
- cocotb-1.9.0rc1.dist-info/top_level.txt,sha256=Fl4sx6K1RYh5oUwTHM1KkMz54rCexCBjdDi5QiC8McE,546
8
- cocotb-1.9.0rc1.dist-info/METADATA,sha256=aSuq-4K4yrB2YgH_MipfdwwaujrDFizvJpJfXNCgK6g,6803
9
9
  cocotb/queue.py,sha256=ZHaad7RMKla0NqC2k06DmVV7wXrtrteRVx19iE-0_5w,5159
10
10
  cocotb/_sim_versions.py,sha256=nbUkauB7RKure0FrUz52sHkJzoAeErEKZQeUfhryrvY,3544
11
- cocotb/binary.py,sha256=KWPVNrpaBmWbDz5mTwhzoSrvNBbEUyaYr4fojmU71qE,27153
11
+ cocotb/binary.py,sha256=pvlBIKIA1gQpauoJ4PP9FR01gQzv1aSQCNG3pl3uZl4,27243
12
12
  cocotb/task.py,sha256=4TvJ3YHjDV6-ZhTVe2xJHE1dLjcx8rAphCfDcpDOdLU,11035
13
13
  cocotb/runner.py,sha256=sP7YS7gs8mXvP9-sqoKdJE2Cm5t6-hAuDq3sFsnJiAs,50285
14
14
  cocotb/regression.py,sha256=6bY3dfnTWkH8iizMMRT3y6lOMBCkWuNUv8gcO_JujYQ,32968
15
15
  cocotb/config.py,sha256=Bt7zHgQTraNlNNH__jk05V1hr9Wd9TMSntax3OYASUA,9654
16
16
  cocotb/triggers.py,sha256=jGdbOEojYKoXmS2rrZAsPPeIIT0pPJAcdcGzGKY_854,34973
17
- cocotb/_version.py,sha256=PmjM1osjfD8Dmg8eyz3CID355E4wCHkSUokbR8TS0bA,298
17
+ cocotb/_version.py,sha256=ASgZPNSJGyGy_E_uiTHALcmAE3-FXcHEm5Mo4WOCfE0,298
18
18
  cocotb/log.py,sha256=ydt4ZFo1iuvFRp9uu05KBhN1-bK-gH0huCbE8xbG6PY,10443
19
19
  cocotb/handle.py,sha256=Hh23PPe8uWwR3QtCMnMpCUu6YPPm0OkeKpAwI8-X7yY,41627
20
20
  cocotb/wavedrom.py,sha256=xWhefs5G5L79Wusw8poY1h8x_VFeSlsnXbRrfj3VNhg,5988
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.2.0)
2
+ Generator: setuptools (70.3.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-macosx_10_9_x86_64
5
5