Menu

#162 Change PyIMAPIFolder method return types

Unstable (example)
closed-fixed
None
5
2017-11-25
2016-08-17
No

CopyMessages, DeleteMessages, and EmptyFolder currently all return None. These commands can also return MAPI_W_PARTIAL_SUCCESS. This patch changes the return type from HRESULT to HRESULT_KEEP_INFO. My hope is that this will be considered an acceptable change since None will be replaced by MAPI_SUCCESS (0) unless a non-raising MAPI_W_PARTIAL_SUCCESS status is being returned.

1 Attachments

Discussion

  • Mark Hammond

    Mark Hammond - 2016-08-18
    • assigned_to: Mark Hammond
     
  • Mark Hammond

    Mark Hammond - 2016-08-18

    LGTM - I'll merge this next time I do a release, or let me know if you would like it merged sooner.

     
  • Mark Hammond

    Mark Hammond - 2017-11-25
    • status: open --> closed-fixed
     
  • Mark Hammond

    Mark Hammond - 2017-11-25

    Fixed in git commit 99217b26ce659fa381c58351f64a99e6b1776c55

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.