On Thu, Feb 28, 2013 at 1:30 PM, Stephan Richter
<stephan.rich...@gmail.com> wrote:
> [...]
> # XXX: Where is this needed?
> unittest2 = 0.5.1

You probably already know all this, but for those that simply copied
what was done in other packages for cargo-cult programming reasons:

unittest2 is a backport of Python 2.7+ unittest for previous Python versions.

Some packages import unittest2 if they depend on Python 2.7+ unittest
features, but don't make an effort of trying to check if the standard
unittest already supports those features.

If ZTK 2 drops compat with Python 2.6 then this package is not needed,
and any packages that break because of it should just do conditional
imports, and they'll keep working.

IMO, if the ZTK pins a version of something that exists solely to
allow forward compatibility with later Python versions, then this
something is not required to work with all Python versions.


Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to