[tahoe-lafs-trac-stream] [tahoe-lafs] #1775: u"py3 not supported" idiom will break in Python 3.3
tahoe-lafs
trac at tahoe-lafs.org
Wed Jun 20 23:16:41 UTC 2012
#1775: u"py3 not supported" idiom will break in Python 3.3
----------------------------+---------------------------
Reporter: davidsarah | Owner: davidsarah
Type: defect | Status: assigned
Priority: normal | Milestone: 1.10.0
Component: code | Version: 1.9.1
Resolution: | Keywords: python3 error
Launchpad Bug: |
----------------------------+---------------------------
Changes (by davidsarah):
* owner: => davidsarah
* status: new => assigned
Old description:
> [source:setup.py] and [source:bin/tahoe-script.template] currently use
> the following idiom near the top of each file to prevent them from
> producing even-more-confusing-than-necessary syntax errors when run in a
> Python 3.x interpreter:
> {{{
> u"Tahoe-LAFS does not run under Python 3. Please use a version of Python
> between 2.5 and 2.7.x inclusive."
> }}}
>
> This will break in Python 3.3 due to
> http://www.python.org/dev/peps/pep-0414/ PEP 414], which adds the
> {{{u"..."}}} string syntax.
New description:
[source:setup.py] and [source:bin/tahoe-script.template] currently use the
following idiom near the top of each file to prevent them from producing
even-more-confusing-than-necessary syntax errors when run in a Python 3.x
interpreter:
{{{
u"Tahoe-LAFS does not run under Python 3. Please use a version of Python
between 2.5 and 2.7.x inclusive."
}}}
This will break in Python 3.3 due to
[http://www.python.org/dev/peps/pep-0414/ PEP 414], which adds the
{{{u"..."}}} string syntax.
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1775#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list