Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1437

[ANN] ftputil 3.2 released

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <news@schlund.de>
X-Original-To python-announce@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'messages.': 0.05; 'float': 0.07; 'skip:` 10': 0.07; 'socket': 0.07; 'subject:ANN': 0.07; 'subject:released': 0.07; 'broke': 0.09; 'extracted': 0.09; 'high- level': 0.09; 'implements': 0.09; 'os.path': 0.09; 'received:212.227.126': 0.09; 'shutil': 0.09; 'python': 0.11; 'url:download': 0.12; 'language.': 0.14; 'changes': 0.15; '-------': 0.16; '[1].': 0.16; 'adapter': 0.16; 'backward': 0.16; 'before.': 0.16; 'behave': 0.16; 'bsd': 0.16; 'conditional': 0.16; 'epoch': 0.16; 'factory': 0.16; 'file-like': 0.16; 'modules.': 0.16; 'timestamps': 0.16; 'underlying': 0.16; 'unlikely': 0.16; 'url:licenses': 0.16; 'url:time': 0.16; 'exception': 0.16; 'files.': 0.16; 'modification': 0.16; ':-)': 0.16; 'library': 0.18; 'module': 0.19; '3.0': 0.19; 'stefan': 0.19; 'subject:] ': 0.20; 'platforms': 0.22; 'programming': 0.22; 'handles': 0.22; 'previously': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'byte': 0.24; 'source': 0.25; '(see': 0.26; 'handling': 0.26; '(for': 0.26; 'values': 0.27; 'header:X-Complaints-To:1': 0.27; 'to:2**1': 0.27; '[1]': 0.29; 'points': 0.29; '[2]': 0.30; 'sets': 0.30; 'software,': 0.31; 'url:wiki': 0.31; '3.2': 0.31; 'convenience': 0.31; 'os,': 0.31; 'values.': 0.31; 'file': 0.32; 'open': 0.33; 'url:python': 0.33; 'projects.': 0.33; 'could': 0.34; 'objects': 0.35; 'but': 0.35; 'version': 0.36; 'accessing': 0.36; 'described': 0.36; 'next': 0.36; 'similar': 0.36; 'url:org': 0.36; 'should': 0.36; 'example,': 0.37; 'virtual': 0.37; 'skip:- 20': 0.37; 'remote': 0.38; 'url:library': 0.38; 'skip:- 10': 0.38; 'subject:[': 0.39; 'skip:u 10': 0.60; 'improved': 0.60; 'negative': 0.60; 'url:3': 0.61; 'here:': 0.62; 'such': 0.63; 'more': 0.64; 'different': 0.65; 'listings': 0.65; 'license': 0.66; 'url:0': 0.67; 'invalid': 0.68; 'to:addr:comp-lang-python- announce': 0.70; 'day': 0.76; 'to:addr:moderators.isc.org': 0.77; 'details:': 0.80; '2.8': 0.84; 'url:83': 0.84; 'url:ticket': 0.84; 'url:trac': 0.84; 'differences': 0.93; 'fun!': 0.93
Delivered-To comp-lang-python-announce@moderators.isc.org
From Stefan Schwarzer <sschwarzer@sschwarzer.net>
Newsgroups comp.lang.python.announce
Subject [ANN] ftputil 3.2 released
Date Sun, 12 Oct 2014 14:55:04 +0200
Organization 1&1 Internet AG
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.24) Gecko/20100411 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
Sender news <news@schlund.de>
X-Virus-Scanned ClamAV@mvs-ha-bs
X-Mailman-Approved-At Sun, 12 Oct 2014 15:03:30 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Message-ID <mailman.14785.1413119011.18130.python-announce-list@python.org> (permalink)
to comp-lang-python-announce@moderators.isc.org
X-Original-To ftputil mailing list <ftputil@lists.sschwarzer.net>
Lines 65
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1413119011 news.xs4all.nl 2901 [2001:888:2000:d::a6]:34934
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1437

Show key headers only | View raw


ftputil 3.2 is now available from
http://ftputil.sschwarzer.net/download .

Changes since version 3.1
-------------------------

- For some platforms (notably Windows) modification datetimes before
  the epoch would cause an `OverflowError` [1]. Other platforms could
  return negative values. Since the Python documentation for the
  `time` module [2] points out that values before the epoch might
  cause problems, ftputil now sets the float value for such datetimes
  to 0.0.

  In theory, this might cause backward compatibility problems, but
  it's very unlikely since pre-epoch timestamps in directory listings
  should be very rare.

- On some platforms, the `time.mktime` implementation could behave
  strange and accept invalid date/time values. For example, a day
  value of 32 would be accepted and implicitly cause a "wrap" to the
  next month. Such invalid values now result in a `ParserError`.

- Make error handling more robust where the underlying FTP session
  factory (for example, `ftplib.FTP`) uses byte strings for exception
  messages. [3]

- Improved error handling for directory listings. As just one example,
  previously a non-integer value for a day would unintentionally cause
  a `ValueError`. Now this causes a `ParserError`.

- Extracted socket file adapter module [4] so that it can be used
  by other projects.

Note that ftputil 3.0 broke backward compatibility with ftputil 2.8
and before. The differences are described here:
http://ftputil.sschwarzer.net/trac/wiki/WhatsNewInFtputil3.0

What is ftputil?
----------------

ftputil is a high-level FTP client library for the Python programming
language. ftputil implements a virtual file system for accessing FTP
servers, that is, it can generate file-like objects for remote files.
The library supports many functions similar to those in the os,
os.path and shutil modules. ftputil has convenience functions for
conditional uploads and downloads, and handles FTP clients and servers
in different timezones.

See the documentation for details:
http://ftputil.sschwarzer.net/trac/wiki/Documentation

License
-------

ftputil is open source software, released under the revised BSD
license (see http://opensource.org/licenses/BSD-3-Clause ).

[1] http://ftputil.sschwarzer.net/trac/ticket/83
[2] https://docs.python.org/3/library/time.html
[3] http://ftputil.sschwarzer.net/trac/ticket/85
[4] http://ftputil.sschwarzer.net/trac/wiki/SocketFileAdapter

Have fun! :-)

Stefan

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

[ANN] ftputil 3.2 released Stefan Schwarzer <sschwarzer@sschwarzer.net> - 2014-10-12 14:55 +0200

csiph-web