Project

General

Profile

Development #31165

python3: utiliser six.moves.reduce à la place de la fonction native reduce

Added by Paul Marillonnet 5 months ago. Updated 4 months ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
06 Mar 2019
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

Car cette fonction native reduce en python2 devient functools.reduce en python3.

0001-python3-use-six.moves.reduce-instead-of-builtin-redu.patch View (3.71 KB) Paul Marillonnet, 06 Mar 2019 08:06 PM

0001-python3-use-django.utils.six.moves.reduce-31165.patch View (4.67 KB) Paul Marillonnet, 25 Mar 2019 06:22 PM


Related issues

Related to Authentic 2 - Development #28276: Fonctionner avec Python3 pour Django1.11 En cours 23 Nov 2018

Associated revisions

Revision 59d5f2a9 (diff)
Added by Paul Marillonnet 4 months ago

python3: use django.utils.six.moves.reduce (#31165)

as reduce is not a builtin anymore

History

#1 Updated by Paul Marillonnet 5 months ago

#2 Updated by Paul Marillonnet 5 months ago

#3 Updated by Benjamin Dauvergne 5 months ago

  • Assignee set to Paul Marillonnet
  • Status changed from Solution proposée to En cours

django.utils.six.

#4 Updated by Paul Marillonnet 4 months ago

#5 Updated by Benjamin Dauvergne 4 months ago

  • Status changed from Solution proposée to Solution validée

#6 Updated by Paul Marillonnet 4 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 59d5f2a951f16b877e0af43e7858de1e53724ab7
Author: Paul Marillonnet <pmarillonnet@entrouvert.com>
Date:   Thu Jan 31 14:01:57 2019 +0100

    python3: use django.utils.six.moves.reduce (#31165)

        as reduce is not a builtin anymore

#7 Updated by Frédéric Péters 4 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF