Package: python-jinja2
Version: 2.1.1-2
Severity: normal

Depending on the way an Environment instance was created, .overlay could be either a bound method or a boolean:

from jinja2 import *
e = Environment()
e
<jinja2.environment.Environment object at 0xb7f6ccac>
e.overlay
<bound method Environment.overlay of <jinja2.environment.Environment object at 
0xb7f6ccac>>
o = e.overlay()
o
<jinja2.environment.Environment object at 0xb7b1caec>
o.overlay
True


That's quite weird and confusing for the documentation generator.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-jinja2 depends on:
ii  libc6                         2.9-19     GNU C Library: Shared libraries
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                1.0.3      automated rebuilding support for P

Versions of packages python-jinja2 recommends:
ii  python-pkg-resources          0.6c9-2    Package Discovery and Resource Acc
pn  python-pybabel                <none>     (no description available)

Versions of packages python-jinja2 suggests:
ii  python-jinja2-doc             2.1.1-2.1  documentation for the Jinja2 Pytho

-- debconf-show failed

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to