Skip to content

Commit

Permalink
Merge pull request #193 from mailgun/maxim/py3
Browse files Browse the repository at this point in the history
Support for Python 3
  • Loading branch information
horkhe committed Apr 12, 2018
2 parents b3c6804 + 8b7340a commit ce55294
Show file tree
Hide file tree
Showing 13 changed files with 250 additions and 269 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ python:
install:
- pip install -e .[cchardet,validator]
- pip install nose mock coverage coveralls
script: ./build.sh
script: nosetests --with-coverage --cover-package=flanker
after_success:
- coveralls
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Support for Python 3 was added with preserving the Python 2 behavior in mind.
As a result Python 3 specific logic may be not that efficient due to extra
conversions between text and bytes, but that is left for future improvements;
- CRLF is now consistently used when a parsed mime is serialized into a string.
- Dependency on cchardet was made optional. Ported from [PR84](https://github.com/mailgun/flanker/pull/84)
- [PR94](https://github.com/mailgun/flanker/pull/94) Local Redis cache was made
configurable via environment variables REDIS_HOST, REDIS_PORT, and REDIS_DB
with the defaults matching the original behavior
with the defaults matching the original behavior.

## [0.8.5] - 2018-03-30
### Changed
Expand Down
22 changes: 0 additions & 22 deletions build.sh

This file was deleted.

90 changes: 0 additions & 90 deletions flanker/addresslib/parsetab.py

This file was deleted.

0 comments on commit ce55294

Please sign in to comment.