regina 7.2.0__cp39-cp39-macosx_11_0_arm64.whl → 7.3.1__cp39-cp39-macosx_11_0_arm64.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 regina might be problematic. Click here for more details.

Files changed (72) hide show
  1. regina/__init__.py +1 -1
  2. regina/engine.cpython-39-darwin.so +0 -0
  3. regina/sageRegina/config.py +1 -1
  4. regina/sageRegina/testsuite/CMakeLists.txt +1 -0
  5. regina/sageRegina/testsuite/alltypes.out +135 -0
  6. regina/sageRegina/testsuite/alltypes.test +1 -1
  7. regina/sageRegina/testsuite/angles.test +1 -1
  8. regina/sageRegina/testsuite/basic.cpp +2 -2
  9. regina/sageRegina/testsuite/bool.test +1 -1
  10. regina/sageRegina/testsuite/bytes.test +1 -1
  11. regina/sageRegina/testsuite/callbacks.test +1 -1
  12. regina/sageRegina/testsuite/census.test +1 -1
  13. regina/sageRegina/testsuite/clone.test +1 -1
  14. regina/sageRegina/testsuite/constructors.test +1 -1
  15. regina/sageRegina/testsuite/discs.test +1 -1
  16. regina/sageRegina/testsuite/docstrings.out +6 -6
  17. regina/sageRegina/testsuite/docstrings.test +1 -1
  18. regina/sageRegina/testsuite/embeddings.test +1 -1
  19. regina/sageRegina/testsuite/enumerate.test +1 -1
  20. regina/sageRegina/testsuite/equality.test +1 -1
  21. regina/sageRegina/testsuite/euler.test +1 -1
  22. regina/sageRegina/testsuite/exception.test +1 -1
  23. regina/sageRegina/testsuite/facenumbering.test +1 -1
  24. regina/sageRegina/testsuite/faces.test +1 -1
  25. regina/sageRegina/testsuite/file.test +1 -1
  26. regina/sageRegina/testsuite/flype.test +1 -1
  27. regina/sageRegina/testsuite/generic.test +1 -1
  28. regina/sageRegina/testsuite/groups.test +1 -1
  29. regina/sageRegina/testsuite/hypersurfaces.test +1 -1
  30. regina/sageRegina/testsuite/i18n.test +1 -1
  31. regina/sageRegina/testsuite/id.test +1 -1
  32. regina/sageRegina/testsuite/integer.out +10 -0
  33. regina/sageRegina/testsuite/integer.test +14 -0
  34. regina/sageRegina/testsuite/iterators.test +1 -1
  35. regina/sageRegina/testsuite/listener.test +1 -1
  36. regina/sageRegina/testsuite/listview.test +1 -1
  37. regina/sageRegina/testsuite/lookup.test +1 -1
  38. regina/sageRegina/testsuite/memory1.test +1 -1
  39. regina/sageRegina/testsuite/memory2.test +1 -1
  40. regina/sageRegina/testsuite/memory3.test +1 -1
  41. regina/sageRegina/testsuite/misc.test +1 -1
  42. regina/sageRegina/testsuite/operators.test +1 -1
  43. regina/sageRegina/testsuite/orb.test +1 -1
  44. regina/sageRegina/testsuite/pdf.test +1 -1
  45. regina/sageRegina/testsuite/perm.test +1 -1
  46. regina/sageRegina/testsuite/plantri.test +1 -1
  47. regina/sageRegina/testsuite/presentations.test +1 -1
  48. regina/sageRegina/testsuite/refs.test +1 -1
  49. regina/sageRegina/testsuite/repr.test +1 -1
  50. regina/sageRegina/testsuite/safeheldtype_basic.test +1 -1
  51. regina/sageRegina/testsuite/safeheldtype_packet.test +1 -1
  52. regina/sageRegina/testsuite/sets.test +1 -1
  53. regina/sageRegina/testsuite/skeleton.test +1 -1
  54. regina/sageRegina/testsuite/snappea.test +1 -1
  55. regina/sageRegina/testsuite/snapshot.test +1 -1
  56. regina/sageRegina/testsuite/sort.test +1 -1
  57. regina/sageRegina/testsuite/special.test +1 -1
  58. regina/sageRegina/testsuite/standardtri.test +1 -1
  59. regina/sageRegina/testsuite/surfaces.test +1 -1
  60. regina/sageRegina/testsuite/swapping.test +1 -1
  61. regina/sageRegina/testsuite/testall.in +1 -1
  62. regina/sageRegina/testsuite/testbasic.in +1 -1
  63. regina/sageRegina/testsuite/tightencode.test +1 -1
  64. regina/sageRegina/testsuite/treedecomp.test +1 -1
  65. regina/sageRegina/testsuite/treetraversal.test +1 -1
  66. regina/sageRegina/testsuite/trigeneral.test +1 -1
  67. regina/sageRegina/testsuite/utf8.test +1 -1
  68. regina/sageRegina/version.py +2 -2
  69. {regina-7.2.0.dist-info → regina-7.3.1.dist-info}/METADATA +10 -10
  70. {regina-7.2.0.dist-info → regina-7.3.1.dist-info}/RECORD +155 -155
  71. {regina-7.2.0.dist-info → regina-7.3.1.dist-info}/WHEEL +1 -1
  72. {regina-7.2.0.dist-info → regina-7.3.1.dist-info}/top_level.txt +0 -0
