Skip to content

Bug: KeyError rather than TypeError in LocStream for python >=3.12 #313

Closed Answered by billsacks
xylar asked this question in ESMPy
Discussion options

You must be logged in to vote

@xylar - sorry it took me a while to get to this, but I have now brought in your suggested change: 338cd06. I looked this over pretty carefully and agree with the change you proposed. As noted in that commit, I think there are a number of possible cases where the new code will behave differently from the old code, but as far as I can tell, all of those cases would have raised exceptions in the old code, and now will just raise different exceptions, so I'm not too concerned.

Part of what held me up was that I ran into different errors while testing with python 3.12 on my Mac: I was getting Segmentation Faults in two places. I also fixed this issue today: 6d5fdfe.

I will now add nightly tes…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@xylar
Comment options

Answer selected by billsacks
Comment options

You must be logged in to vote
4 replies
@xylar
Comment options

@billsacks
Comment options

@billsacks
Comment options

@xylar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESMPy
2 participants