Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-12-29 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
-+-
 Reporter:  Darren Hobbs |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Core (Management |  Version:  1.8
  commands)  |
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:  py2  | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Closing due to the end of Python 2 support in master in a couple weeks.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.517dc93457277fd0bb6fdc9230768c18%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-07-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
-+-
 Reporter:  dhobbs   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  1.8
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:  py2  | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * keywords:   => py2


Comment:

 If someone is interested in the fix that Claude proposed, they'll need to
 debug the Windows test failures and propose an updated patch.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.04f839039bb2b3cb4fb59798caa6337b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-11 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
-+-
 Reporter:  dhobbs   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  1.8
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * needs_better_patch:  0 => 1


Comment:

 Tests aren't passing on Windows.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.39a5097b57ccd49a219c48e53188c229%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
-+-
 Reporter:  dhobbs   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  1.8
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by claudep):

 * has_patch:  0 => 1


Comment:

 [https://github.com/django/django/pull/6755 PR]

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.5755260891272fc48a8e8f8234fe5c9e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
-+-
 Reporter:  dhobbs   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  1.8
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by claudep):

 * type:  Uncategorized => Bug
 * component:  Uncategorized => Core (Management commands)
 * stage:  Unreviewed => Accepted


Comment:

 Wow, I realize now that `format` or `%` (mod) are calling the `__str__` of
 the model. Please, Python 3, come soon!

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.f84b02ba830dc6d95458074da4c9f0c9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 I'm using this management command:
 {{{
 # -*- coding: utf-8 -*-
 from django.core.management.base import BaseCommand

 from polls.models import Question

 class Command(BaseCommand):

 def handle(self, *args, **options):
 v = 'Output: %s'.format(Question.objects.latest('id'))
 print(type(v))
 print(v)
 self.stdout.write(v)
 }}}
 with a question with some non-ASCII chars in the name.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.e155151f6db88b2ff88c40d62b7d67c3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by claudep):

 {{{
 >>> print('{}'.format(u'un café ?'))
 Traceback (most recent call last):
   File "", line 1, in 
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
 position 6: ordinal not in range(128)
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.58f2b6375445c036ca212cb4671f400d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 `'{}'.format(possibly_unicode_string_from_db)` gives `str` on Python 2.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.7007e6b28550bb971937800973100709%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by claudep):

 @dhobbs It's still a bit mysterious for us how you got the non-ASCII
 bytestring, that *might* be the bug in the first place. Could you develop
 a bit more about your use case?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.130de38098e880a6874901a45712e17a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 It's because `OutputWrapper`'s default `ending` is `u'\n'` so we end up
 comparing bytestring to Unicode in `msg.endswith(ending)`. I'll leave it
 up to Claude or another Unicode expert about the correct resolution for
 this.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.84ac97ad4d3d0e2a678a0c5432bb2fff%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by dhobbs):

 It's also compounded by the fact that sys.stdout.write copes with it but
 self.stdout.write doesn't

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.6026b3b78c54c01613717e29eafb7ee3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 The issue is that the non-ASCII Unicode string from the database is
 coerced into the bytestring `'{}'` (basically the same situation as
 #21933).

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.9981e242232ebe44bdf4370e3a0ed76b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-09 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by claudep):

 Apart from the content of a `BinaryField`, I don't see how any non-ASCII
 bytestring can come from the database.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.4d9996d563e7c16519f30f8b5ce437e8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-08 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 So the broken code is
 `self.stdout.write('{}'.format(possibly_unicode_string_from_db))` without
 `unicode_literals`?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.4b953146c96d08cbf70aa345b43e1dbf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-08 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by dhobbs):

 The string came from the db. The actual error came from
 django/core/management/base.py", line 111, in write

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.d6aab1a8f05e3ceacae04a35aa0b0a26%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-08 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 How do you end up with a situation where you cast a unicode string with
 non-ASCII characters to bytes?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.1845a1f3abd6fc82f3863803ca23d50f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-08 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+--
 Reporter:  dhobbs |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.8
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by dhobbs):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Old description:

> In a management command in Python 2.7, if you include unicode characters
> when writing to stdout (with self.stdout.write) you will get a
> UnicodeDecodeError
>
> {{{
> # coding=utf-8
> from __future__ import absolute_import, unicode_literals
>
> import sys
>
> import pytest
> from django.core.management.base import OutputWrapper
> from django.utils.encoding import smart_bytes
>

> def test_bad_unicode_case_names():
> bad_name = smart_bytes(u'£')
> ow = OutputWrapper(sys.stdout)
> with pytest.raises(UnicodeDecodeError):
> ow.write(bad_name)
> }}}

New description:

 In a management command in Python 2.7, if you include unicode characters
 when writing to stdout (with self.stdout.write) you will get a
 UnicodeDecodeError

 {{{
 # coding=utf-8
 from __future__ import absolute_import, unicode_literals

 import sys

 import pytest
 from django.core.management.base import OutputWrapper
 from django.utils.encoding import smart_bytes


 def test_bad_unicode_names():
 bad_name = smart_bytes(u'£')
 ow = OutputWrapper(sys.stdout)
 with pytest.raises(UnicodeDecodeError):
 ow.write(bad_name)
 }}}

--

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.5c8ac3ad69c2762fe450d18ad120dc26%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #26731: UnicodeDecodeError when writing unicode to stdout of management command

2016-06-08 Thread Django
#26731: UnicodeDecodeError when writing unicode to stdout of management command
---+
 Reporter:  dhobbs |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  Uncategorized  |Version:  1.8
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 In a management command in Python 2.7, if you include unicode characters
 when writing to stdout (with self.stdout.write) you will get a
 UnicodeDecodeError

 {{{
 # coding=utf-8
 from __future__ import absolute_import, unicode_literals

 import sys

 import pytest
 from django.core.management.base import OutputWrapper
 from django.utils.encoding import smart_bytes


 def test_bad_unicode_case_names():
 bad_name = smart_bytes(u'£')
 ow = OutputWrapper(sys.stdout)
 with pytest.raises(UnicodeDecodeError):
 ow.write(bad_name)
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.caa756b730dfe6ccd009954a8f0ef5f1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.