Your message dated Tue, 24 Dec 2019 15:23:11 +0000
with message-id <[email protected]>
and subject line Bug#911730: fixed in yapps2 2.2.1-3.1
has caused the Debian Bug report #911730,
regarding yapps2: writes __future__ import after preparser
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
911730: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911730
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: yapps2
Version: 2.2.1-1
Severity: important

Generator.generate_output starts like this:

    def generate_output(self):
        self.calculate()
        self.write(self.preparser)
        self.write("# Begin -- grammar generated by Yapps\n")
        self.write("from __future__ import print_function\n")

This means that if you have any Python code in self.preparser, your
generated parser will fail with "SyntaxError: from __future__ imports
must occur at the beginning of the file".

I'd suggest moving the __future__ import to immediately before the
preparser to avoid this problem.

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Source: yapps2
Source-Version: 2.2.1-3.1

We believe that the bug you reported is fixed in the latest version of
yapps2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated yapps2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 23 Dec 2019 22:05:40 +0000
Source: yapps2
Architecture: source
Version: 2.2.1-3.1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Urlichs <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 911730 911752 911753 938864
Changes:
 yapps2 (2.2.1-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Drop Python 2 support (closes: #938864).
   * Write __future__ import before preparser (closes: #911730).
   * Convert Scanner.print_line_with_pointer to Python 3 print syntax
     (closes: #911753).
   * Port documentation and examples to Python 3 (closes: #911752).
Checksums-Sha1:
 77406f76605477f548eea44d73a9e940de9df3c6 1874 yapps2_2.2.1-3.1.dsc
 313e50cde0130e208ac23ece88bc1ce7907efea5 28477 yapps2_2.2.1-3.1.diff.gz
Checksums-Sha256:
 c8cac3ea6c16d3854b221ea637a7ed47e3af66669d75315963f07196db374f31 1874 
yapps2_2.2.1-3.1.dsc
 b41f6ec42dadb3ce55d45bc9e068f5713e69b453e9098313c4fac73d626fea68 28477 
yapps2_2.2.1-3.1.diff.gz
Files:
 4edea926922e2d5776e8b469d1f32cd2 1874 python optional yapps2_2.2.1-3.1.dsc
 ece1dc2d8252c4e4d4b37dfccd8e49d8 28477 python optional yapps2_2.2.1-3.1.diff.gz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAl4BOxEACgkQOTWH2X2G
UAsksRAAnhmTIy8hEF3hSqsNOKsSOO0BS+aUoG8ep6SeGvY14sA7aLCsVRIQ9Ti2
NKOesIYW+V6GCbjNyrGkPOnjaHY25oEroQlxQ8s+vcUZ0U4KJrph1d6Sm3iJQHQt
/q9Dmx0p7Xo6vytQd5OK3gvNyAmGCYdv2gMVRp+NCrTODfKhl8b9FgwgqNPscv4J
YEmrNhAh8Hb2BBcebwwQx0c1LzKnwGulVKJJiSgNGzBRC8YjR3GWfUDYN3OEE5jO
zuc9yEFBQJ3CopO3d2TLGdW84B/B7PlSd9ZXm2Obt9QzNrwgL1MVUMrnqsFFqCkN
Gbxx1rKPU8pAxcSwj99kslOTFNFPrf9wc3XtW7EW9O3TzVZWiUPoY03fb7vXWPLe
7oVFXWKRlZKHAe4KXhoFNSPUcK2Wx4pHQgLuVLBYLwDUJ18TcB5tWcTC/WVOD3pJ
ssvGzBJoKsiOGoGMxfugKAo/ch1xnhFMtpoAo9I1JWqE6Gm4Vskd7oFTU7JBlMEP
ABAZyIsHAQLWXqGAPPYzZa+0SaVWsZc3gbD20z/hRrhJUfUWHvOzd/oMY5QDdHBi
oYD1oBFZkwywd8P2Y7jB86kF/PTK9YcRjDz14GZghMRjO0YN5UJAJzpOpqLRhncS
M86dpgjE/JfmWLOy9l0HXUJC1u2lYfPTdAAWT1VNhQVbNDs9Cf8=
=uTrA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to