On 17 juin, 15:48, Christian Heimes wrote:
> Am 17.06.2012 14:11, schrieb jmfauth:
>
> > I noticed this at the 3.3.0a0 realease.
>
> > The main motivation for this came from this:
> >http://bugs.python.org/issue13748
>
> > PS I saw the dev-list message.
>
> > PS2 Opinion, if not really useful, con
Am 17.06.2012 14:11, schrieb jmfauth:
> I noticed this at the 3.3.0a0 realease.
>
> The main motivation for this came from this:
> http://bugs.python.org/issue13748
>
> PS I saw the dev-list message.
>
> PS2 Opinion, if not really useful, consistency nver hurts.
We are must likely drop the ur""
On Sun, 17 Jun 2012 05:11:25 -0700, jmfauth wrote:
> PS2 Opinion, if not really useful, consistency nver hurts.
If you're doing something useless or harmful, why would you want to do
more of it for the sake of consistency?
"Consistency" requires somebody to write the code in the first place,
w
On 17 juin, 13:30, Christian Heimes wrote:
> Am 16.06.2012 19:36, schrieb jmfauth:
>
> > Please consistency.
>
> Python 3.3 supports the ur"" syntax just as Python 2.x:
>
> $ ./python
> Python 3.3.0a4+ (default:4c704dc97496, Jun 16 2012, 00:06:09)
> [GCC 4.6.3] on linux
> Type "help", "copyright",
Am 16.06.2012 19:36, schrieb jmfauth:
> Please consistency.
Python 3.3 supports the ur"" syntax just as Python 2.x:
$ ./python
Python 3.3.0a4+ (default:4c704dc97496, Jun 16 2012, 00:06:09)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> ur""
''
[739
On 16.06.12 20:36, jmfauth wrote:
u'a'
'a'
ur'a'
'a'
Please, never use u'' in new Python 3 code. This is only for
compatibility with Python 2. And Python 2 does not support ru''.
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 16 Jun 2012 10:36:42 -0700, jmfauth wrote:
> Please consistency.
There is no point asking here. Feature requests and bug reports must go
on the tracker, or they are unlikely to be noticed or remembered by
anyone who can fix it.
http://bugs.python.org/
Given that 3.3's feature-freeze
Please consistency.
>>> sys.version
'3.3.0a4 (v3.3.0a4:7c51388a3aa7+, May 31 2012, 20:15:21) [MSC v.1600
32 bit (Intel)]'
>>> 'a'
'a'
>>> b'a'
b'a'
>>> br'a'
b'a'
>>> rb'a'
b'a'
>>> u'a'
'a'
>>> ur'a'
'a'
>>> ru'a'
SyntaxError: invalid syntax
>>>
jmf
--
http://mail.python.org/mailman/listinfo/py