coriolis/oroshi/python
Jean-Paul Chaput c737d5bd0c Port to Python3 capacitors & resistors generators.
Main list of ports:

* Replace deprecated operator '<>' by '!='.
* To check if a list is empty, do not compare to [], but check it's
  length instead.
* Do not make a class inherit indirectly twice from the same base class.
* Hurricane physical object constructors uses DbU::Unit as arguments,
  seen as int in Python, so they will not match float. Unfortunately
  the calculation often gives float. So explicitely cast them into
  int. This is due to a change of behavior in Python. Now, 3/2
  gives 1.5 (float). To get the previous one use: 3/2 -> 1 (int).
* dict.keys()[0] no longer work, instead use list(dict.keys())[0].
2022-07-13 11:20:55 +02:00
..
CMakeLists.txt Migration towards Python3, first stage: still based on C-Macros. 2021-09-19 19:41:24 +02:00
__init__.py Adapt Nix code to Python 3 switch. 2021-10-26 20:10:59 +00:00
capacitormatrix.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
capacitorrouted.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
capacitorroutedsingle.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
capacitorunit.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
capacitorvrtracks.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
dtr.py Migration towards Python3, first stage: still based on C-Macros. 2021-09-19 19:41:24 +02:00
multicapacitor.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
nonunitcapacitor.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
paramsmatrix.py Migration towards Python3, first stage: still based on C-Macros. 2021-09-19 19:41:24 +02:00
resistor.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
resistorsnake.py Port to Python3 capacitors & resistors generators. 2022-07-13 11:20:55 +02:00
stack.py Migration towards Python3, first stage: still based on C-Macros. 2021-09-19 19:41:24 +02:00
wip_csp.py Migration towards Python3, first stage: still based on C-Macros. 2021-09-19 19:41:24 +02:00
wip_dp.py Migration towards Python3, first stage: still based on C-Macros. 2021-09-19 19:41:24 +02:00
wip_transistor.py Migration towards Python3, first stage: still based on C-Macros. 2021-09-19 19:41:24 +02:00