Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle iter-/generators correctly in MidiOut.send_message #186

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

SpotlightKid
Copy link
Owner

No description provided.

@SpotlightKid SpotlightKid self-assigned this Oct 23, 2023
@SpotlightKid SpotlightKid changed the title fix: handle iterators/generator correctly in MidiOut.send_message fix: handle iter-/genators correctly in MidiOut.send_message Oct 23, 2023
@SpotlightKid SpotlightKid changed the title fix: handle iter-/genators correctly in MidiOut.send_message fix: handle iter-/generators correctly in MidiOut.send_message Oct 23, 2023
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
@SpotlightKid SpotlightKid marked this pull request as ready for review October 23, 2023 08:08
@SpotlightKid SpotlightKid merged commit c77fb34 into master Oct 23, 2023
5 checks passed
@SpotlightKid SpotlightKid deleted the fix/send-message-iter branch October 23, 2023 08:09
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Nov 7, 2023
https://build.opensuse.org/request/show/1123698
by user mia + anag+factory
- Omit html docs due to hostile build system
- Update to 1.5.7
Fixes:
  * Fixed linting errors in `send_all.py` example.
    gh#SpotlightKid/python-rtmidi#184
  * Fixed (no)gil/except declarations on MIDI in callback and
    `MidiOut.sendMessage`.
    The GIL is acquired in any case for MIDI in callback and C++
    `sendMessage` call, since Cython needs to check for exceptions.
    Also remove wrong statement about the GIL being released in
    docstring for `send_message`.
    gh#SpotlightKid/python-rtmidi#185
  * Fixed errors and check for empty message correctly when passing
    an iter- or generator instead of a sequence to
    `MidiOut.send_message`.
    gh#SpotlightKid/python-rtmidi#186
    gh#SpotlightKid/python-rtmidi#188
- 1.5.6
Fixes:
  * Fixed building with `meson-python` >= 0.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant