Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-use the open filehandle rather than open a new one. #112

Merged
merged 28 commits into from
Mar 27, 2017

Commits on Nov 29, 2016

  1. Better support for custom S3 servers.

    This patch adds support for custom S3 servers in the connection string.
    It also adds explicit support for setting the server port, and whether
    or not to use SSL, both as paramaters to the smart_open function as
    well as within the connection string.
    
    These changes are neccessary to be able to connect to s3proxy and
    other custom s3 servers which don't run on the default port,
    or neccessarily use SSL.
    Daniel Eisner committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    96b886a View commit details
    Browse the repository at this point in the history
  2. Fix unit tests

    Daniel Eisner committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    a51bedd View commit details
    Browse the repository at this point in the history
  3. updated README.rst with new s3 mode.

    Daniel Eisner committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    d1c9fea View commit details
    Browse the repository at this point in the history
  4. Added a new unit test for the unsecured calling form

    Daniel Eisner committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    d847291 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2016

  1. Configuration menu
    Copy the full SHA
    ad4cac4 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2016

  1. Configuration menu
    Copy the full SHA
    df38217 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87d782c View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2017

  1. Merge branch 'master' of https://github.com/RaRe-Technologies/smart_open

     into RaRe-Technologies-master
    
    Conflicts:
    	smart_open/tests/test_smart_open.py
    robottwo committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    6043a01 View commit details
    Browse the repository at this point in the history
  2. Add generic HTTP and HTTPS streaming support.

    Adds support for opening vanilla HTTP and HTTPS addresses.
    Supports efficient streaming, gzip and bz2 compression,
    as well as Kerberos and username/password (basic) http
    authentication.
    robottwo committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    8a42950 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8dfc73 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ef17bcb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0097ac2 View commit details
    Browse the repository at this point in the history
  6. neccessary import

    robottwo committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    d55efd9 View commit details
    Browse the repository at this point in the history
  7. python 3 compatibility

    robottwo committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    6702bf7 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2017

  1. Reverted make_closing -> closing

    We still want to maintain Python 2.6 compatibility,
    so don't rely on contextlib.closing.
    robottwo committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    18fed99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87d1bc6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86a1306 View commit details
    Browse the repository at this point in the history
  4. Refactored HttpOpenRead unit tests.

    Now they don't require internet access, and will test for
    Basic authentication in the HTTP header.
    robottwo committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    c5c30ef View commit details
    Browse the repository at this point in the history
  5. Clean up http unit tests.

    http => https, and remove old versions of the tests.
    robottwo committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    9db299d View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Configuration menu
    Copy the full SHA
    70b17ab View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2017

  1. Merge commit '4e2ba9f' into HEAD

    Conflicts:
    	CHANGELOG.rst
    	smart_open/smart_open_lib.py
    robottwo committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    5621b12 View commit details
    Browse the repository at this point in the history
  2. Re-use the open filehandle rather than open a new one.

    This allows one to use any filehandle-like object instead of
    just local posix. It also avoids unneccessary filesystem syscalls.
    robottwo committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    d6df948 View commit details
    Browse the repository at this point in the history
  3. merge artifact

    robottwo committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    be6141e View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2017

  1. Configuration menu
    Copy the full SHA
    187d0d5 View commit details
    Browse the repository at this point in the history
  2. Add unit tests for compressed httpd reads.

    This breaks out the http tests into their own test class.
    
    Also fixed a few behaviors in the HttpReader uncovered by
    the new tests (yay).
    robottwo committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    3c0a2db View commit details
    Browse the repository at this point in the history
  3. fixed import for python3

    robottwo committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    97f9dbd View commit details
    Browse the repository at this point in the history
  4. removed stray import

    robottwo committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    e374169 View commit details
    Browse the repository at this point in the history
  5. Handle some python3 byte vs unicode incompatibilityes.

    Works now on Python 2 as well as Python 3.
    robottwo committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    c5027a9 View commit details
    Browse the repository at this point in the history