Timeline



Nov 1, 2015:

11:02 PM Changeset [1604:f22e1a2a3313] by Stefan Schwarzer <sschwarzer@…>
Add `__future__` import for unicode literals Although none of the session adapter code uses strings for the "real" implementation, make sure that docstrings are unicode.
10:55 PM Ticket #100 (Wrong handling of non-ASCII characters in paths under Python 2) closed by schwa
fixed: The problem should be fixed now. - Add a session factory adapter in …
10:50 PM Changeset [1603:3bdb8233c7f2] by Stefan Schwarzer <sschwarzer@…>
Adapt the session, not the session factory Since the session factory may be a function, not a class, don't adapt the factory. Instead, adapt the session object after creating it by using the factory.
10:48 PM Ticket #101 (Use `freezegun` to speed up time zone tests) created by schwa
The ftputil unit tests have some tests that run over a minute because …
10:24 PM Changeset [1602:086cea309114] by Stefan Schwarzer <sschwarzer@…>
Make `MockSession.transfercmd` compatible with the session adapter `ftplib.FTP.transfercmd` takes an optional `rest` argument. `test.mock_ftplib.MockSession` also defines a `transfercmd` to be used for unit tests, but this method didn't accept a `rest` argument because this isn't used by ftputil. This argument is added now, so that `MockSession.transfercmd` can be called from the session factory adaptor.
9:58 PM Changeset [1601:350fad454a39] by Stefan Schwarzer <sschwarzer@…>
Adapt session factories for use with Python 2 The background is explained in the commit message for changeset 5a4abb73e8a1 and in ticket #100.
9:55 PM Changeset [1600:5a4abb73e8a1] by Stefan Schwarzer <sschwarzer@…>
Add session adapter for ticket #100 Under Python 2, `ftplib.FTP` (and compatible classes) don't work with unicode string arguments if they contain non-ASCII characters. ftputil always converts strings to unicode to be compatible with Python 3's `ftplib`. Hence, no `FTPHost` method works if it's fed byte strings or unicode strings that contain non-ASCII characters. (There are no such problems with `ftplib.FTP` under Python 3, as long as unicode string arguments contain only code points <= 255. The reason is explained in the `session_adapter` module's docstring.) On Python 2, the function `adapted_session_factory` returns an adapter class for `ftplib.FTP`-compatible session factories. On Python 3, no modification of the session factory is necessary, so `adapted_session_factory` returns the session factory unchanged.
9:46 PM Changeset [1599:4dd8b4d6aba7] by Stefan Schwarzer <sschwarzer@…>
Add `FTPHost.listdir` tests for ticket #100 Other methods that take directory or file names have the same issues as described in the ticket, but at the moment only `listdir` calls are tested. There's already a test for non-ASCII file names in `test.test_host`, but that didn't catch the problem because the mock code in `test.mock_ftplib` hid the problem.
6:50 PM Ticket #100 (Wrong handling of non-ASCII characters in paths under Python 2) created by schwa
For ticket #96, I was looking into the exact behavior of ftputil when …

Oct 18, 2015:

9:41 AM Ticket #97 (Can't connect FTPHost with ftputil 3.2, Python 3.3.0 (win32)) closed by schwa
duplicate: Duplicate of ticket #76.
9:40 AM Ticket #97 (Can't connect FTPHost with ftputil 3.2, Python 3.3.0 (win32)) reopened by schwa
In a Wine environment, I get […] Therefore, I'll change the …
12:42 AM Ticket #97 (Can't connect FTPHost with ftputil 3.2, Python 3.3.0 (win32)) closed by schwa
worksforme: Since I didn't get any feedback since my last comment and can't …
12:37 AM Ticket #99 (Host old versions of ftputil on PyPI) closed by schwa
fixed: Thanks to the provided script I …

Sep 26, 2015:

9:32 PM Ticket #99 (Host old versions of ftputil on PyPI) created by schwa
On 2015-09-24, I got the following mail: […] The mentioned …
Note: See TracTimeline for information about the timeline view.