This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maciej.szulik
Recipients Duke.Dougal, Illirgway, barry, lpolzer, maciej.szulik, r.david.murray, richard, sreepriya, vstinner
Date 2014-04-19.05:07:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sreepriya, are you still working on this issue? If no I'll be happy to take it over, is yes start with fixing following things:
- start with test - this is the most important to have each feautre tested
- decode_data, as David mentioned, needs to have default value True, meaning that __init__ should look like this: 
def __init__(self, server, conn, addr, data_size_limit=DATA_SIZE_DEFAULT, map=None, decode_data=True)
Assigning True in __init__ will make this value always True, and that's not the point. 
- add deprecation warning about this parameter using warnings module:
warnings.warn('decode_data=True is deprecated, data will not be decoded by default', DeprecationWarning, 2)
- as for the found_terminator method what David means is to decode data in the first if, where commands are checked, to simplify processing of this part (David please correct me if I'm wrong) and not what you did
- and finally you need to update the docs to include decode_data parameter with information about how it works and it's deprecation
Date User Action Args
2014-04-19 05:07:12maciej.szuliksetrecipients: + maciej.szulik, barry, richard, vstinner, r.david.murray, lpolzer, Illirgway, Duke.Dougal, sreepriya
2014-04-19 05:07:12maciej.szuliksetmessageid: <>
2014-04-19 05:07:12maciej.szuliklinkissue19662 messages
2014-04-19 05:07:11maciej.szulikcreate