Skip to content

Conversation

@Piezoid
Copy link

@Piezoid Piezoid commented Jul 31, 2022

  • map() returns a iterable which is not sliceable.
  • Fix a bug where the coordinate vector could be resized, because of these two properties of python lists:
    • [1,2][0:3] == [1,2] (doesn't raise)
    • p = [None]*3 ; p[0:3] = [1,2] ; assert len(p) == 2 (resizes a slice in place)
  • Better error reporting.

I don't have a setup right now for testing on a real printer. Reading the documentation, I'm not entirely sure in which cases different numbers of coordinates should be tolerated.

- map() returns a iterable which is not sliceable.
- Fix a bug where the coordinate vector could be resized.
- Better error reporting.

Signed-off-by: Maël Kerbiriou <m431.kerbiriou@gmail.com>
@mental405 mental405 merged commit eb171bf into mental405:work-annex-probe Aug 1, 2022
@mental405
Copy link
Owner

Thanks for fixing that.

@Piezoid Piezoid deleted the work-annex-probe-py3 branch August 24, 2022 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants