Timeline



Apr 1, 2013:

5:57 PM Changeset [1225:204acb448e04] by Stefan Schwarzer <sschwarzer@…>
Added some empty lines for PEP 8 compatibility.
5:57 PM Changeset [1224:619a05c768be] by Stefan Schwarzer <sschwarzer@…>
Make `from __future__ import unicode_literals` work for all modules. In some cases this required some changes which will also benefit Python 3 compatibility.
5:54 PM Changeset [1223:d9dd88896c47] by Stefan Schwarzer <sschwarzer@…>
Added function `encode_if_unicode`. This function is used for backward compatibility with Python 2. In some cases where text is expected and we need a byte string, we encode unicode strings but leave byte strings unchanged.
3:47 PM Changeset [1222:0b2dd3293484] by Stefan Schwarzer <sschwarzer@…>
Renamed helper conversion functions from `to_*_type` to `as_*`.
3:37 PM Changeset [1221:3cbe256a36ef] by Stefan Schwarzer <sschwarzer@…>
Make sure directory lines are converted to unicode on retrieval.
3:37 PM Changeset [1220:9902972c1dbf] by Stefan Schwarzer <sschwarzer@…>
Move comment to where it makes more sense.
3:36 PM Changeset [1219:14f5a485635c] by Stefan Schwarzer <sschwarzer@…>
Import `unicode_literals`.
3:07 PM Changeset [1218:915cca3e8523] by Stefan Schwarzer <sschwarzer@…>
Make sure `FTPHost.path.abspath` returns the same type its given.
2:52 PM Changeset [1217:83454865d8b8] by Stefan Schwarzer <sschwarzer@…>
Added empty lines after `class` lines.
2:44 PM Changeset [1216:2431977ff753] by Stefan Schwarzer <sschwarzer@…>
Added test whether `abspath` returns the same type its given.
2:36 PM Changeset [1215:fcd06e442601] by Stefan Schwarzer <sschwarzer@…>
Explain why using the same encoding as in ftplib is so important.
1:12 PM Changeset [1214:b692c848b528] by Stefan Schwarzer <sschwarzer@…>
Improved wording in module docstring.
1:09 PM Changeset [1213:52a84290b632] by Stefan Schwarzer <sschwarzer@…>
Added helper function `to_default_string_type`.
1:09 PM Changeset [1212:27a977d2adf0] by Stefan Schwarzer <sschwarzer@…>
Added `default_string_type` as an alias for `str` in both Pythons.
1:08 PM Changeset [1211:ce1dd15928a6] by Stefan Schwarzer <sschwarzer@…>
Removed `b` function (not needed for Python 2.6+).
9:26 AM Changeset [1210:391cf8bd432c] by Stefan Schwarzer <sschwarzer@…>
Made comment on `LOSSLESS_ENCODING` a bit clearer.
9:23 AM Changeset [1209:dab84886a610] by Stefan Schwarzer <sschwarzer@…>
Renamed `ENCODING` to `LOSSLESS_ENCODING`.

Mar 31, 2013:

7:53 PM Changeset [1208:ed538c7ddaf9] by Stefan Schwarzer <sschwarzer@…>
Added `to_bytes_type` and `to_unicode_type` to `__all__` list.
7:52 PM Changeset [1207:ca831077ee88] by Stefan Schwarzer <sschwarzer@…>
Added docstring to `to_bytes_type` and `to_unicode_type`.
7:50 PM Changeset [1206:e535d1e695bb] by Stefan Schwarzer <sschwarzer@…>
Added module with some helper methods for string encoding/decoding.
6:49 PM Changeset [1205:0eba346a99e5] by Stefan Schwarzer <sschwarzer@…>
Processed tests and `setup.py` with `2to3` and fixed a few things. When run under Python 2.7, most tests pass. However, there are still unicode-related error messages in `test_real_ftp.py`. Moreover, returning the correct type (i. e. the same type as the argument) from several functions/methods doesn't work yet. Mostly, there aren't unit tests for this yet, so this problem might give an inappropriate confidence. There a still quite a few test failures when running under Python 3.2, but I didn't expect anything else.
5:09 PM Changeset [1204:f9907a6ac165] by Stefan Schwarzer <sschwarzer@…>
Allow overwriting of `PYTHON_BINARY` from environment variable. That way it's possible to select the Python version for testing without modifying the makefile. I think it's better to set the environment variable _temporarily_ like $ PYTHON_BINARY=python2 make test instead of permanently like $ PYTHON_BINARY=python2 $ make test Setting the variable permanently may lead to confusing results if you forget you set the variable.
5:01 PM Changeset [1203:10f060b314b3] by Stefan Schwarzer <sschwarzer@…>
Use `${PYTHON_BINARY}` (set to `python2`) instead of just `python`. The latter is ambiguous anyway. For example, on ArchLinux, `python` is the Python 3 binary.
4:57 PM Changeset [1202:f1758ba15087] by Stefan Schwarzer <sschwarzer@…>
Explicitly state the Python version to use for tests.
4:57 PM Changeset [1201:68e188506dfc] by Stefan Schwarzer <sschwarzer@…>
Added more notes on Python 3 support. Added note on seek/tell.
4:50 PM Changeset [1200:d881134d56be] by Stefan Schwarzer <sschwarzer@…>
Inserted a few empty lines.
1:16 PM Changeset [1199:798c6f9a368c] by Stefan Schwarzer <sschwarzer@…>
Python 2/3 compatibility changes, based on a `2to3` run.
11:01 AM Changeset [1198:155bd636297f] by Stefan Schwarzer <sschwarzer@…>
Program to check input and result types in different Python version.
12:27 AM Changeset [1197:3f2a93157688] by Stefan Schwarzer <sschwarzer@…>
Updated `setup.py` to contain the now supported Python versions.
12:24 AM Changeset [1196:04acdc17fd70] by Stefan Schwarzer <sschwarzer@…>
Use modern string formatting with `format` method.

Mar 30, 2013:

11:31 PM Changeset [1195:381efdb16820] by Stefan Schwarzer <sschwarzer@…>
Use `stdlib_stat` instead of `std_stat`. The former should be more familiar, so that other developers more easily grasp what's meant.
11:27 PM Changeset [1194:29b0cda2b042] by Stefan Schwarzer <sschwarzer@…>
Use `except ExceptionClass as exc` for future Python 3 compatibility.
11:17 PM Changeset [1193:9510803a64b5] by Stefan Schwarzer <sschwarzer@…>
Use `reversed(list)` instead of `list.reverse`. The latter was only used for Python 2.3 compatibility years ago.
10:38 PM Changeset [1192:6f3cd8c0203d] by Stefan Schwarzer <sschwarzer@…>
Renamed `__Node` to `_Node` to satisfy Pylint. Removed `__cmp__`.
10:33 PM Changeset [1191:a0759cf884c8] by Stefan Schwarzer <sschwarzer@…>
Use context managers to convert to ftputil exceptions. Example: Previously: new_dir = _try_with_os_error(self._session.pwd) Now: with ftplib_error_to_ftp_os_error: new_dir = self._session.pwd() Although the previous approach usually led to shorter code, the new approach looks more natural.
8:17 PM Changeset [1190:46a745d8cf24] by Stefan Schwarzer <sschwarzer@…>
Prefer `import ftputil.xyz` over `from ftputil import xyz`. I applied this to `file_transfer` and `lrucache` module. There are still one or two places that use `from ftputil import FTPHost`.
7:57 PM Changeset [1189:a62823dbff88] by Stefan Schwarzer <sschwarzer@…>
Removed tests for Python 2.4. At least Python 2.6 is required now.
7:44 PM Changeset [1188:d953d12ea592] by Stefan Schwarzer <sschwarzer@…>
Try to find uses of the deprecated `ftp_error` and `ftp_stat` modules.
7:39 PM Changeset [1187:08c3d37b6a5f] by Stefan Schwarzer <sschwarzer@…>
Simplified module names (`ftputil.ftp_xyz` -> `ftputil.xyz`).
10:31 AM Changeset [1186:5b840cc6d2f6] by Stefan Schwarzer <sschwarzer@…>
Don't forget to push released changes to repositories.
10:24 AM Changeset [1185:65debd761434] by Stefan Schwarzer <sschwarzer@…>
Added tag last_with_python2.4_support for changeset e7e19b4044c9
10:23 AM Changeset [1184:cb0671073cbd] by Stefan Schwarzer <sschwarzer@…>
Deal with some Pylint warnings. Mostly disabled warnings but also fixed a few (for example, by adding some docstrings).
9:46 AM Changeset [1183:80ac4f31116b] by Stefan Schwarzer <sschwarzer@…>
Use capitalization as recommened in PEP 8.
9:36 AM Changeset [1182:4a0e7b06df35] by Stefan Schwarzer <sschwarzer@…>
Update docs and register new version before sending announcement.
9:03 AM Changeset [1181:eeb97c846556] by Stefan Schwarzer <sschwarzer@…>
Added tag release2_8 for changeset e7e19b4044c9
9:02 AM Documentation edited by schwa
(diff)
8:59 AM Milestone 2.8 completed
8:58 AM ftputil-2.8.tar.gz attached to Download by schwa
8:58 AM Download edited by schwa
(diff)
8:44 AM Ticket #69 (Error parsing directory holding items with names consisting of space ...) closed by schwa
fixed: I set this ticket to "fixed" because I changed the ValueError to the …
8:27 AM Changeset [1180:e7e19b4044c9] by Stefan Schwarzer <sschwarzer@…>
Use more idiomatic wording in "real test" information.
8:24 AM Changeset [1179:9c9b4b8039ec] by Stefan Schwarzer <sschwarzer@…>
`make patch && make docs`
8:22 AM Changeset [1178:5e5f0234da08] by Stefan Schwarzer <sschwarzer@…>
Updated version to 2.8.
8:22 AM Changeset [1177:70fbddd97991] by Stefan Schwarzer <sschwarzer@…>
Removed "beta" from ftputil 2.8 (beta) announcement.
8:17 AM Changeset [1176:ec22ffd24fd4] by Stefan Schwarzer <sschwarzer@…>
Added tag last_with_python2.3_support for changeset 3335b387c7d2

Mar 29, 2013:

10:30 PM Changeset [1175:1ef0c4ae10a6] by Stefan Schwarzer <sschwarzer@…>
Commented out debugger invocation.
10:30 PM Changeset [1174:beb33039ab61] by Stefan Schwarzer <sschwarzer@…>
Added second code snippet for ticket #71.
9:29 PM Changeset [1173:053956fc506c] by Stefan Schwarzer <sschwarzer@…>
Some example code to investigate ticket #71.
8:12 PM Changeset [1172:41a53d30c4cb] by Stefan Schwarzer <sschwarzer@…>
Added `MANIFEST` to `.hgignore`.
8:10 PM Changeset [1171:50c6f742cb09] by Stefan Schwarzer <sschwarzer@…>
Use uppercase letters at start of comments in `.hgignore` file.

Jan 23, 2013:

5:36 PM Ticket #71 (receiving TemporaryError: 450 2 J-a: No such file or directory in ...) created by ftputiluser
First of all i want to thank you for your work. I'm incurring in a …
Note: See TracTimeline for information about the timeline view.