Skip to content

Commit 446dbdd

Browse files
committed
Fix test_pep3118
1 parent ab4dcd2 commit 446dbdd

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

IronPython.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{17737ACB
4242
eng\net9.0-windows.props = eng\net9.0-windows.props
4343
eng\net9.0.props = eng\net9.0.props
4444
eng\netstandard2.0.props = eng\netstandard2.0.props
45-
eng\steps.yml = eng\steps.yml
4645
eng\Tasks.Targets = eng\Tasks.Targets
4746
EndProjectSection
4847
EndProject

src/core/IronPython.Modules/_ctypes/SimpleType.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,15 @@ public SimpleType(CodeContext/*!*/ context, string name, PythonTuple bases, Pyth
6060
case 'I': _type = SimpleTypeKind.UnsignedInt; break;
6161
case 'l':
6262
_type = SimpleTypeKind.SignedLong;
63+
#if !PYTHON_34
6364
_charType = TypecodeOps.IsCLong32Bit ? _charType : 'q';
65+
#endif
6466
break;
6567
case 'L':
6668
_type = SimpleTypeKind.UnsignedLong;
69+
#if !PYTHON_34
6770
_charType = TypecodeOps.IsCLong32Bit ? _charType : 'Q';
71+
#endif
6872
break;
6973
case 'f': _type = SimpleTypeKind.Single; break;
7074
case 'g': // long double, new in 2.6

0 commit comments

Comments
 (0)