#11 Add mark/space parity, Win32

closed-accepted
nobody
None
5
2009-07-21
2006-09-19
Anders J. Munch
No

Adds mark/space parity as 'M'/'Mark' and 'S'/'Space' to
serialutil.py. Adds implemention to serialwin32.py.

Discussion

  • Chris Liechti
    Chris Liechti
    2008-06-21

    Logged In: YES
    user_id=403744
    Originator: NO

    thanks, implemented

     
  • Chris Liechti
    Chris Liechti
    2008-06-21

    • status: open --> closed-accepted
     
    • status: closed-accepted --> open-accepted
     
  • Logged In: YES
    user_id=384806
    Originator: YES

    For some reason this one line of the patch wasn't implemented with the rest. Changing
    - PARITIES = (PARITY_NONE, PARITY_EVEN, PARITY_ODD)
    to
    + PARITIES = (PARITY_NONE, PARITY_EVEN, PARITY_ODD, PARITY_MARK, PARITY_SPACE)
    in serialutil.py
    Without that, setParity will give a ValueError on mark or space.

     
  • Chris Liechti
    Chris Liechti
    2009-07-21

    • status: open-accepted --> closed-accepted
     
  • Chris Liechti
    Chris Liechti
    2009-07-21

    is implemented on SVN HEAD, next release.