[Django] #22820: lazy_number for python 2.7 fail

25 views
Skip to first unread message

Django

unread,
Jun 12, 2014, 8:38:57 AM6/12/14
to django-...@googlegroups.com
#22820: lazy_number for python 2.7 fail
------------------------------+-------------------------------------
Reporter: kwist | Owner: nobody
Type: Bug | Status: new
Component: Translations | Version: 1.6
Severity: Normal | Keywords: translation lazy_number
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
------------------------------+-------------------------------------
lazy_number raise KeyError in python 2.7 if number is long type.

Patch: https://github.com/django/django/pull/2801

--
Ticket URL: <https://code.djangoproject.com/ticket/22820>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 12, 2014, 8:40:06 AM6/12/14
to django-...@googlegroups.com
#22820: lazy_number raise KeyError if number is long type (python 2.7)
-------------------------------------+-------------------------------------

Reporter: kwist | Owner: nobody
Type: Bug | Status: new
Component: Translations | Version: 1.6
Severity: Normal | Resolution:
Keywords: translation | Triage Stage:
lazy_number | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by kwist):

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


--
Ticket URL: <https://code.djangoproject.com/ticket/22820#comment:1>

Django

unread,
Jun 12, 2014, 8:26:41 PM6/12/14
to django-...@googlegroups.com
#22820: lazy_number raise KeyError if number is long type (python 2.7)
-------------------------------------+-------------------------------------
Reporter: kwist | Owner: nobody
Type: Bug | Status: new
Component: Translations | Version: 1.6
Severity: Normal | Resolution:
Keywords: translation | Triage Stage: Accepted
lazy_number | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by timo):

* needs_tests: 0 => 1
* stage: Unreviewed => Accepted


Comment:

Can you add a test?

--
Ticket URL: <https://code.djangoproject.com/ticket/22820#comment:2>

Django

unread,
Jun 16, 2014, 5:40:21 AM6/16/14
to django-...@googlegroups.com
#22820: lazy_number raise KeyError if number is long type (python 2.7)
-------------------------------------+-------------------------------------
Reporter: kwist | Owner: nobody
Type: Bug | Status: new
Component: Translations | Version: 1.6
Severity: Normal | Resolution:
Keywords: translation | Triage Stage: Accepted
lazy_number | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by kwist):

See https://code.djangoproject.com/ticket/22840

--
Ticket URL: <https://code.djangoproject.com/ticket/22820#comment:3>

Django

unread,
Aug 30, 2014, 12:51:43 PM8/30/14
to django-...@googlegroups.com
#22820: lazy_number raise KeyError if number is long type (python 2.7)
-------------------------------------+-------------------------------------
Reporter: kwist | Owner: nobody
Type: Bug | Status: closed
Component: Translations | Version: 1.6
Severity: Normal | Resolution: fixed

Keywords: translation | Triage Stage: Accepted
lazy_number | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by Claude Paroz <claude@…>):

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


Comment:

In [changeset:"502142179996e32e1c7f334c3d986f21115cfac8"]:
{{{
#!CommitTicketReference repository=""
revision="502142179996e32e1c7f334c3d986f21115cfac8"
Fixed #22820 -- Treated int and long types alike in lazy_number

Thanks kwist for the report and the initial patch.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/22820#comment:4>

Django

unread,
Aug 30, 2014, 12:52:28 PM8/30/14
to django-...@googlegroups.com
#22820: lazy_number raise KeyError if number is long type (python 2.7)
-------------------------------------+-------------------------------------
Reporter: kwist | Owner: nobody
Type: Bug | Status: closed
Component: Translations | Version: 1.6

Severity: Normal | Resolution: fixed
Keywords: translation | Triage Stage: Accepted
lazy_number | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by Claude Paroz <claude@…>):

In [changeset:"d839c756645b5091d55f67bbc4ff10718ff61a6b"]:
{{{
#!CommitTicketReference repository=""
revision="d839c756645b5091d55f67bbc4ff10718ff61a6b"
[1.7.x] Fixed #22820 -- Treated int and long types alike in lazy_number

Thanks kwist for the report and the initial patch.

Backport of 5021421799 from master.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/22820#comment:5>

Reply all
Reply to author
Forward
0 new messages