[Python-modules-team] Bug#551467: Bug#551467: python-webflash dep on python-simplejson is optional with python 2.6

Piotr Ożarowski piotr at debian.org
Sun Oct 18 14:41:06 UTC 2009


> On Sun, Oct 18, 2009 at 01:12:36PM +0200, W. Martin Borgert wrote:
> > just a reminder for Python 2.6: AFAIK, python-simplejson is now
> > part of the Python standard library, so you should depend on
> > python (>= 2.6) | python-simplejson
> > or something like that.

only if there's something like:

| try:
|     import json
| except ImportError:
|    import simplejson as json

in the code
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20091018/edbceb0b/attachment.pgp>


More information about the Python-modules-team mailing list