Timeline
Dec 28, 2018:
- 10:18 PM Changeset [1743:4b773b472e7e] by
- Disable `protected-access` `_Stat` needs to work closely together with other classes in the `ftputil.stat` module.
- 10:14 PM Changeset [1742:9993f6af7b40] by
- Disable message `no-self-use` Keep the `self` argument because derived classes may need it.
- 10:08 PM Changeset [1741:0a9be69f9436] by
- Suppress warning about protected access The classes `_Node` and `LRUCache` work closely together. It's ok to access the `_sort_key` attribute of (other) `_Node` instances.
- 10:04 PM Changeset [1740:bf5ae0f90520] by
- Don't require `q` to exit `less` Don't require `q` to exit `less` if the output isn't more than a screenful.
- 10:01 PM Changeset [1739:8a0ab80584c7] by
- Disable `misplaced-bare-raise` Contrary to what Pylint complains about, this is _not_ an error because the `new_onerror` function is supposed to be called only during handling of an exception.
- 9:50 PM Changeset [1738:fe7717b0c3ad] by
- Disable more Pylint messages Disable `no-else-returns` for structures like if condition: return 1 else: return 2 In some cases using `else` here is more "symmetrical" and thus reads better. Disable `unnecessary-pass`. This applies mostly to custom exception classes that have both a docstring and a `pass` after that. I think the `pass` looks good here, even if Python doesn't require it. Of course I could disable these messages only for the above cases, but I think it's not justified to clutter the code with the pragmas if "violating" the respective rule is harmless.
- 9:48 PM Changeset [1737:4dee27f19dca] by
- Sort message identifiers alphabetically
- 9:45 PM Changeset [1736:4c45dfcbf33a] by
- Update copyright year Update copyright year because of the recent changes to the file.
- 9:43 PM Changeset [1735:97c07a8b60c9] by
- Insert empty line above `__all__` assignment
- 9:42 PM Changeset [1734:4052933a7485] by
- Remove Python 2 support
Dec 26, 2018:
- 9:27 PM Changeset [1733:9f3c5bd51a54] by
- Fix typo Different from the "factory" usage, this typo was _not_ intentional. ;-)
- 8:54 PM Changeset [1732:a602a48f5f12] by
- Remove unused imports
- 8:52 PM Changeset [1731:a4c634fe6853] by
- Remove unused variable `hour` Also fix docstring. Rounding to full hours would be an error for timezones that contain 0.5-hour or 0.25-hour offsets.
- 8:49 PM Changeset [1730:28b990e4255c] by
- Don't disable Pylint `incomplete-protocol` It seems this message no longer exists in current Pylint versions.
- 8:44 PM Changeset [1729:01e2cbf52b1e] by
- Disable "bad-whitespace" messages
- 8:33 PM Changeset [1728:f0d526af5686] by
- Don't inherit from `object` This is no longer necessary because the next version of ftputil won't support Python 2.
- 8:15 PM Changeset [1727:2652fb65ded9] by
- Use `print` as a function in non-code Add parentheses for `print` calls in - documentation - docstrings - comments
- 8:10 PM Changeset [1726:b9ad96ee9c7b] by
- Remove Python 2-specific code
- 8:06 PM Changeset [1725:7cd9bcf41226] by
- Fix formatting
- 8:02 PM Changeset [1724:0570e7f70e00] by
- Make it explicit that we no longer support Python 2
- 8:00 PM Changeset [1723:7d731aea5360] by
- Remove positional argument specifiers for `format` In strings for `format` calls, remove the digits for positional arguments. For example, "{0}, {1}" becomes "{}, {}".
- 7:49 PM Changeset [1722:2500d9b34941] by
- Remove obsolete features Remove detection of "invalid" features that are either ancient or no longer invalid. "Ancient" is the use of `xreadlines`; this should hardly be used anymore nowadays. "No longer invalid" are detections of byte strings starting with quotes. In Python 3, these are unicode strings, and it's unlikely that code _deliberately_ uses actual byte strings starting with `b`.
- 3:22 PM Changeset [1721:3557f65ded13] by
- Remove `compat.py` This module was for Python 2/3 compatibility, similar to the `six` package. Since the next version of ftputil will only support Python 3, hardcode the types from `compat.py` in the code that used to use the `compat` module. There may still be redundant code that isn't needed when running the tests under Python 3.
Dec 25, 2018:
- 11:31 PM Changeset [1720:a10aefe0f71f] by
- Remove support for `M2Crypto` M2Crypto was used to get FTP_TLS support in Python 2. Since we now target Python 3.5+, users can and should use `ftplib.FTP_TLS` to get FTP_TLS support.
- 11:22 PM Changeset [1719:560867ae70f0] by
- Remove `encoding: utf-8` lines These are no longer needed because we code for only Python 3 now and Python 3 uses UTF-8 encoding for source files by default.
- 11:19 PM Changeset [1718:8bed138bc404] by
- Don't inherit from `object` This is no longer needed because we're targeting Python 3 only now.
- 11:05 PM Changeset [1717:827cfaff87d7] by
- Remove unneeded uses of `io` In Python 3, `io.open` is the same as `open`, so we don't need to use `io.open`.
- 11:05 PM Changeset [1716:208cec5f1797] by
- Remove `socket_file_adapter.py` This was only needed for Python 2 support, which will be removed with ftputil 4.x.x.
- 10:55 PM Changeset [1711:766c15f83205] by
- Set `use_list_a_option` to `False` by default See ticket #110 for the reasoning.
- 10:45 PM Changeset [1715:01215a325738] by
- Remove `session_adapter.py` This was a crutch that was only needed for Python 2 support.
- 10:42 PM Changeset [1714:dd97ab89a444] by
- Ignore Pytest cache and `egg-info` directory
- 10:35 PM Changeset [1713:f146a1ea66aa] by
- Remove `__future__` imports With the switch to Python 3.x-only, the `__future__` imports are no longer needed. Update copyright years along with the `__future__` import removal.
- 10:20 PM Changeset [1712:1b17d07f3a88] by
- Access `Callable` from `collections.abc` Honor `DeprecationWarning` from Python 3.7: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
- 10:10 PM Changeset [1710:c825f0cc96a3] by
- Call `pytest` via `${PYTHON_BINARY} -m pytest` This makes sure that Pytest is run with the correct Python interpreter. Remove the comment because Pytest is invoked with `pytest` for a long time now.
- 10:08 PM Changeset [1709:c83a541585d6] by
- Change Python binary to `python3` From now on (for ftputil 4.0.0) develop only for Python 3.
- 10:01 PM Changeset [1708:7704f9b8cf35] by
- Ignore MyPy cache directory
Nov 28, 2018:
- 4:11 PM Ticket #124 (Small bug in docs) closed by
- invalid: Closing this as "invalid" because it's not actually a mistake.
Nov 26, 2018:
- 10:40 PM Ticket #124 (Small bug in docs) created by
- The very first sample code on the site seems to contain an error: …
Note: See TracTimeline
for information about the timeline view.