Bug #487

Converters for fundamental types are not implemented [Python]

Added by J. Moringen over 12 years ago. Updated almost 8 years ago.

Status:ResolvedStart date:08/08/2011
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Python
Target version:rsb-0.9

Description

Despite what this description suggests.

Associated revisions

Revision 3299257d
Added by J. Moringen over 12 years ago

Added Uint64Converter in rsb/transport/converter.py
refs #487
  • rsb/transport/converter.py: added class Uint64Converter; register
    Uint64Converter
  • test/convertertest.py: added minimal unit test for Uint64Converter

Revision 9c8846e2
Added by J. Wienke about 11 years ago

Add converter for uint32.

refs #487

Revision e2356fa9
Added by J. Moringen about 11 years ago

Added missing converters for fundamental types in rsb/converter.py

fixes #487

  • rsb/converter.py (header): updated copyright
    (makeStructBasedConverter): new function; dynamically construct
    converter class which uses struct.[un]pack
    (Uint64Converter): removed
    (Uint32Converter): likewise
  • test/convertertest.py (header): updated copyright
    (makeStructBasedConverterTest): new function; dynamically construct
    test case for struct-based converter
    (suite): use makeStructBasedConverterTest

Revision 9a99f312
Added by J. Moringen almost 8 years ago

Added ScopeConverter class in rsb/converter.py

refs #487

  • rsb/converter.py (header): updated copyright
    (ScopeConverter): new class; (de)serializes Scope objects
  • test/converter_test.py (header): updated copyright
    (ScopeConverterTest): new class; test case for ScopeConverter class

Revision ed98e4a9
Added by J. Moringen almost 8 years ago

Mention new Python ScopeConverter in news.rst

refs #487

  • news.rst (RSB 0.15): mention new Python ScopeConverter

Revision 41a9bfcf
Added by J. Moringen over 7 years ago

Register ScopeConverter in rsb/converter.py

refs #487

  • rsb/converter.py (toplevel): register ScopeConverter

History

#1 Updated by J. Moringen over 12 years ago

  • Status changed from New to In Progress
  • Assignee changed from J. Wienke to J. Moringen

#2 Updated by J. Moringen over 11 years ago

  • % Done changed from 0 to 30

#3 Updated by J. Wienke about 11 years ago

  • Target version changed from rsb-0.10 to rsb-0.9

uint32 is missing

#4 Updated by J. Moringen about 11 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100

Applied in changeset rsb-python|commit:e2356fa9b9991ba04706f64f78228711e66350c8.

#5 Updated by J. Moringen about 11 years ago

  • Subject changed from Converters for Fundamental Types are not Implemented to Converters for fundamental types are not implemented

#6 Updated by J. Moringen almost 8 years ago

  • Subject changed from Converters for fundamental types are not implemented to Converters for fundamental types are not implemented [Python]

Also available in: Atom PDF