jegesh / python-sqs-listener

A simple wrapper for boto3 for listening, and sending, to an AWS SQS queue
Other
154 stars 72 forks source link

support python 3 #11

Closed arakawamoriyuki closed 6 years ago

arakawamoriyuki commented 6 years ago

Fix to work on python 2 and 3.

The buffering parameter of the daemon.py 61 line is erased because there is an error in Python3. ValueError: can't have unbuffered text I/O

jegesh commented 6 years ago

Btw I updated the readme with a much simpler daemonization example. It may be of interest to you.

arakawamoriyuki commented 6 years ago

@jegesh Thank you for the merge. Are you planning to release to pypi?