regina/__init__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Module Initialisation
3
3
  #
4
- # Copyright (c) 2003-2022, Ben Burton
4
+ # Copyright (c) 2003-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # This program is free software; you can redistribute it and/or
Binary file
@@ -4,6 +4,6 @@ tokyocabinet_dir = 'tokyocabinet-1.4.48'
4
4
  libxml_uri = 'http://sageRegina.unhyperbolic.org/sources/libxml2-2.9.3.tar.gz'
5
5
  libxml_dir = 'libxml2-2.9.3'
6
6
 
7
- regina_hash = 'ecc9a8e5b6de71489' # 7.2 as released
7
+ regina_hash = '99ebaff67' # 7.3 + iteration speed patch
8
8
  regina_uri = 'https://github.com/regina-normal/regina.git'
9
9
  regina_dir = 'regina_%s' % regina_hash
@@ -12,6 +12,7 @@ CONFIGURE_FILE(
12
12
 
13
13
  # A very basic interpreter to use for testing:
14
14
  INCLUDE_DIRECTORIES(${Python_INCLUDE_DIRS} ${ENGINE_INCLUDES} "${PROJECT_BINARY_DIR}/engine")
15
+ ADD_COMPILE_DEFINITIONS(REGINA_PYTHON_USE_PYTHONPATH=1)
15
16
  ADD_LINK_OPTIONS(${Python_LINK_OPTIONS})
16
17
  add_executable(basic
17
18
  basic.cpp
@@ -960,6 +960,141 @@ Equality type : EqualityType.BY_VALUE
960
960
  Perm9 : class
961
961
  Equality type : EqualityType.BY_VALUE
962
962
 
963
+ PermClass10 : class
964
+ Equality type : EqualityType.BY_VALUE
965
+
966
+ PermClass11 : class
967
+ Equality type : EqualityType.BY_VALUE
968
+
969
+ PermClass12 : class
970
+ Equality type : EqualityType.BY_VALUE
971
+
972
+ PermClass13 : class
973
+ Equality type : EqualityType.BY_VALUE
974
+
975
+ PermClass14 : class
976
+ Equality type : EqualityType.BY_VALUE
977
+
978
+ PermClass15 : class
979
+ Equality type : EqualityType.BY_VALUE
980
+
981
+ PermClass16 : class
982
+ Equality type : EqualityType.BY_VALUE
983
+
984
+ PermClass2 : class
985
+ Equality type : EqualityType.BY_VALUE
986
+
987
+ PermClass3 : class
988
+ Equality type : EqualityType.BY_VALUE
989
+
990
+ PermClass4 : class
991
+ Equality type : EqualityType.BY_VALUE
992
+
993
+ PermClass5 : class
994
+ Equality type : EqualityType.BY_VALUE
995
+
996
+ PermClass6 : class
997
+ Equality type : EqualityType.BY_VALUE
998
+
999
+ PermClass7 : class
1000
+ Equality type : EqualityType.BY_VALUE
1001
+
1002
+ PermClass8 : class
1003
+ Equality type : EqualityType.BY_VALUE
1004
+
1005
+ PermClass9 : class
1006
+ Equality type : EqualityType.BY_VALUE
1007
+
1008
+ PermGroup10 : class
1009
+ Equality type : EqualityType.BY_VALUE
1010
+
1011
+ PermGroup10_Cached : class
1012
+ Equality type : EqualityType.BY_VALUE
1013
+
1014
+ PermGroup11 : class
1015
+ Equality type : EqualityType.BY_VALUE
1016
+
1017
+ PermGroup11_Cached : class
1018
+ Equality type : EqualityType.BY_VALUE
1019
+
1020
+ PermGroup12 : class
1021
+ Equality type : EqualityType.BY_VALUE
1022
+
1023
+ PermGroup12_Cached : class
1024
+ Equality type : EqualityType.BY_VALUE
1025
+
1026
+ PermGroup13 : class
1027
+ Equality type : EqualityType.BY_VALUE
1028
+
1029
+ PermGroup13_Cached : class
1030
+ Equality type : EqualityType.BY_VALUE
1031
+
1032
+ PermGroup14 : class
1033
+ Equality type : EqualityType.BY_VALUE
1034
+
1035
+ PermGroup14_Cached : class
1036
+ Equality type : EqualityType.BY_VALUE
1037
+
1038
+ PermGroup15 : class
1039
+ Equality type : EqualityType.BY_VALUE
1040
+
1041
+ PermGroup15_Cached : class
1042
+ Equality type : EqualityType.BY_VALUE
1043
+
1044
+ PermGroup16 : class
1045
+ Equality type : EqualityType.BY_VALUE
1046
+
1047
+ PermGroup16_Cached : class
1048
+ Equality type : EqualityType.BY_VALUE
1049
+
1050
+ PermGroup2 : class
1051
+ Equality type : EqualityType.BY_VALUE
1052
+
1053
+ PermGroup2_Cached : class
1054
+ Equality type : EqualityType.BY_VALUE
1055
+
1056
+ PermGroup3 : class
1057
+ Equality type : EqualityType.BY_VALUE
1058
+
1059
+ PermGroup3_Cached : class
1060
+ Equality type : EqualityType.BY_VALUE
1061
+
1062
+ PermGroup4 : class
1063
+ Equality type : EqualityType.BY_VALUE
1064
+
1065
+ PermGroup4_Cached : class
1066
+ Equality type : EqualityType.BY_VALUE
1067
+
1068
+ PermGroup5 : class
1069
+ Equality type : EqualityType.BY_VALUE
1070
+
1071
+ PermGroup5_Cached : class
1072
+ Equality type : EqualityType.BY_VALUE
1073
+
1074
+ PermGroup6 : class
1075
+ Equality type : EqualityType.BY_VALUE
1076
+
1077
+ PermGroup6_Cached : class
1078
+ Equality type : EqualityType.BY_VALUE
1079
+
1080
+ PermGroup7 : class
1081
+ Equality type : EqualityType.BY_VALUE
1082
+
1083
+ PermGroup7_Cached : class
1084
+ Equality type : EqualityType.BY_VALUE
1085
+
1086
+ PermGroup8 : class
1087
+ Equality type : EqualityType.BY_VALUE
1088
+
1089
+ PermGroup8_Cached : class
1090
+ Equality type : EqualityType.BY_VALUE
1091
+
1092
+ PermGroup9 : class
1093
+ Equality type : EqualityType.BY_VALUE
1094
+
1095
+ PermGroup9_Cached : class
1096
+ Equality type : EqualityType.BY_VALUE
1097
+
963
1098
  PillowTwoSphere : class
964
1099
  Equality type : EqualityType.BY_VALUE
965
1100
 
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Prints basic properties of all wrapped objects and types.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides various tests for angle structure enumeration.
@@ -4,7 +4,7 @@
4
4
  * Regina - A Normal Surface Theory Calculator *
5
5
  * Python Interface *
6
6
  * *
7
- * Copyright (c) 1999-2022, Ben Burton *
7
+ * Copyright (c) 1999-2023, Ben Burton *
8
8
  * For further details contact Ben Burton (bab@debian.org). *
9
9
  * *
10
10
  * This program is free software; you can redistribute it and/or *
@@ -180,7 +180,7 @@ int main(int argc, char* argv[]) {
180
180
  // run directly out of the source tree.
181
181
  regina::python::PythonInterpreter py(out, err, false);
182
182
  if (! py.importRegina(false)) {
183
- std::cerr << "ERROR: Could not import regina";
183
+ std::cerr << "ERROR: Could not import regina" << std::endl;
184
184
  exit(2);
185
185
  }
186
186
 
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests casts to booleans.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests code that works with raw byte sequences.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests the use of pure Python functions as C++ callbacks.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests the census generation code.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests the behaviour of the packet cloning functions.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests bindings for the different Triangulation3 constructors.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests for issues relating to disc set iteration.
@@ -436,10 +436,10 @@ __init__(...)
436
436
 
437
437
  5. __init__(self: regina.Integer, arg0: int) -> None
438
438
 
439
- Initialises this to the given Python arbitrary-precision integer.
439
+ Initialises this to the given native Python integer.
440
440
 
441
- The argument is of the Python type ``long``, which Python uses to
442
- store integers of arbitrary magnitude (much like Regina does with its
441
+ The argument is of the Python ``int`` type, which Python uses to store
442
+ integers of arbitrary magnitude (much like Regina does with its
443
443
  Integer and LargeInteger classes).
444
444
 
445
445
  Parameter ``value``:
@@ -529,10 +529,10 @@ __init__(...)
529
529
 
530
530
  5. __init__(self: regina.LargeInteger, arg0: int) -> None
531
531
 
532
- Initialises this to the given Python arbitrary-precision integer.
532
+ Initialises this to the given native Python integer.
533
533
 
534
- The argument is of the Python type ``long``, which Python uses to
535
- store integers of arbitrary magnitude (much like Regina does with its
534
+ The argument is of the Python ``int`` type, which Python uses to store
535
+ integers of arbitrary magnitude (much like Regina does with its
536
536
  Integer and LargeInteger classes).
537
537
 
538
538
  Parameter ``value``:
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests Python docstrings and function signatures.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests bindings related to FaceEmbedding objects.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests Regina's vertex enumeration functions.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests that == and != behave as expected for Regina's python bindings.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests different Euler characteristic calculations.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests throwing and catching Regina's exception types.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides tests for face numbering in high-dimensional triangulations.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides tests for the face query routines.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2011-2022, Ben Burton
4
+ # Copyright (c) 2011-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests support for the modern XML file format
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides detailed tests for flypes on model link graphs.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides tests for high-dimensional triangulations.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides various tests for marked abelian groups.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides various tests for normal surface enumeration.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests for UTF-8 character encodings when loading and importing files
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides tests for variables that should be the same object in Python.
@@ -62,3 +62,13 @@
62
62
  -10000000000000000000000000000
63
63
  3141592
64
64
  1234567
65
+ 123
66
+ <class 'int'> 123
67
+ -123456789123456789123456789123456789123456789123456789
68
+ <class 'int'> -123456789123456789123456789123456789123456789123456789
69
+ 123
70
+ <class 'int'> 123
71
+ -123456789123456789123456789123456789123456789123456789
72
+ <class 'int'> -123456789123456789123456789123456789123456789123456789
73
+ inf
74
+ Could not convert
@@ -39,4 +39,18 @@ for IntegerType in [Integer, LargeInteger]:
39
39
 
40
40
  print(IntegerType('3141592'))
41
41
  print(IntegerType(1234567.89))
42
+
43
+ x = IntegerType(123)
44
+ y = IntegerType(-123456789123456789123456789123456789123456789123456789)
45
+
46
+ for IntegerType in [Integer, LargeInteger]:
47
+ for i in [ x, y ]:
48
+ print(i)
49
+ z = i.pythonValue()
50
+ print(type(z), z)
42
51
 
52
+ try:
53
+ print(LargeInteger.infinity)
54
+ print(LargeInteger.infinity.pythonValue())
55
+ except:
56
+ print('Could not convert')
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2019-2022, Ben Burton
4
+ # Copyright (c) 2019-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests custom python iterators.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2019-2022, Ben Burton
4
+ # Copyright (c) 2019-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests the behaviour of packet listeners
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2019-2022, Ben Burton
4
+ # Copyright (c) 2019-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests iteration with C++ functions that return a ListView.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests the census database lookup routines.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests the lifetime management of packets.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests the independence and lifespans of engine-generated packets.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests the independence and lifespans of engine-generated packets.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides small miscellaneous tests to ensure that things are up and running.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2015-2022, Ben Burton
4
+ # Copyright (c) 2015-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Tests bindings for various C++ operator overloads.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2013-2022, Ben Burton
4
+ # Copyright (c) 2013-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides tests for the Orb import filter.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2013-2022, Ben Burton
4
+ # Copyright (c) 2013-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides tests for the PDF import and export filters.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides detailed tests for permutation constant arrays.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides tests for plantri format encodings and decodings.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides various tests for group presentation.
@@ -1,7 +1,7 @@
1
1
  # Regina - A Normal Surface Theory Calculator
2
2
  # Python Test Suite Component
3
3
  #
4
- # Copyright (c) 2007-2022, Ben Burton
4
+ # Copyright (c) 2007-2023, Ben Burton
5
5
  # For further details contact Ben Burton (bab@debian.org).
6
6
  #
7
7
  # Provides tests for passing by value vs reference.